JMS MessageListener that converts a JMS Message into a Spring Integration
Message and sends that Message to a channel. If the 'expectReply' value is
true, it will also wait for a Spring Integration reply Message
and convert that into a JMS reply.

setDefaultReplyQueueName(java.lang.String destinationName)
Set the name of the default reply queue to send reply messages to.

void

setDefaultReplyTopicName(java.lang.String destinationName)
Set the name of the default reply topic to send reply messages to.

void

setDestinationResolver(org.springframework.jms.support.destination.DestinationResolver destinationResolver)
Set the DestinationResolver that should be used to resolve reply
destination names for this listener.

setMessageConverter(org.springframework.jms.support.converter.MessageConverter messageConverter)
Provide a MessageConverter implementation to use when
converting between JMS Messages and Spring Integration Messages.

setReplyDeliveryPersistent

setCorrelationKey

public void setCorrelationKey(java.lang.String correlationKey)

Provide the name of a JMS property that should be copied from the request
Message to the reply Message. If this value is NULL (the default) then the
JMSMessageID from the request will be copied into the JMSCorrelationID of the reply
unless there is already a value in the JMSCorrelationID property of the newly created
reply Message in which case nothing will be copied. If the JMSCorrelationID of the
request Message should be copied into the JMSCorrelationID of the reply Message
instead, then this value should be set to "JMSCorrelationID".
Any other value will be treated as a JMS String Property to be copied as-is
from the request Message into the reply Message with the same property name.

setExtractRequestPayload

public void setExtractRequestPayload(boolean extractRequestPayload)

Specify whether the JMS request Message's body should be extracted prior
to converting into a Spring Integration Message. This value is set to
true by default. To send the JMS Message itself as a
Spring Integration Message payload, set this to false.

setExtractReplyPayload

public void setExtractReplyPayload(boolean extractReplyPayload)

Specify whether the Spring Integration reply Message's payload should be
extracted prior to converting into a JMS Message. This value is set to
true by default. To send the Spring Integration Message
itself as the JMS Message's body, set this to false.