Author |
Message
|
codered |
Posted: Fri Feb 21, 2014 8:44 pm Post subject: Pulling particular message from queue |
|
|
Novice
Joined: 09 Feb 2014 Posts: 13
|
I am doing the below testing for my understanding of pulling particular message from queue.
I have placed 3 messages in the local queue using amqsput. I have browsed those 3 messages and noted their msgid values.
I have then opened the Amqapi excersizer and during the MQGET call I have mentioned one of the copied msgid values in MQMD
and selected MQMO_MATCH_MSG_ID on MQGMO. But no msg is showing up.
Do i have to consider anything else to pull messages based on msgid values? |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Feb 21, 2014 9:10 pm Post subject: Re: Pulling particular message from queue |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20763 Location: LI,NY
|
codered wrote: |
I am doing the below testing for my understanding of pulling particular message from queue.
I have placed 3 messages in the local queue using amqsput. I have browsed those 3 messages and noted their msgid values.
I have then opened the Amqapi excersizer and during the MQGET call I have mentioned one of the copied msgid values in MQMD
and selected MQMO_MATCH_MSG_ID on MQGMO. But no msg is showing up.
Do i have to consider anything else to pull messages based on msgid values? |
Use RFHUtil(c) (Support pack IS03) to pull off the message by correlation id.
There you can display and enter the msgid and correlId in Hex.
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
codered |
Posted: Fri Feb 21, 2014 9:40 pm Post subject: |
|
|
Novice
Joined: 09 Feb 2014 Posts: 13
|
In RFHutility...we have an option of "get by msg id" but I can't copy the msg id value in the RHutil field. Its in non edited mode. |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Feb 21, 2014 11:13 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20763 Location: LI,NY
|
codered wrote: |
In RFHutility...we have an option of "get by msg id" but I can't copy the msg id value in the RHutil field. Its in non edited mode. |
You must be doing something wrong. Do you have the latest version?
The field is open and I have no problem entering the data. Maybe you want to make sure you check the "get by msg id" checkbox after having entered the msgid into the field on the MQMD tab...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
codered |
Posted: Sat Feb 22, 2014 2:35 am Post subject: |
|
|
Novice
Joined: 09 Feb 2014 Posts: 13
|
Thanks, I have downloaded the supportpack again and thats showing msgid as an editable value. Old one was not doing. |
|
Back to top |
|
 |
|