[jboss-user] [JBoss Messaging] - Re: Clustered server preference

clebert.suconic@jboss.com do-not-reply at jboss.com
Wed Apr 16 12:41:52 EDT 2008


Ahhh... *Chapter* 3.1!

First of all.. don't use 1.3.0.. you will find several bugs that we have fixed... including the documentation.

Second...  you have FIFO on the cluster, but we aways distribute messages to the local queue first.

Say, you have a ClusteredQueue deployed in two servers. When you send a message to that queue, any clients connected to that server will receive the message first. Look at other threads as we have discussed this recently.
anonymous wrote : 
  | To that end I have written a test program based in the distributed queue example. It posts 50 messages to a distributed queue then creates 2 listeners and consumes the messages. I was suprised to see that the message consumption was so random. I would have expected FIFO consumption. I tried setting DefaultPreserveOrdering=true but that caused all the message to be consumed by one listener. Essentially, it defeated load balancing. Is there a way to get FIFO consumption and load balancing? The Random House Unabridged dictionary defines Queue As

You are using 1.3.0... You really should get to use 1.4.0.SP3.

Also... be aware of the local queue behaviors on the clustering. We don't do singleton cluster as that would be performance prohibitive.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4144567#4144567

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4144567



More information about the jboss-user mailing list