Hi, I have a question about how the ActiveMQ persistence works.
From what I read time ago (but I’m not able to find the documentation again)
the messages are persisted only if the QoS > 0 and clean session = false.
So if i send a lot of messages with QoS=0 after few messages with QoS=1 (with
cl
essages instead of just missed ones. But the failover transport
doesn't save any messages.
Regardless, I do not have any more time to work on this and I've coded
around it for my current needs, so you can close this case.
--
View this message in context:
http://www.nabble.com/Persi
On Tue, Sep 15, 2009 at 4:48 PM, dbczak wrote:
>
> Yes I'm using failover. The problem is that if I don't set the
> maxReconnectAttempts, it waits forever when I call send and the connection
> is down. But if I set the maxReconnectAttempts, then after it reaches that
> max number of attempts, it
able to
attempt a send, and continue processing if send fails, and then when the
consumer comes back up, the reconnect should occur and the missed messages
should be processed.
--
View this message in context:
http://www.nabble.com/Persistence-Behavior-tp25458903p25463124.html
Sent from the
On Tue, Sep 15, 2009 at 12:20 PM, dbczak wrote:
>
> OK, I was able to stop it from waiting forever by setting the
> maxReconnectAttempts setting. However, it still does not behave as
> expected.
>
> Once everything is up and running, I shut down one of the consumers. In the
> producer I get thi
On Tue, Sep 15, 2009 at 12:03 PM, dbczak wrote:
>
> Hi,
>
> I have two consumers running, and one producer (all written in java). The
> producer is sending a message to each consumer with the basic failover
> transport. In the producer, I have the persistent setting set to true.
I'm not sure wh
help.
--
View this message in context:
http://www.nabble.com/Persistence-Behavior-tp25458903p25458935.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
://www.nabble.com/Persistence-Behavior-tp25458903p25458903.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.