Class RetryWriter

  • All Implemented Interfaces:
    jakarta.batch.api.chunk.ItemWriter

    @Named("retryWriter")
    public class RetryWriter
    extends jakarta.batch.api.chunk.AbstractItemWriter
    • Constructor Detail

      • RetryWriter

        public RetryWriter()
    • Method Detail

      • open

        public void open​(Serializable cpd)
                  throws NamingException
        Specified by:
        open in interface jakarta.batch.api.chunk.ItemWriter
        Overrides:
        open in class jakarta.batch.api.chunk.AbstractItemWriter
        Throws:
        NamingException
      • writeItems

        public void writeItems​(List<Object> records)
                        throws Exception
        Specified by:
        writeItems in interface jakarta.batch.api.chunk.ItemWriter
        Specified by:
        writeItems in class jakarta.batch.api.chunk.AbstractItemWriter
        Throws:
        Exception