-
1. Re: jboss 1.2.0.CR1 MDB Cluster
timfox Feb 22, 2007 5:03 AM (in response to fancoli)I'm not sure I understand your problem.
Can you please explain it in more detail and explain your cluster topology in more detail? -
2. Re: jboss 1.2.0.CR1 MDB Cluster
fancoli Feb 22, 2007 5:32 AM (in response to fancoli)Yes of course,
I have two jboss instance on two physical machines; I have removed JBossMQ and then deployed JBossMessaging inside deploy folder of both server; here there is a queue definition:<mbean code="org.jboss.jms.server.destination.QueueService" name="jboss.messaging.destination:service=Queue,name=BatchProcess_${jboss.partition.name:DefaultPartition}" xmbean-dd="xmdesc/Queue-xmbean.xml"> <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends> <depends>jboss.messaging:service=PostOffice</depends> <attribute name="Clustered">true</attribute> </mbean>
I have a message driven bean (not singleton) and I am expecting that the messaging are processed by both server, but only one server works.
The problem is only on messaging EJB (session) are load balanced...
Thanks,
max. -
3. Re: jboss 1.2.0.CR1 MDB Cluster
timfox Feb 22, 2007 5:42 AM (in response to fancoli)Probably your best place to start is the distributed queue example in the distribution.
Is this working for you? -
4. Re: jboss 1.2.0.CR1 MDB Cluster
timfox Feb 22, 2007 7:15 AM (in response to fancoli)For the 1.2 GA release I will be putting together some documentation on how to configure clustering for several classic deployment scenarios and usage patterns.
E.g.
Bank of homogenous MDBs and few producers.
Bank of homogenous MDBs and many well distributed producers.
Consumers that consume at different rates
etc
There are several ways things to be configured to suit different set-ups. -
5. Re: jboss 1.2.0.CR1 MDB Cluster
fancoli Feb 22, 2007 8:42 AM (in response to fancoli)Thanks a lot Tim,
I am waiting for documentation.
Max