Package org.apache.batchee.camel
Class CamelItemReader
- java.lang.Object
-
- org.apache.batchee.camel.CamelItemReader
-
- All Implemented Interfaces:
javax.batch.api.chunk.ItemReader
public class CamelItemReader extends Object implements javax.batch.api.chunk.ItemReader
-
-
Constructor Summary
Constructors Constructor Description CamelItemReader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SerializablecheckpointInfo()voidclose()voidopen(Serializable checkpoint)ObjectreadItem()
-
-
-
Method Detail
-
readItem
public Object readItem() throws Exception
- Specified by:
readItemin interfacejavax.batch.api.chunk.ItemReader- Throws:
Exception
-
close
public void close() throws Exception- Specified by:
closein interfacejavax.batch.api.chunk.ItemReader- Throws:
Exception
-
open
public void open(Serializable checkpoint) throws Exception
- Specified by:
openin interfacejavax.batch.api.chunk.ItemReader- Throws:
Exception
-
checkpointInfo
public Serializable checkpointInfo() throws Exception
- Specified by:
checkpointInfoin interfacejavax.batch.api.chunk.ItemReader- Throws:
Exception
-
-