public class AmqpItemReaderBuilder<T>
extends java.lang.Object
AmqpItemReader
AmqpItemReader
Constructor and Description |
---|
AmqpItemReaderBuilder() |
Modifier and Type | Method and Description |
---|---|
AmqpItemReaderBuilder<T> |
amqpTemplate(org.springframework.amqp.core.AmqpTemplate amqpTemplate)
Establish the amqpTemplate to be used by the AmqpItemReader.
|
AmqpItemReader<T> |
build()
Validates and builds a
AmqpItemReader . |
AmqpItemReaderBuilder<T> |
itemType(java.lang.Class<? extends T> itemType)
Establish the itemType for the reader.
|
public AmqpItemReaderBuilder<T> amqpTemplate(org.springframework.amqp.core.AmqpTemplate amqpTemplate)
amqpTemplate
- the template to be used.AmqpItemReader.AmqpItemReader(AmqpTemplate)
public AmqpItemReaderBuilder<T> itemType(java.lang.Class<? extends T> itemType)
itemType
- class type that will be returned by the reader.AmqpItemReader.setItemType(Class)
public AmqpItemReader<T> build()
AmqpItemReader
.AmqpItemReader