Re: msg.getJMSReplyTo().toString() and Session.createQueue(replyString)

2017-10-02 Thread Justin Bertram
Couple of things... 1) I believe Tim is right that you might need to munge the queue name a bit yourself to deal with portability issues. Of javax.jms.Session#createQueue, the JavaDoc says, "This facility is provided for the rare cases where clients need to dynamically manipulate queue identity

Re: msg.getJMSReplyTo().toString() and Session.createQueue(replyString)

2017-10-02 Thread Tim Bain
Session.createQueue() is defined as part of the JMS spec, and it's not a bug when it doesn't do things beyond the requirements of the spec. Just strip off the prefix yourself before you call it. Tim On Oct 2, 2017 5:15 AM, "boekhold" wrote: Hi, The following code fails: String replyDestStr =

Re: Defining legit Stress Test for ActiveMQ with JMeter

2017-10-02 Thread Justin Bertram
Based on the message you received my guess is that you need to subscribe to the list via user-subscr...@jmeter.apache.org before you can send a message to the u...@jmeter.apache.org list. Have you done that? In any event this really isn't an ActiveMQ issue. Justin On Mon, Oct 2, 2017 at 6:47 A

Re: Defining legit Stress Test for ActiveMQ with JMeter

2017-10-02 Thread Juleian
If I want to post it on the JMeter Forum I always get Failure Messages: I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out. : Must be sent from an @apache.org address or a subscriber address or an address

Re: msg.getJMSReplyTo().toString() and Session.createQueue(replyString)

2017-10-02 Thread boekhold
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

msg.getJMSReplyTo().toString() and Session.createQueue(replyString)

2017-10-02 Thread boekhold
Hi, The following code fails: String replyDestStr = msg.getJMSReplyTo().toString(); // forward the request asynchronously to a 3rd-party system, with // "replyDestStr" included in the 3rd-party request and response Queue replyQ = session.createQueue(replyDestStr); The problem is that the first l