GeeCON Prague 2014*
The moose likes JBoss/WildFly and the fly likes Why is not message in a queue redistributed to another node in cluster? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Why is not message in a queue redistributed to another node in cluster?" Watch "Why is not message in a queue redistributed to another node in cluster?" New topic
Author

Why is not message in a queue redistributed to another node in cluster?

Jiri Neuman
Greenhorn

Joined: Jan 12, 2014
Posts: 1
I have two nodes in a cluster running JBoss 5.1 AS and providing a clustered JMS queue. There is a consumer running on another machine connecting to the clustered queue and processing messages from it. The message producers are running on the JBoss cluster and produce messages to queue on both nodes.

In this case, I run into a situation when there is a message on one node, consumer on the other node and the message is not being consumed. I would expected that the node with the consumer would pull the message from the second node, but this does not happen. Is my expectation not correct or is there a configuration error / issue in JBoss Messaging?

Using:
JBoss AS 5.1
JBoss Messaging 1.4.6
JBoss Remoting 2.5.4.SP4

The queue has attribute clustered set to true. In messaging-service.xml, there is <attribute name="ClusterPullConnectionFactoryName">jboss.messaging.connectionfactory:service=ClusterPullConnectionFactory</attribute>.
 
GeeCON Prague 2014
 
subject: Why is not message in a queue redistributed to another node in cluster?