Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

Jiri Neuman
Posts: 1
Java MySQL Database Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?

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>.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!