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