Hi all,

I have deployed JMS in a clustered environment, using the 'all' server 
configuration.
In this configuration, the JMS DestinationManager service is deployed as a 
singleton service.

I want to create queues on demand from within my application. Before we were 
running in a clustered environment, I retrieved the DestinationManagerMBean, 
and called the createQueue(..) method.
Now this poses a problem, because the code that wants to create the queues is 
deployed on both JBoss instances. When I try to create a queue from the JBoss 
instance where the DestinationManager is NOT deployed, I get an exception 
saying that it cannot find the DestinationManager service (which is normal, 
since it is running on the other JBoss).

My question: Is there a way to invoke a method from the singleton service 
(DestinationManager) from anywhere in the cluster, while the code does not know 
if it is running on the master node ?






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

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


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to