org.springframework.batch.item.jms.builder

## 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 and Description
    `JmsItemWriterBuilder()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `JmsItemWriter<T>` | `build()` Returns a fully constructed `JmsItemWriter`.
    `JmsItemWriterBuilder<T>` | `jmsTemplate(org.springframework.jms.core.JmsOperations jmsTemplate)` Establish the JMS template that will be used by the `JmsItemWriter`.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### JmsItemWriterBuilder

          public JmsItemWriterBuilder()

  - ### Method Detail

    - #### jmsTemplate

          public JmsItemWriterBuilder<T> jmsTemplate(org.springframework.jms.core.JmsOperations jmsTemplate)

      Establish the JMS template that will be used by the `JmsItemWriter`.
      Parameters:
        `jmsTemplate` - a `JmsOperations` instance
      Returns:
        this instance for method chaining.
      See Also:
        `JmsItemWriter.setJmsTemplate(JmsOperations)`

    - #### build

          public JmsItemWriter<T> build()

      Returns a fully constructed `JmsItemWriter`.
      Returns:
        a new `JmsItemWriter`