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 » General IBM MQ Support » Messages in Queue

Post new topic  Reply to topic
 Messages in Queue « View previous topic :: View next topic » 
Author Message
MQGuy2000
PostPosted: Thu Nov 30, 2006 9:29 am    Post subject: Messages in Queue Reply with quote

Centurion

Joined: 20 Jul 2003
Posts: 131

Hello All

I have a question about how MQ behaves under the following condition.

App A is sending messages to App B and waiting for response. Somehow App B is not responding within the timeout period and the App A is getting TimeOut Error.

The message is retained in the Queue. Now if App A sends another message to B and App B responds within the Timeout, will the old (retained) message block App A from GETting the new message? If there are multiple messages retained (say 1000), Will App A have any time lag in getting the good message?

Now that queue is FIFO. Please help me understand. Thanks
Back to top
View user's profile Send private message
special_agent_Queue
PostPosted: Thu Nov 30, 2006 9:40 am    Post subject: Reply with quote

Centurion

Joined: 27 Jul 2006
Posts: 102

Perhaps you should set an expiry on the reply message from B?
MQGuy2000 wrote:
The message is retained in the Queue. Now if App A sends another message to B and App B responds within the Timeout, will the old (retained) message block App A from GETting the new message?


Is app A getting by a correlation ID or some other identifier? Or is it just picking up the first message?
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Nov 30, 2006 9:41 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

If you have read the Application Programming guide, and you have implemented a proper Request/Reply pattern, then the answer to your question is "No."

If you have not implemented a proper request/reply pattern, then the answer to your question is -

It depends on how you wrote your code. But one message never "blocks" another message.
_________________
I am *not* the model of the modern major general.
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 » General IBM MQ Support » Messages in Queue
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.