-
1. Re: Creating a queue programmatically via a URL
adrian.brock Oct 22, 2002 7:29 PM (in response to tejas)Are you sure it isn't jboss.mq instead of JBossMQ?
try http://localhost:8082 to view the MBeans.
Regards,
Adrian -
2. Re: Creating a queue programmatically via a URL
tejas Oct 24, 2002 2:12 AM (in response to tejas)Hi Adrian,
you're right about the way to specify the service name.
The right url turned out to be something like:
http://localhost:8082/InvokeAction//jboss.mq.destination:service=DestinationManager/action=createQueue?action=createQueue¶m0%2Bjava.lang.String=myCreated
Some more thoughts:
The queue that is created by this process is not persistent across server restarts. A way to do this would be to write directly into the jboss config file jbossmq-destinations-service.xml This would be useful if u have a queue per user and a new user has been added today.
I would like to know if there are performance bottlenecks due to creation of large number of queues in the app server (like creating and breaking db connections)
thnx
Tejasvi.