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 » WebSphere Message Broker (ACE) Support » Message ordering + threading issues

Post new topic  Reply to topic
 Message ordering + threading issues « View previous topic :: View next topic » 
Author Message
Irena
PostPosted: Sun Mar 10, 2002 12:41 am    Post subject: Reply with quote

Novice

Joined: 03 Feb 2002
Posts: 11
Location: IBM

Is that correct that message order is not guaranteed within a message flow ?

Here is an abstract from the programming manual:
"as with all WebSphere MQ messages, it is possible for messages to be delivered out of order. This could happen:
1. If additional instances of the message flow are running.
2. If a link in the network goes down and subsequent messages are rerouted along
another link.
3. If a queue becomes temporarily full, or put-inhibited. In this case a message is put to a dead-letter queue and therefore delayed, while subsequent messages
might pass straight through."

It sounds like an out of order delivery happens only in some exceptional situations (like 1, 2, 3).
But what about parallel calls to evaluate function ? Here is another abstract:
"Threading considerations
The message broker runs on multiple threads, and it is possible that two threads
might be executing cniEvaluate on the same node object at the same time to process different messages. Therefore the code contained within this implementation function, and any that it calls, must be thread safe and fully re-entrant."

When does broker call evaluate simultaneously ?
Isn't it an additional reason for out of order message delivery ?

Should/could evaluate be synchronized ?

Regarding the recommended message ordering techniques (sequence number, timestamp), should each node type implement them itself ? How can nodes coordinate their "message ordering efforts" ?

Thank you,
Irena.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Message ordering + threading issues
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.