Class CamelItemProcessor<I,​O>

  • All Implemented Interfaces:
    org.springframework.batch.item.ItemProcessor<I,​O>

    public class CamelItemProcessor<I,​O>
    extends Object
    implements org.springframework.batch.item.ItemProcessor<I,​O>
    Spring Batch ItemProcessor sending synchronous request to the given Camel endpoint. The actual processing of the item is delegated to the Camel routes.
    • Constructor Detail

      • CamelItemProcessor

        public CamelItemProcessor​(org.apache.camel.ProducerTemplate producerTemplate,
                                  String endpointUri)
    • Method Detail

      • process

        public O process​(I i)
                  throws Exception
        Specified by:
        process in interface org.springframework.batch.item.ItemProcessor<I,​O>
        Throws:
        Exception