Message is not visible in queue |
Message is not visible in queue |
|
0% |
[ 0 ] |
Get Call fails with 2033 |
|
100% |
[ 2 ] |
|
Total Votes : 2 |
|
Author |
Message
|
ajaymohini |
Posted: Sat Sep 27, 2014 11:32 pm Post subject: Message is not visible in queue |
|
|
Novice
Joined: 27 Sep 2014 Posts: 10
|
Hi All,
I am facing a scenario where the consumer is not able to see the message on the queue, while he is waiting to get the message with Correaltion Id and MQ Wait. But after the wait time expires the message is visible on the queue instantly.
The GMO Option of the get client are GMO_WAIT, GMO_CONVERT, ACCEPTTRUNCATED. The consumer is a mainframe application and the queue manager is also hosted on MainFrames.
The put application is DataPower. If the consumer had set a wait of 20sec the message arrives 21st second.
I represent the put side of the application and dont face any issues when i test it myself, request you to kindly provide any info that can help in resolvin the issue.
Thanks,
Ajay. |
|
Back to top |
|
 |
exerk |
Posted: Sun Sep 28, 2014 1:43 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
And just when do you commit that message? z/OS systems are implicitly transactional in nature so I suggest you have the receiving end check the queue's UNCOM return during the 20 second lag time.
And what's the poll for? You'll get both if it's a message uncommitted before the wait time expiry... _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
ajaymohini |
Posted: Sun Sep 28, 2014 4:21 am Post subject: |
|
|
Novice
Joined: 27 Sep 2014 Posts: 10
|
I believe DataPower commits the transaction as soon as the message is placed on the queue, i can check that. Whats with the UNCOM is this the uncommitted messages count on the queue? |
|
Back to top |
|
 |
exerk |
Posted: Sun Sep 28, 2014 4:55 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
ajaymohini wrote: |
I believe DataPower commits the transaction as soon as the message is placed on the queue, i can check that... |
Please do - I'm no DataPower expert.
ajaymohini wrote: |
Whats with the UNCOM is this the uncommitted messages count on the queue? |
Correct. _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
PeterPotkay |
Posted: Sun Sep 28, 2014 6:27 am Post subject: Re: Message is not visible in queue |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
ajaymohini wrote: |
But after the wait time expires the message is visible on the queue instantly.
|
What is the backout count of the message at this point?
ajaymohini wrote: |
The put application is DataPower. If the consumer had set a wait of 20sec the message arrives 21st second.
|
There is no way, no how, that the wait time of a consumer determines when the message initially arrives on the queue coming from another application, DataPower in this case. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
bruce2359 |
Posted: Sun Sep 28, 2014 9:39 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Explain exactly what you mean the message is not visible? Is visible? What tool or program are you using?
2033 means no (matching) message available. How have you defined and used the Correlid? _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
fjb_saper |
Posted: Sun Sep 28, 2014 10:19 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Typical request response problem. Your request program is not committing the request until the time out. At which time the response comes under a second wait time...
You cannot get a response to a request until the request is committed.
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
ajaymohini |
Posted: Sun Sep 28, 2014 8:20 pm Post subject: |
|
|
Novice
Joined: 27 Sep 2014 Posts: 10
|
Thank you for your help, to add to that i was able to see that whenever the consumer/get application is not polling on the queue for messages the message does arrive within the wait time. Its only when the consumer is polling on the queue that the message arrives after the wait time expires. |
|
Back to top |
|
 |
fjb_saper |
Posted: Sun Sep 28, 2014 8:41 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
ajaymohini wrote: |
Thank you for your help, to add to that i was able to see that whenever the consumer/get application is not polling on the queue for messages the message does arrive within the wait time. Its only when the consumer is polling on the queue that the message arrives after the wait time expires. |
First make sure your units of work are set correctly. Post back once you have verified this.  _________________ MQ & Broker admin |
|
Back to top |
|
 |
PeterPotkay |
Posted: Mon Sep 29, 2014 6:46 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
ajaymohini wrote: |
Thank you for your help, to add to that i was able to see that whenever the consumer/get application is not polling on the queue for messages the message does arrive within the wait time. Its only when the consumer is polling on the queue that the message arrives after the wait time expires. |
What consumer on what queue, please be specific.
The mainframe app on the input request queue?
Or your DataPower app on the reply queue? _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
|