-
1. Re: Questions about topics in a cluster
timfox Jun 6, 2007 1:25 PM (in response to icruz)If the topic is marked as clustered=false then only MDBs on the local node will receive messages sent to it from that node.
If it is marked as clustered=true then any MDB in the cluster listening on the topic will receive messages sent to the topic from any node. -
2. Re: Questions about topics in a cluster
icruz Jun 6, 2007 5:51 PM (in response to icruz)Thank you Tim,
when you say any MDB in the cluster will receive messages sent to the topic, you mean one and only one MDB will receive the message, but not one in each node... is it? -
3. Re: Questions about topics in a cluster
timfox Jun 7, 2007 4:44 AM (in response to icruz)You're thinking of a queue.
With a queue, the message is only received by one consumer, with a topic it is received by all subscribers.
Topics are a form of "publish / subscriber" messaging (you can google this for more info)
Queues are a form of "point to point messaging".
The JMS spec also goes into more detail on this.