activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From youhaodeyi <youhaod...@gmail.com>
Subject Re: How does persistence work in activeMq?
Date Fri, 02 Nov 2007 14:16:02 GMT

If I store the messages how I can restore them.


navneek wrote:
> 
> Hi,
> 
> There are options in ActiveMQ for persistence, either you can use
> jdbcJournal or pure Jdbc DB persistence.
> In either case message will be persisted into storage, incase of any
> crash/disaster to broker. Whenever the broker is back and up and it has
> active consumer then broker will fetch message from storage and deliver to
> consumer.
> 
> Or if you want all messages to be persisted into storage then you could
> use Delivery_Mode as Persistence in your producer as like the following
> one. Once the message consumed from Queue/Topic then it'll be removed from
> storage.
>        producer.setDeliveryMode(DeliveryMode.PERSISTENT);
> 
> regds
> Navneeth.
> 
> youhaodeyi wrote:
>> 
>> I am new to Activemq. Whenever a activeMQ start running, it will creates
>> a directory activemq-data. I think this is the place ActiveMQ store
>> persistent data. I am wandering if a client send a message through
>> ActiveMQ failed, will ActiveMQ store this message in the activemq-data
>> directory? If so, how does activeMQ resend this message?
>> 
>> Thanks.
>> 
>  
> 

-- 
View this message in context: http://www.nabble.com/How-does-persisten%EF%BD%83%EF%BD%85-work-in-activeMq--tf4706063s2354.html#a13548395
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message