[jboss-user] [Clustering/JBoss] - Re: How to run a Queue and MDB into a cluster

justkeys do-not-reply at jboss.com
Wed Sep 3 11:22:06 EDT 2008


This works for me: i pack all in one single ear: the code, and the myqueue-service.xml (this one must be mentioned in the jboss-app.xml in order toget deployed).

You should not deploy the queue in the singleton-deploy folder, but in the farm folder (like any other code). Since it depends on jms, it will only be "running" on _the_ cluster-coordinator (that runs jms in jboss 4), but all other nodes will be able to subscribe or produce into that queue. 

If you want a queue that is only visible on one single node, perhaps you should think it over, and change it into service holding a java-util-Queue.

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

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



More information about the jboss-user mailing list