ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » Stuck messages in queue affect the other messages flow in it

Post new topic  Reply to topic
 Stuck messages in queue affect the other messages flow in it « View previous topic :: View next topic » 
Author Message
Anthony Raj
PostPosted: Sun Aug 01, 2010 8:58 pm    Post subject: Stuck messages in queue affect the other messages flow in it Reply with quote

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
View user's profile Send private message
mvic
PostPosted: Mon Aug 02, 2010 1:32 am    Post subject: Re: Stuck messages in queue affect the other messages flow i Reply with quote

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
View user's profile Send private message
Anthony Raj
PostPosted: Mon Aug 02, 2010 3:44 am    Post subject: Reply with quote

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
View user's profile Send private message
mvic
PostPosted: Mon Aug 02, 2010 4:14 am    Post subject: Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Mon Aug 02, 2010 4:16 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Stuck messages in queue affect the other messages flow in it
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.