activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From boekhold <>
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 ( seems to return
the expected "queue://queuename/qmgrname" format).


Sent from:

View raw message