ActiveMQ persistence behavior

2020-04-02 Thread Modanese, Riccardo
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

Re: Persistence Behavior

2009-09-16 Thread dbczak
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

Re: Persistence Behavior

2009-09-16 Thread Bruce Snyder
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

Re: Persistence Behavior

2009-09-15 Thread dbczak
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

Re: Persistence Behavior

2009-09-15 Thread Bruce Snyder
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

Re: Persistence Behavior

2009-09-15 Thread Bruce Snyder
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

Re: Persistence Behavior

2009-09-15 Thread dbczak
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.

Persistence Behavior

2009-09-15 Thread dbczak
://www.nabble.com/Persistence-Behavior-tp25458903p25458903.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.