类 AmqpItemWriterBuilder<T>
- java.lang.Object
- org.springframework.batch.item.amqp.builder.AmqpItemWriterBuilder<T>
public class AmqpItemWriterBuilder<T> extends java.lang.Object
A builder implementation for theAmqpItemWriter
- 从以下版本开始:
- 4.0
- 作者:
- Glenn Renfro
- 另请参阅:
AmqpItemWriter
构造器概要
构造器 构造器 说明 AmqpItemWriterBuilder()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 AmqpItemWriterBuilder<T>
amqpTemplate(org.springframework.amqp.core.AmqpTemplate amqpTemplate)
Establish the amqpTemplate to be used by the AmqpItemWriter.AmqpItemWriter<T>
build()
Validates and builds aAmqpItemWriter
.
构造器详细资料
AmqpItemWriterBuilder
public AmqpItemWriterBuilder()
方法详细资料
amqpTemplate
public AmqpItemWriterBuilder<T> amqpTemplate(org.springframework.amqp.core.AmqpTemplate amqpTemplate)
Establish the amqpTemplate to be used by the AmqpItemWriter.- 参数:
amqpTemplate
- the template to be used.- 返回:
- this instance for method chaining
- 另请参阅:
AmqpItemWriter(AmqpTemplate)
build
public AmqpItemWriter<T> build()
Validates and builds aAmqpItemWriter
.- 返回:
- a
AmqpItemWriter