I am working with JBoss 5.1.0 and HornetQ 2.0.0.GA. I have configured an MDB to be a durable subscriber. I'd appreciate if somebody could help me understand the mechanism of subscribe and unsubscribe. Who does it and when that happens? Does JBoss container do it when it knows the first time that one or more MDBs have durable subscription. How is unsubscribe done?
I have searched and have not found anything close to an answer. I understand how a stand-alone client does it; but not when the client is an MDB.
I'd appreciate any references as well.
Thanks
The Resource Adapter does it, the subscribe happens when an MDB is deployed for the first time. Unsubscribe has to be done manually by an Administrator.