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 Serializable
checkpointInfo()
void
close()
void
open(Serializable checkpoint)
Object
readItem()
-
-
-
Method Detail
-
readItem
public Object readItem() throws Exception
- Specified by:
readItem
in interfacejavax.batch.api.chunk.ItemReader
- Throws:
Exception
-
close
public void close() throws Exception
- Specified by:
close
in interfacejavax.batch.api.chunk.ItemReader
- Throws:
Exception
-
open
public void open(Serializable checkpoint) throws Exception
- Specified by:
open
in interfacejavax.batch.api.chunk.ItemReader
- Throws:
Exception
-
checkpointInfo
public Serializable checkpointInfo() throws Exception
- Specified by:
checkpointInfo
in interfacejavax.batch.api.chunk.ItemReader
- Throws:
Exception
-
-