Posted: Tue Jan 18, 2011 8:06 am Post subject: MQ Clustering with MQPMO_LOGICAL_ORDER
Apprentice
Joined: 25 Feb 2005 Posts: 41
Hello,
We are using MQ 7.
There is a .NET client that uses MQ API to send messages to a queue and from the queue Message Broker picks it up and sends to another queue after transforming it.
Message Broker needs to send the message to the target queue in the same order in which we received it from the .NET application.
Our infrastructure is that we have 2 Broker QMs that are clustered, so whats happening is that one message goes to the cluster queues and the other to the other instance of the queue and so sometimes end up out of order in the target queue.
I am planning to request the client team to use MQPMO_LOGICAL_ORDER so that we can maintain the order in the group, but my question is that as the 2 QMs are in a cluster, I believe it is possible that the messages in the same group can end up in multiple instances of the queue and the issue will still persist. Is my understanding correct? So basically we cannot use workload balancing with MQPMO_LOGICAL_ORDER. Is this correct?
Then the receiving Client can process them "in order", but all preceeding applications can process them in any given order.
Or you can feed all of the messages that come out of the broker flows into a single flow that has a Resequence node that will send them to the .NET app in the right order.
Or you should do the right thing and break the order dependency.
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