Class JmsItemWriterBuilder<T>
- java.lang.Object
- org.springframework.batch.item.jms.builder.JmsItemWriterBuilder<T>
public class JmsItemWriterBuilder<T> extends java.lang.Object
Creates a fully qualified JmsItemWriter.- Since:
- 4.0
- Author:
- Glenn Renfro
Constructor Summary
Constructors Constructor Description JmsItemWriterBuilder()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JmsItemWriter<T>
build()
Returns a fully constructedJmsItemWriter
.JmsItemWriterBuilder<T>
jmsTemplate(org.springframework.jms.core.JmsOperations jmsTemplate)
Establish the JMS template that will be used by theJmsItemWriter
.
Method Detail
jmsTemplate
public JmsItemWriterBuilder<T> jmsTemplate(org.springframework.jms.core.JmsOperations jmsTemplate)
Establish the JMS template that will be used by theJmsItemWriter
.- Parameters:
jmsTemplate
- aJmsOperations
instance- Returns:
- this instance for method chaining.
- See Also:
JmsItemWriter.setJmsTemplate(JmsOperations)
build
public JmsItemWriter<T> build()
Returns a fully constructedJmsItemWriter
.- Returns:
- a new
JmsItemWriter