Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

setJMSReplyTo

843830Apr 25 2010 — edited Apr 26 2010
Hi there,

I am a newbie to JMS and I am trying to Specify the replyTo queue in a String format rather than an administered Destination Object.
I can see that the setJMSReplyto takes a destination object as an argument, is there a way of casting a String URI format like this one:String queue= "queue://" + qmname + "/" + qname into a Destination.
Any Ideas on how to acheive this ?
Thanks ina advance.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 24 2010
Added on Apr 25 2010
6 comments
552 views