activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From boekhold <boekh...@gmx.com>
Subject Re: msg.getJMSReplyTo().toString() and Session.createQueue(replyString)
Date Mon, 02 Oct 2017 10:47:34 GMT
Mea culpa,

that code should be:

String replyDestStr = msg.getJMSReplyTo().getQueueName();
// forward the request asynchronously to a 3rd-party system, with
// "replyDestStr" included in the 3rd-party request and response
Queue replyQ = session.createQueue(replyDestStr); 

Code tested so far with ActiveMQ and TIBCO EMS. I expect it will work on
WebsphereMQ as well (com.ibm.mq.jms.MQQueue.getQueueName() seems to return
the expected "queue://queuename/qmgrname" format).

Maarten



--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Mime
View raw message