[jboss-user] [JBoss Messaging] - Re: Clustered server preference
do-not-reply at jboss.com
Fri Apr 18 09:26:55 EDT 2008
I certainly appreciate your taking the time to participate in this discussion. It seems we have a permanent miscommunication. I am aware that setting DefaultPreserveOrdering will preserve the ordering of the message consumption but after numerous tests, some of which the results are posted in this thread, this clear that when that is set all the messages from the producer go to only one consumer. My question was how can I make it preserve the order of consumption when there are is more than one consumer.
Refer back to my bank line anecdote. All the people in the single line represent the messages in the queue. Each teller window represents a consumer. The first person in line goes to the next available teller. That person may successfully conduct their business or they may not. Irregardless, the following person in the line goes to the next available teller. That is the proper function of a queue. People don't randomly leave the line to race for the next available teller. The head of the queue goes next.
I don't understand why this concept seems so difficult to communicate. Either JBM can be configured to function like this or it cannot. Thus far my testing has shown it cannot. If there is a way to configure it so that it can please enlighten me. When I set DefaultPreserveOrdering to true all my messages go to one consumer. To employ my metaphor, all persons in line go to the same teller while the other teller sits there and does nothing. This is not optimal behavior.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4145151#4145151
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4145151
More information about the jboss-user