Posted: Thu Sep 11, 2008 7:58 pm Post subject: Re: Help on to convert JMS destination to String
Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
mqmaniac wrote:
Hello All,..
Can you someone help me out to convert the following to String in java.
we are attempting to do something i am not sure of but this will help.
msg.getJMSReplyTo(),..I need to convert this to a string.
Any help is greately appreciated.
Bad design. You don't need to convert it to a string. What you need is use it as a Destination. This is what the method returns and this is what you would set on your message send:
sender.send(replymsg, replytodestination);
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum