activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samuel Liard <>
Subject Slave but worker !
Date Mon, 30 Mar 2009 13:37:58 GMT


I use Shared File System Master Slave configuration in two JVM with Spring.

It's works well but I would like add consumer in the Slave JVM.
I try :

<bean id="jmsFactory"
  <property name="connectionFactory">
    <bean class="org.apache.activemq.ActiveMQConnectionFactory">
      <property name="brokerURL">

And the broker :

<bean id="broker" class="org.apache.activemq.xbean.BrokerFactoryBean" >
  <property name="config" value="classpath:activemqSlave.xml" />
  <property name="start" value="true" />

In this case, the slave wait for take the lock on share files and the JMS
consumer never start until the master dead.

How have an activeMQ Slave embeded in my JVM without block all other bean ?


View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message