|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Request/Reply JMS app in WAS cluster |
« View previous topic :: View next topic » |
Author |
Message
|
guest |
Posted: Wed Mar 08, 2006 8:31 am Post subject: Request/Reply JMS app in WAS cluster |
|
|
Acolyte
Joined: 11 Aug 2003 Posts: 52
|
Bear with me i am not a JMS programmer , i tried my best to scan through Using JAVA manual and message board for no avail ...
I have to help a JMS developer to write a reply program to reply to the requestor who sent the message ( Simply put , i want JMS app guy to pick up ReplyToq & ReplyToqmgr to reply back and i dont want to define any queues on the Queue manager where JMS connects to send replies , basically using MQ name resoultion to reach the correct destination that send the request)
Now question is how to create JMS q using JMSAdmin tool ( because here message should go to appropriate queue manager that send the request) , should we ever create one ? |
|
Back to top |
|
 |
EddieA |
Posted: Wed Mar 08, 2006 12:30 pm Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
Quote: |
should we ever create one |
For a Reply Q, no. The program will put the message with an explicit QMGR/Q combination. And then, as you correctly say, MQ name resolution takes over to get it to the right place.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Mar 08, 2006 1:24 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
use:
Code: |
JMSDestination replytoqueue = msg.getJMSreplyto();
sender.send(msg,replytoqueue); // anonymous sender pattern...
// or have the session create a sender , snd, cmt & close sender.
|
_________________ 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
|
|
|
|