|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
specify respose queue when putting message |
« View previous topic :: View next topic » |
Author |
Message
|
crayon_coco |
Posted: Mon Nov 03, 2003 8:04 pm Post subject: specify respose queue when putting message |
|
|
 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 |
|
 |
bob_buxton |
Posted: Tue Nov 04, 2003 1:12 am Post subject: |
|
|
 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 |
|
 |
SubSeaScot |
Posted: Wed Nov 05, 2003 5:02 am Post subject: |
|
|
 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 |
|
 |
crayon_coco |
Posted: Wed Nov 05, 2003 5:33 pm Post subject: |
|
|
 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 |
|
 |
|
|
 |
|
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
|
|
|
|