Using JMS Gateways on Topics in a Clustered environment using JBoss-ESB

Solution Unverified - Updated -


  • We have two ESB services listening (through a gateway) to a JMS topic, it has been done this way because we would like to add new services in the future listening in the same topic and we want to avoid having one queue for each service and a static route with the list of all services.
  • This works fine if we are using a single ESB instance, but if we run in a cluster (with JBoss Messaging configured for clustering) the messages are processed by the services in all the nodes, so we are processing the same message multiple times.
  • Is there a way to avoid this behavior and have a message processed only by a single instance of the service?


  • Red Hat JBoss SOA Platform (SOA-P) 5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content