Package org.apache.batchee.camel
Class CamelChainItemProcessor
- java.lang.Object
-
- org.apache.batchee.extras.chain.Chain<javax.batch.api.chunk.ItemProcessor>
-
- org.apache.batchee.camel.CamelChainItemProcessor
-
- All Implemented Interfaces:
javax.batch.api.chunk.ItemProcessor
public class CamelChainItemProcessor extends Chain<javax.batch.api.chunk.ItemProcessor> implements javax.batch.api.chunk.ItemProcessor
-
-
Field Summary
-
Fields inherited from class org.apache.batchee.extras.chain.Chain
chain, forceRelease, locator, separator
-
-
Constructor Summary
Constructors Constructor Description CamelChainItemProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected BeanLocator
getBeanLocator()
protected Object
invoke(BeanLocator.LocatorInstance<javax.batch.api.chunk.ItemProcessor> next, Object current)
Object
processItem(Object item)
-
-
-
Method Detail
-
processItem
public Object processItem(Object item) throws Exception
- Specified by:
processItem
in interfacejavax.batch.api.chunk.ItemProcessor
- Throws:
Exception
-
getBeanLocator
protected BeanLocator getBeanLocator()
- Overrides:
getBeanLocator
in classChain<javax.batch.api.chunk.ItemProcessor>
-
-