[JBoss Messaging] - Single node queue to distributed queue across cluster
by mackennad
We have installed JBoss Messaging 1.2 on a 5 node cluster - swapped out the JBoss MQ from the instance of the servers and replaced it with jboss-messaging 1.2 .
We are running under JBoss 4.0.5GA. JDK is 1.4.2_13. Fedora 4.
We have a client that writes to a queue on one of the nodes in a cluster, a pool of Message Driven Beans pick up messages from the queue and process the same. This works on a single node within a cluster. No issues there.
The message driven beans are deployed in their own Jar. The jar file is placed in the deploy directory on one of the nodes.
We then moved this jar file to the farm directory. The jar replicated across the nodes in the cluster. The queues are available on individual nodes within the cluster as each node of the cluster has its own jboss-messaging-scoped.jar. The MDBS are deployed correctly. But the queue is not visible to the MDBs deployed on other nodes within the cluster.
The question now is how do we distribute the queue across nodes in the cluster. Is there specific changes that need to be made in the configuration files to enable message bean instances to pick up messaged from the distributed queue
The queue is defined in jboss-messaging-scoped.sar. We modified destination-service.xml. Added the following
<mbean code="org.jboss.jms.server.destination.Queue"
name="jboss.messaging.destination:service=Queue,name=TradeInfoQueue"
xmbean-dd="xmdesc/Queue-xmbean.xml">
<depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer
To sum it up - if the queue is created on a single node, MDB deployed to that single node ( min 15 max 30 ) client deployed on same node. Everything works great !
But when we run this within the cluster, everything deploys with no error, but the queue is not distributed and the MDBs deployed symmetrically across the cluster do not pick up messages.
Any pointers
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000052#4000052
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4000052
19 years, 3 months
[JBoss jBPM] - Re: jBPM 3.1 + Spring 2.0 + Tomcat 5 + TX demo app
by joytechsearch
hi,your app demo is excellence,but the app code is stripped down version,
i can't integrallty learn it,can't you send me a full source coe of this app,
i am also the jbpm newbie,i want to learn it immediately,i thing your app Demo will help me a lot,so ,i adjuration that ,can't you send me this Demo's full source code?
bow!
my e_mail : joytechsearch(a)163.com
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000047#4000047
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4000047
19 years, 3 months