How to send response to JMSReplyTo.
Hi.
I have this:
<bean id="updateChannel" class="org.springframework.integration.dispatcher. SynchronousChannel" />
<int:jms-source channel="updateChannel" message-converter="messageConverter" connection-factory="connectionFactory"
destination-name="${ems.prefix}.update" />
I have my service annotated with:
@Service("updateService")
@MessageEndpoint(input = "updateChannel")
and the handling method:
@Handler
@Transactional(propagation = Propagation.REQUIRES_NEW)
public String handleRequest(final Message<String> request) {
How can I have the String returned by the @Handler send to the JMSReplyTo set on the request Message?
Thanks,
/Magnus