Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Sending a message to a dynamic queue

 
Srinivas Nagesh
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am trying to send a message to a dynamic queue. I am using MQ6 & JMS1.1. The messageproducer creates a temporary dynamic queue and requestMessage.getJMSReplyTo() gives me



My code to send the response is


The above piece of code works when i replace the temporary dynamic queue with a permanent static queue.

With temporary dynamic queue, i get the following error:



Any thoughts on the above problem?

Thanks

Srinivas
 
Srinivas Nagesh
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I happened to solve this.

The problem was that i wasn't setting the delivery mode in the message producer to be Non_Persistent.



Thanks

Srinivas
[ April 08, 2008: Message edited by: Srinivas Nagesh ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic