MDB/Topic in a cluster

Discussions

EJB design: MDB/Topic in a cluster

  1. MDB/Topic in a cluster (1 messages)

    Hi all,

    Consider the following:

    One ear containing two beans - a SLSB publishing messages on a topic and a MDB subscribibg to that topic.
    If this application runs on multiple nodes, will the messages published by the SLSB be picked up by the MDB in each node or only in one node? Is it possible to configure JMS so that all such MDBs in all nodes picks up the message?

    Basically, I'm trying to send a message to all my applications in all nodes.

    Regards,

    Marcus

    Threaded Messages (1)

  2. MDB/Topic in a cluster[ Go to top ]

    If the topic is clustered a single instance of the MDB in EACH node will pick up the message exactly once. (i.e. the message will be delivered to all nodes in the cluster). Have a look at Mastering EJB for more details.

    Cheers

    Smythe