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
Constructors
-
Method Summary
void
write(org.springframework.batch.item.Chunk<? extends I> chunk)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
CamelItemWriter
public CamelItemWriter(org.apache.camel.ProducerTemplate template,
String endpointUri)
-
Method Details
-
write
public void write(org.springframework.batch.item.Chunk<? extends I> chunk)
throws Exception
- Specified by:
write in interface org.springframework.batch.item.ItemWriter<I>
- Throws:
Exception