activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Fernandez <joe.fernan...@ttmsolutions.com>
Subject Re: Slave but worker !
Date Mon, 30 Mar 2009 13:45:57 GMT

A slave broker will not accept connections from clients or other brokers
until it becomes a master. 

Joe
Get a free ActiveMQ user guide at http://www.ttmsolutions.com


Samuel Liard wrote:
> 
> Hi,
> 
> 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"
> class="org.apache.activemq.pool.PooledConnectionFactory"
> destroy-method="stop">
>   <property name="connectionFactory">
>     <bean class="org.apache.activemq.ActiveMQConnectionFactory">
>       <property name="brokerURL">
>         <value>failover://(tcp://master:61616,vm:localhost)</value>
>       </property>
>     </bean>
>   </property>
> </bean>
> 
> And the broker :
> 
> <bean id="broker" class="org.apache.activemq.xbean.BrokerFactoryBean" >
>   <property name="config" value="classpath:activemqSlave.xml" />
>   <property name="start" value="true" />
> </bean>
> 
> 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
> ?
> 
> Thanks
> 
> Samuel
> 

-- 
View this message in context: http://www.nabble.com/Slave-but-worker-%21-tp22782932p22783127.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message