In JBoss (any version) if a MDB uses a durable subscription, will the messages be accumulated if the MDB is not deployed?
If the messages don't accumulate, what is the use of specifying a MDB as a Durable Subscriber (By this I mean, why have the over-head of specifying a user, passwd etc. before making a connection)
I understand that when once the MDB is deployed, the container maintains the subscription...and activates any MDB (if none are active) when a message arrives...
Any answers would be highly appreciated...
The MDB is just a subscriber.
By spec durable subscriptions will retain
messages while the client is not connected.
When the client reconnects, they get the messages.