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 API Support » specify respose queue when putting message

Post new topic  Reply to topic
 specify respose queue when putting message « View previous topic :: View next topic » 
Author Message
crayon_coco
PostPosted: Mon Nov 03, 2003 8:04 pm    Post subject: specify respose queue when putting message Reply with quote

Apprentice

Joined: 08 Oct 2003
Posts: 33


my client program will put the message into the mqserver which is as/400, can i tell the queuemanager using the program when i put the message in the request queue, which response queue i am aspecting to get the reply.
i knew this is done during the get message, but i need to tell the mqmanager so that when it process my message it will know where to put response message to
how do i do that?
thanks!
Back to top
View user's profile Send private message
bob_buxton
PostPosted: Tue Nov 04, 2003 1:12 am    Post subject: Reply with quote

Master

Joined: 23 Aug 2001
Posts: 266
Location: England

You set the ReplyToQ filed in the MQMD and, optionally, the ReplyToQMgr
_________________
Bob Buxton
Ex-Websphere MQ Development
Back to top
View user's profile Send private message
SubSeaScot
PostPosted: Wed Nov 05, 2003 5:02 am    Post subject: Reply with quote

Newbie

Joined: 05 Nov 2003
Posts: 1

You also have to make sure that the message type is a request message - MQMT_REQUEST. On the AS400 you will need a server to get the message from the put to queue and put the response on the reply to queue.
For the client you can look at the sample program AMQSREQC which does what you're looking for.
Back to top
View user's profile Send private message
crayon_coco
PostPosted: Wed Nov 05, 2003 5:33 pm    Post subject: Reply with quote

Apprentice

Joined: 08 Oct 2003
Posts: 33

OK, thanks a lot guys
i am not so sure how it works but will try it out

Thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » specify respose queue when putting message
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.