Hello at all,
I want to create JMS Queue and MDB to listen with dynamic runtime creation in the JBOSS application server and no at the starting of this server.
In my case, i want to manage a new service dynamically.
Use case :
A service send a JMS message in the admin queue of my application (in the JBOSS AS). This message contains QUEUE indentifier informations.
I don't know what is the name of queue before. And i must create it. The MDB code is the same for consuming message in this service queue.
I didn't found documentation to create elements dynamically. Can you give code to perform this action.
To create a Queue dynamically, i used CLI Java API. After , i used a MessageConsumer and MessageProducer like a JMS client with HORNETQ Client jar(s) inside my JBOSS application.
Do you have another solution ?