Every MDB getting message on clustered JMS topic in JBoss EAP 6

Solution Unverified - Updated -

Issue

  • When we send a message to a topic in our JMS cluster every MDB subscribing to that topic gets the message. We want just one MDB to get the message. Here is how the MDB is configured:
@MessageDriven(activationConfig = {
    @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Topic"),
    @ActivationConfigProperty(propertyName = "destination", propertyValue = "java:/topic/myTopic"),
    @ActivationConfigProperty(propertyName = "acknowledgeMode", propertyValue = "Auto-acknowledge")
})

Environment

  • Red Hat JBoss Enterprise Application Platform
    • 6.0.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.