Author |
Message
|
souciance |
Posted: Thu Jun 27, 2013 12:45 am Post subject: Reply to queue and Reply to queue manager for RFHUTIL |
|
|
Disciple
Joined: 29 Jun 2010 Posts: 169
|
Hello..
Is it possible to set reply to queue and reply to queue manager in RFHUTIL on a remote queue? It seems that regardless of what value I put in there my DP reads the standard queue manager name from which RFHUTIL is connected to. That is, the reply to queue field is empty. Is there a good approach for setting these fields when using RFHUTIL for remote queues? Thanks in advance.
Souciance |
|
Back to top |
|
 |
mqjeff |
Posted: Thu Jun 27, 2013 1:53 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Did you look at the tab labelled "MQMD"?
Also remember that the MQPUT only specifies the object queue and object qmgr names. These can be rewritten through MQ name resolution at every hop.
Thirdly, remember that ReplyToQ and ReplyToQmgr are optional fields for applications sending reply messages. They *should* use them, but they don't *have* to. |
|
Back to top |
|
 |
souciance |
Posted: Thu Jun 27, 2013 1:58 am Post subject: |
|
|
Disciple
Joined: 29 Jun 2010 Posts: 169
|
Yeah I have managed to set it using RFHUTIL in the MQMD tab and set type to Request however when Datapower parses the message on the request side, the mqmd field for reply to queue is empty. I cannot figure out why it becomes empty. Next step is to send to another queue and read it with rfhutil to see if the reply to parameters are actually set or not. If yes, then guess something on DataPower side is messing it up. |
|
Back to top |
|
 |
souciance |
Posted: Thu Jun 27, 2013 2:06 am Post subject: |
|
|
Disciple
Joined: 29 Jun 2010 Posts: 169
|
I tried now sending it to the local queue without the DP service on, however even then, when reading the message from the local queue with RFHUTIL, the reply to queue parameter is empty. Also, I had sent it as a Request but it reverts to the default of Datagram. |
|
Back to top |
|
 |
mqjeff |
Posted: Thu Jun 27, 2013 2:23 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
I just used RFHUTil to do the same to a local queue and when I browsed it with MQExplorer, everything was set properly.
You did something like the following steps - Use the Load File button to read data into rfhutil to be sent
- set the queue manager and queue name on the main tab
- set the reply to queue and replytoqmgr on the mqmd tab
- set the message type on the mqmd tab
- went back to the main tab and clicked the Write Queue button
?
If you did those steps and then something like amqsbcg or MQ Explorer show that the relevant values are not set on the message, then I'd update your RFHUtil to the most recent version and then contact the owner/maintainer of RFHUTil per the instructions in the docs for IH03. |
|
Back to top |
|
 |
souciance |
Posted: Thu Jun 27, 2013 2:40 am Post subject: |
|
|
Disciple
Joined: 29 Jun 2010 Posts: 169
|
Ok I managed to solve it and as usual it was an annoying error by the client(me). I had to use "Open File" option rather than "Load Q" option. Then it works as intented. Well glad that it got resolved. Thanks for the help mqjeff. |
|
Back to top |
|
 |
mqjeff |
Posted: Thu Jun 27, 2013 2:48 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
LoadQueue expects that the file being read contains an MQMD. |
|
Back to top |
|
 |
|