|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Stuck messages in queue affect the other messages flow in it |
« View previous topic :: View next topic » |
Author |
Message
|
Anthony Raj |
Posted: Sun Aug 01, 2010 8:58 pm Post subject: Stuck messages in queue affect the other messages flow in it |
|
|
Novice
Joined: 09 May 2010 Posts: 12
|
Hi All,
Could some one clarify me the messages stuck in the Listen queue, will affect the flow of other messages in that queue. |
|
Back to top |
|
 |
mvic |
Posted: Mon Aug 02, 2010 1:32 am Post subject: Re: Stuck messages in queue affect the other messages flow i |
|
|
 Jedi
Joined: 09 Mar 2004 Posts: 2080
|
Anthony Raj wrote: |
Hi All,
Could some one clarify me the messages stuck in the Listen queue, will affect the flow of other messages in that queue. |
It is not possible to understand your problem from this description.
Please describe the problem in detail. |
|
Back to top |
|
 |
Anthony Raj |
Posted: Mon Aug 02, 2010 3:44 am Post subject: |
|
|
Novice
Joined: 09 May 2010 Posts: 12
|
Hi,
We have a MQ setup where our applications put messages and the messages is processed at the back end and the processed messages are received by the application.
Our application will pickup the processed message if we got the reply within 30 sec from the time of request placed.
Some times we are getting messages after 30 sec, and these messages are stuck in our Listen queue.
My doubt here is :
Consider 2 messages got stuck in our Listen queue as it came after 30 sec, and now the 3rd message is arriving before 30 sec (which is eligible to be processed by the application)
Will this 3rd message will be processed by application or it will will wait till the first 2 messages got expire |
|
Back to top |
|
 |
mvic |
Posted: Mon Aug 02, 2010 4:14 am Post subject: |
|
|
 Jedi
Joined: 09 Mar 2004 Posts: 2080
|
Anthony Raj wrote: |
Some times we are getting messages after 30 sec, and these messages are stuck in our Listen queue. |
Check with the owner of your application source code what the app should do in this situation. It is a bad implementation if the app simply leaves the reply message unconsumed, since this would eventually fill the queue with unconsumed messages. If this is what the app is doing, it should be improved so that it does not leave the old messages unconsumed.
Quote: |
Will this 3rd message will be processed by application or it will will wait till the first 2 messages got expire |
It depends on the selection criteria, and match options your getter application is using. Check with the owner of the app source code. |
|
Back to top |
|
 |
Vitor |
Posted: Mon Aug 02, 2010 4:16 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Anthony Raj wrote: |
Will this 3rd message will be processed by application or it will will wait till the first 2 messages got expire |
If the application reading the replies is looking for a specific reply (by message or correl id) then it will find the 3rd message when it arrives. I assume this to be the case as if the application was simply reading the queue the 1st 2 messages wouldn't be stuck. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
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
|
|
|
|