I want to establish a synchronous communication <request-reply> with 2 queues , i.e I will be using a request on one queue and expecting a synchronous reply back at other queue.
Is requestReplyTemplate the right thing for above scenario ?
I tried setting it up but am not able to recieve the response correctly, it does not reaches my replyhandler.
I am listening for the response through the jms-source and handing it over to the channel defined by requestReplyTemplate , but it is being sent off to the request queue instead.
In the code I see something called as RendezvousChannel listening for responses...I did not really understand.
The config is as follows :
channel="paymentsTxHistoryChannel" acknowledge="auto" />
<channel id="paymentsTxHistoryChannel" />
<beans:bean id="reqReplyTemplate" class="org.springframework.integration.channel.RequestReplyTemplate">