org.apache.camel.component.spring.batch.support
Class CamelItemReader<I>
java.lang.Object
org.apache.camel.component.spring.batch.support.CamelItemReader<I>
- All Implemented Interfaces:
- org.springframework.batch.item.ItemReader<I>
public class CamelItemReader<I>
- extends Object
- implements org.springframework.batch.item.ItemReader<I>
Constructor Summary |
CamelItemReader(org.apache.camel.ConsumerTemplate consumerTemplate,
String endpointUri)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CamelItemReader
public CamelItemReader(org.apache.camel.ConsumerTemplate consumerTemplate,
String endpointUri)
read
public I read()
throws Exception
- Specified by:
read
in interface org.springframework.batch.item.ItemReader<I>
- Throws:
Exception
Apache CAMEL