|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MDB JMS Destination Issue |
« View previous topic :: View next topic » |
Author |
Message
|
mqmaniac |
Posted: Thu Aug 07, 2008 7:39 am Post subject: MDB JMS Destination Issue |
|
|
 Master
Joined: 27 Dec 2005 Posts: 201
|
Hello Guru's,..
I am trying to do the following and confused a bit!!
1.Pickup a MQ Message from a Queue inside an MDB.
2.I need to read the MQMD.ReplytoQueue (which i did using the msg.getJMSReplyTo method).
NOW,..I need to send response to the Queue whichever I get from the msg.getJMSReplyTo Method above.
My confusion is on How to use it,...
I tried
Outmsg.setJMSDestination(txtmsg.getJMSReplyTo());
But this is only setting the property and is not sending the message to the queue???
Can anyone guide on how to make use of the
"msg.getJMSReplyTo Method "
Thanks is Advance!! |
|
Back to top |
|
 |
mqmaniac |
Posted: Thu Aug 07, 2008 8:18 am Post subject: |
|
|
 Master
Joined: 27 Dec 2005 Posts: 201
|
I tried the follwoing and it failed,..
queue = (Queue) msg.getJMSReplyTo();
Can anyone help!!!!! |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Aug 07, 2008 2:32 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
mqmaniac wrote: |
I tried the follwoing and it failed,..
queue = (Queue) msg.getJMSReplyTo();
Can anyone help!!!!! |
Get back to your JMS Tutorial!
Sender mysender = mysession.createSender(null);
mysender.send(mymsg, myreplytodest);
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|