activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: AMQ 4.0.1 - master/slave woes
Date Mon, 21 Aug 2006 08:50:05 GMT
I thought queues were persistent by default but you can specify the
explicit persistence mode via a header...

http://incubator.apache.org/activemq/stomp.html

i.e. adding persistent: true



On 8/18/06, Sandeep Chayapathi <sandeep@wssource.com> wrote:
> Hi all,
>   Im trying to setup AMQ 4.0.1 in master/slave mode. Im running both
> master & slave from the same box, but on different ports. Both have
> different data store (different data folders).
> Im able to see in the log file, that the slave attaches itself to the
> master service.
>
>   I have a test stomp client, which sends messages to: /queue/FOO.test
> queue. After storing some 20 messages, I stop the master server (ctrl+C
> the app).  Then start another stomp client, which tries to read
> /queue/FOO.test, from the slave server. I'm able to connect to the
> slave, but the slave does not have any message. I have followed the
> instructions given in: http://activemq.org/site/masterslave.html. Im not
> sure if the replication is only for durable queues. If so, how do I
> create durable queues via stomp ? Thanks.
>
> - Sandeep
>


-- 

James
-------
http://radio.weblogs.com/0112098/

Mime
View raw message