class JmsItemWriterBuilder<T> {

	private JmsOperations jmsTemplate;

	/**
	 * Establish the JMS template that will be used by the {@link JmsItemWriter}.
	 * @param jmsTemplate a {@link JmsOperations} instance
	 * @return this instance for method chaining.
	 * @see JmsItemWriter#setJmsTemplate(JmsOperations)
	 */
	public JmsItemWriterBuilder<T> jmsTemplate(JmsOperations jmsTemplate) {
		this.jmsTemplate = jmsTemplate;

		return this;
	}

	/**
	 * Returns a fully constructed {@link JmsItemWriter}.
	 * @return a new {@link JmsItemWriter}
	 */
	public JmsItemWriter<T> build() {<FILL_FUNCTION_BODY>}

}

		Assert.notNull(this.jmsTemplate, "jmsTemplate is required.");
		JmsItemWriter<T> jmsItemWriter = new JmsItemWriter<>();

		jmsItemWriter.setJmsTemplate(this.jmsTemplate);
		return jmsItemWriter;
	
<no_super_class>