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.