File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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>.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Why is not message in a queue redistributed to another node in cluster?
 
Similar Threads
Separating JMS Producer/Consumer on JBoss 4.0.2
JMS Client Fail Over Problem?
queued message recovery in JMS server clustering
Problem about running jms stanalone client for producer-consumer example from j2ee 1.5 tutorial
A question about clustering and jms