2 Replies Latest reply on Mar 15, 2005 3:05 AM by Michael Lipp

    Don't get it sorted out: JMS Topic MDB & cluster

    Michael Lipp Newbie

      Sorry. I have read through the docs, several postings and the FAQ but I don't get it. Does JBoss 3.2.7 and/or JBoss 4.0.1 support MDBs that are configured as listeners of a durable subscription or does it not (apart from this obviously not being an easy thing to configure)? "Support" means that each message posted to the topic is delivered to exactly one MDB instance in the cluster (I think this is as it should be -- the same as with an MDB listening on a queue).

      I understand that this is more difficult to implement than the case where an MDB listens to a queue, because you get the "deliver once in the cluster" simply because the standard behaviour for a queue is to deliver the message only to one of the listeners, while in the case of a topic messages are delivered to all listeners. So you cannot simply bind to the topic on every node, you either have to bind on only one node (with some fail-over mechanism) or do some additional synchronization among the nodes.

      I have to make a design decision that depends on this information and would be grateful for any hint.

      Thanks

      Michael