org.apache.camel.component.spring.batch.support
Class CamelItemProcessor<I,O>
java.lang.Object
org.apache.camel.component.spring.batch.support.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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CamelItemProcessor
public CamelItemProcessor(org.apache.camel.ProducerTemplate producerTemplate,
String endpointUri)
process
public O process(I i)
throws Exception
- Specified by:
process
in interface org.springframework.batch.item.ItemProcessor<I,O>
- Throws:
Exception
Apache Camel