- Posted by: Marcus Eriksson
- Posted on: September 12 2003 04:13 EDT
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.
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.