Discussion:
[jboss-user] [EJB3] - JMS Queue and MDB dynamic runtime creation
GOSSET Cédric
2013-06-03 14:23:21 UTC
Permalink
GOSSET Cédric [https://community.jboss.org/people/rockerced] created the discussion

"JMS Queue and MDB dynamic runtime creation"

To view the discussion, visit: https://community.jboss.org/message/821017#821017

--------------------------------------------------------------
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.

Best regards,
GOSSET Cédric
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/821017#821017]

Start a new discussion in EJB3 at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2029]
GOSSET Cédric
2013-06-17 14:43:06 UTC
Permalink
GOSSET Cédric [https://community.jboss.org/people/rockerced] created the discussion

"Re: JMS Queue and MDB dynamic runtime creation"

To view the discussion, visit: https://community.jboss.org/message/823485#823485

--------------------------------------------------------------
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 ?

Thanks
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/823485#823485]

Start a new discussion in EJB3 at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2029]
Loading...