activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hiram Chirino" <>
Subject Re: High availability and persistency
Date Fri, 14 Dec 2007 19:02:50 GMT
The broker will create the log files and periodically checkpoint
status to them even if no messages are being written to them.

Furthermore, sending non-persistent messages to an HA broker does not
make much sense because the only messages that are HA, and get
recovered on failure, are the persistent messages.

For what you are doing you might as well just run 2 brokers that are
NOT in HA configuration, use normal network connections between them
and configure the clients to failover between them.  The client will
not notice the broker failure, you will get load balancing between the
2 brokers.  and you still get the same QoS on the messages which is
you might loose a few messages when a broker dies.

On Dec 10, 2007 4:47 AM, hagai <> wrote:
> That's exactly what I tried to do. I mark all the messages as non persistent
> using messageProducer.setDeliveryMode(DeliveryMode.NON_PERSISTENT)
> but it seems that the broker does use persistency on these messages because
> the log files are updated.
> Am I missing something?
> Hagai.
> --
> View this message in context:
> Sent from the ActiveMQ - User mailing list archive at



Open Source SOA

View raw message