Not that I know if. But then again, the source is there, and you might find a way by learning how the JBoss container system works.
Hi, I guess I am rephrasing the original question, is there currently a way in which the ejb container can be dynamically reconfigured to add a new destination topic at runtime for a mdb? This is a very important feature for me, my current MOM server creates new client specific topic subscriptions as new clients log on into the system at run time. (Same question for destroying subscriptions) This helps in scalability as I can have various server instances listen only for particular clients. I would like this filtering to occur at the subscription level at not at the message content level using a message filter.
I would need this feature in order to port my existing MOM server to an ejb environment. It seems very limiting to restrict the subscription list at server start up time.
I saw the docs on how to add a new subscription using 'plain' JBossMQ via an MBean, but I think that was outside the context of a MDB.
I could look into the jboss container implementation but is this something addressed in the ejb spec or is it a grey implementation area.
Any help is greatly appreciated.
MDB follows the spec, no more no less. As I said - it might be doable if you learn the JBoss container architecture.