A---The MDB is a JMS Publish-Subscribe consumer that may lose some messages if the EJB server goes down.
B--- The MDB is a JMS Publish-Subscribe consumer that may lose its topic subscription if the EJB server goes down.
A is correct.
the subscription is just a configuration that will not be lost no matter server goes down or not
But the message may be lost if the subsciption is not a durable subscription.
mimi,
I have not worked on MDB. Can you explain more about how topic subscription will not be lost incase of EJB server goes down. Where does it actually stored etc.
If you do not take the effort to post the entire question, you may get incorrect answers. The question's XML fragment has the following
The subscription durability is - not durable. But if it were, consumers that were disconnected when the topic was alive and had unexpired messages that were not consumed, would have the relevant messages delivered to them when they reconnect.
Telling us the options without the question makes it impossible to give you the right answer