Hi,

At work we use another JMS provider but think the approach is the same. We use two different Request/Response patterns; Synchronous and Asynchronous. When using synchronous we normally try to receive the response with selector on JMSCorrelationId and have a timeout. When using asynchronous we normally have a listener active the receives all responses and then in the application correlate on JMSCorrelationId (or something relevant in the payload).

/ Joacim


-----Original Message----- From: khandelwalanuj
Sent: Friday, December 20, 2013 5:26 PM
To: users@activemq.apache.org
Subject: Request-Response in ActiveMQ

Hi,

I want to implement request-response using JMS. I found two ways of doing
it:

1. Using selectors
2. Filter duplicate messages in producer application itself.

Which method is recommended by ActiveMQ vendors ?
What is the performance overhead on broker in case of selectors , because I
think broker has to do filtering for each message ? Does it reduce the
performance by big amount ?

Thanks,
Anuj



--
View this message in context: http://activemq.2283324.n4.nabble.com/Request-Response-in-ActiveMQ-tp4675769.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to