org.apache.camel.component.spring.batch.support
Class CamelItemWriter<I>
java.lang.Object
org.apache.camel.component.spring.batch.support.CamelItemWriter<I>
- All Implemented Interfaces:
- org.springframework.batch.item.ItemWriter<I>
public class CamelItemWriter<I>
- extends Object
- implements org.springframework.batch.item.ItemWriter<I>
Constructor Summary |
CamelItemWriter(org.apache.camel.ProducerTemplate producerTemplate,
String endpointUri)
|
Method Summary |
void |
write(List<? extends I> items)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CamelItemWriter
public CamelItemWriter(org.apache.camel.ProducerTemplate producerTemplate,
String endpointUri)
write
public void write(List<? extends I> items)
throws Exception
- Specified by:
write
in interface org.springframework.batch.item.ItemWriter<I>
- Throws:
Exception
Apache Camel