org.apache.camel.component.spring.batch.support
Class CamelItemReader<I>

java.lang.Object
  extended by 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)
           
 
Method Summary
 I read()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CamelItemReader

public CamelItemReader(org.apache.camel.ConsumerTemplate consumerTemplate,
                       String endpointUri)
Method Detail

read

public I read()
       throws Exception
Specified by:
read in interface org.springframework.batch.item.ItemReader<I>
Throws:
Exception


Apache CAMEL