Hi,
I'm writing a JMS application which needs to create queues at run time. This mean I 
have wrote a program to get a name of the queue as a input from the user. Because My 
application needs to deal with lot of queues and need to create these at run time. But 
to create a queue in JbossMQ we need to put an entry in the 
JBOSS_HOME\server\default\deploy\jms\jbossmq-destinations-service.xml
as follows.


    <depends 
optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager
  

Also I'm deploying jar in Jboss, therefore i have to enter a entry in jboss.xml as 
follows

- 
- <enterprise-beans>
- <message-driven>
  <ejb-name>MessageBean</ejb-name> 
  <configuration-name>Standard Message Driven Bean</configuration-name> 
  <destination-jndi-name>queue/thilina</destination-jndi-name> 
  </message-driven>
  </enterprise-beans>
  

So.. creating queues dynamically is a dificult task in this case. So any other way to 
achieve this task like createQueue() or createTemporaryQueue() kind of methods exixts 
? Then how can I achieve this task?

Thanks in advanced
Thilina


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844783#3844783

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844783


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to