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 » General Discussion » Request/Reply using Dynamic Queues

Post new topic  Reply to topic
 Request/Reply using Dynamic Queues « View previous topic :: View next topic » 
Author Message
alex74
PostPosted: Thu Jun 13, 2002 6:29 am    Post subject: Request/Reply using Dynamic Queues Reply with quote

Newbie

Joined: 13 Jun 2002
Posts: 2

My apologies if this question sounds a little naive.

I'm attempting to create a simplistic request/reply messaging infrastructure using dynamic queues.

I've had no problem with the creation of dynamic queues on the sending Queue Manager (QM1), nor the sending of messages to the receiving application (QM2) by way of the API Exerciser - although in the production environment I will be using an adapter to populate the ReplyToQ field with the name of the dynamic queue that has been created.

My problem stems from difficulties with the reply message. What steps do I need to take to have the message delivered to the dynamic queue that I created on QM1? I have made sure that the ReplyToQ & ReplyToQMgr fields are populated within the MQMD and have experimented with populating different fields within the MQMD and MQOD to deliver the message successfully - but so far with no luck. I am putting the message to a Remote Queue on QM2 which points to a fixed local queue on QM1, but as there is no remote definition of the dynamic queue on QM2, this hasn't worked - and nor can I see how it will. I'm assuming there's some configuration with the remote queue or transmission queue that I'm missing, but if anyone could clarify what this might be I'd be very grateful.
Back to top
View user's profile Send private message
mrlinux
PostPosted: Thu Jun 13, 2002 6:46 am    Post subject: Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

Well this is how things need to be on the side of where the Reply application runs.

1) The application must read the reply qmgr name and reply queue name from the message and use those to reply with.
2) If the source to destination qmgrs are using server-server communications then the name of the transmit queue must match the name of reply qmgr name. If they dont match then you need to create
a qmgr alias.

qmgr alias define
define qr(REPLY_QMGR_NAME) rqmname(NAME_OF_REQUESTER_QMGR) xmitq(QMGR_NAME_OF_REPLY_SIDE_QMGR)

REPLY_QMGR_NAME This is the name of the queue manager that is in the mqmd as the reply queue manager name

NAME_OF_REQUESTER_QMGR This is the actual queue manager name can
be the same as above

QMGR_NAME_OF_REPLY_SIDE_QMGR This is the name of xmitq used to send messages back to the Requestor.
_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
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 » General Discussion » Request/Reply using Dynamic Queues
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.