activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Posta <christian.po...@gmail.com>
Subject Re: Can't make topic persistent
Date Tue, 06 Nov 2012 20:56:22 GMT
Use the failover protocol, durable subscriptions and a master/slave pair:

http://activemq.apache.org/masterslave.html
http://activemq.apache.org/shared-file-system-master-slave.html



On Tue, Nov 6, 2012 at 1:36 PM, Biscuit128 <rickilambert@googlemail.com>wrote:

> A bit of both really! when the consumer goes away i would like the messages
> to be persisted for when they come back but also i read something about the
> broker being able to write the messages to some form of log file if it was
> not connected and then, once it connects again then it reads the file and
> then continues sending?
>
> I may well be way off the mark here. I am just looking for some fail safe
> mechanism where by should the broker go down then consumers do not miss out
> on any messages sent at this time?
>
> Currently i have a set up where, using the failover:// protocol it will try
> and reconnect, but when it manages to reconnect it deletes the topic I had
> and creates a new one :( loosing all the messages that were in there
>
> Thanks for your time
>
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/Can-t-make-topic-persistent-tp4658850p4658862.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>



-- 
*Christian Posta*
http://www.christianposta.com/blog
twitter: @christianposta

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message