HOWTO:Dynamically create persistent JMS destinations in clustered Env
I have setup the clustered JMS on 2 nodes.
I need to add persitent queues dynamically in jbossmq-destinations-service.xml without restarting the JBoss instance. I.E. as soon as I add the queue in jbossmq-destinations-service.xml the jboss should detect it automaticlly without restart(HOT DEPLOYMENT)
My jbossmq-destinations-service.xml is in ..\deploy-hasingleton\jms folder.
I tried it but JBoss is not adding the queue without restart.
Iit detects if I keep the jbossmq-destinations-service.xml in deploy folder but I cant do that as on Secondary node(which is not Master) it gives error on restart.
So My Q is, Is it possible to add a persitent queue in Clustered JMS environment on all nodes?
If it is possible how to do that?
Thanks & Regards,
No problem First down the first node & make changes & afte this restart the first & down second this gives you no error beacz in the hassingleton/jms component are deployed in a clustering network once on one on all of them.