permaculture playing cards
The moose likes Distributed Java and the fly likes setJMSReplyto function not working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "setJMSReplyto function not working" Watch "setJMSReplyto function not working" New topic

setJMSReplyto function not working

Bhupesh Maduskar

Joined: Jun 14, 2011
Posts: 6
Hi All,

I am using below piece of code but whenever i call getJMSReplyTo() mehod of message, it always returning null. if it is working for you please let me know lib files with version working for you. i doubt on combination of lib files.

H Paul
Ranch Hand

Joined: Jul 26, 2011
Posts: 471
Check the purpose of the temporary destionation (queue/topic) CreatingTemporary Destinations
Check if that's all you need.

2. Do 1 quick test, use embedded or external JMS provider

Create 1 producer queue QUEUEA, use this queue QUEUEA to send a text message.
Create 1 reply queue QUEUEB for testing message.setJMSReplyTo(QUEUEB);
Create JNDI for these 2 queues

I agree. Here's the link:
subject: setJMSReplyto function not working
It's not a secret anymore!