Re: Slave but worker !

2009-04-01 Thread Samuel Liard
Gary Tully wrote: > > you would need to manage the slave broker start in another bean and > thread. > set the start property to false and inject the broker bean into another > bean > where the broker.start() can be called in another thread. > Very good idee ! Unfortunately the property start

Re: Slave but worker !

2009-03-30 Thread Samuel Liard
Of course ! :) But it's not my question. Ok, slave broker is waiting... but why other stuff declare in my spring configuration are waiting to ? I just want in the same JVM (same spring configuration) a slave broker (do nothing, just wait master dead) and a consumer connect to the master node. Bu

Slave but worker !

2009-03-30 Thread Samuel Liard
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 : failover://(tcp://master:61616,vm:localhost) And the broker : In this case, the slave wait f