public class AmqpItemWriterBuilder<T>
extends java.lang.Object
AmqpItemWriter
AmqpItemWriter
Constructor and Description |
---|
AmqpItemWriterBuilder() |
Modifier and Type | Method and Description |
---|---|
AmqpItemWriterBuilder<T> |
amqpTemplate(org.springframework.amqp.core.AmqpTemplate amqpTemplate)
Establish the amqpTemplate to be used by the AmqpItemWriter.
|
AmqpItemWriter<T> |
build()
Validates and builds a
AmqpItemWriter . |
public AmqpItemWriterBuilder<T> amqpTemplate(org.springframework.amqp.core.AmqpTemplate amqpTemplate)
amqpTemplate
- the template to be used.AmqpItemWriter.AmqpItemWriter(AmqpTemplate)
public AmqpItemWriter<T> build()
AmqpItemWriter
.AmqpItemWriter