[jboss-user] [JBoss Messaging] - Re: Message redistribution

timfox do-not-reply at jboss.com
Mon Feb 18 05:40:25 EST 2008


"martin.wickus" wrote : Precondition: JBM cluster consisting of two nodes posting messages to a clustered queue. The JBM cluster is formed across JBoss nodes.
  | 
  | Step1. Start up a plain java process (configured with JBM client libraries and patched JBoss Remoting lib) which looks up a ClusteredConnectionFactory from the JBoss/JBM partition via JNDI, creates a connection then registers a MessageListener to receive messages. Let's say the resulting connection is attached to node 1 of the JBM cluster. 
  | 
  | Step2. Send a message from node 1 of the JBM cluster to the clustered queue. The message is immediately received by the message listener.
  | 
  | Step3. Send a message from node 2 of the JBM cluster. The message is not received by the message listener.
  | 

That should certainly work (it's the simplest possible redistribution scenario). Things to check:

1) You have deployed your queue as clustered
2) ClusterPullConnectionFactory is specified in the server peer config and is deployed
3) Something is wrong in your JGroups config.

Most likely is 3)

Take a look at the JGroups site for some tips on how to work out whether the nodes are seeing each other etc.


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

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



More information about the jboss-user mailing list