ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » Request/Reply JMS app in WAS cluster

Post new topic  Reply to topic
 Request/Reply JMS app in WAS cluster « View previous topic :: View next topic » 
Author Message
guest
PostPosted: Wed Mar 08, 2006 8:31 am    Post subject: Request/Reply JMS app in WAS cluster Reply with quote

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
View user's profile Send private message
EddieA
PostPosted: Wed Mar 08, 2006 12:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Wed Mar 08, 2006 1:24 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Request/Reply JMS app in WAS cluster
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.