This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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

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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: setJMSReplyto function not working
It's not a secret anymore!