I'm developing an application which uses JMS queues to pass messages back and forth. I need to be able to create these queues dynamically and that part is not hard to do, it can be done from an MBean.
However, I'm using MDB's to receive the messages and how can I dynamically on the fly create an MDB and connect it to the right queue? I suppose it can also be done from the MBean but how? Which service to use?