activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Tully <gary.tu...@gmail.com>
Subject Re: How to enable file based persistence ?
Date Wed, 03 Mar 2010 09:40:46 GMT
see https://issues.apache.org/activemq/browse/AMQ-2339 for a plugin that
forces all messages to be persistent.

On 3 March 2010 09:35, BenXS <bxstover@yahoo.co.uk> wrote:

>
> Is there a way to force ActiveMQ to store inbound JMS msgs even if they are
> NOT declared as persistent?
>
> Background: I send JMS msgs (payload) from well known HermesJMS tool to
> ActiveMQ  over menu
> Messages->TextMessages
>
> Here I cannot pass or define a JMS header for these JMS messages. The JMS
> header for these msgs
> is automatically created by HermesJMS and contains (unchangeable)
>
> JMSDeliveryMode = 1 (=non persistent)
>
> However I would like to have them peristent anyway.
>
> So I could imagine that there is a parameter "force persistence" in
> ActiveMQ.
>
> Ben
>
>
>
> Sebastian Rodriguez-2 wrote:
> >
> > by default the messages in activeMQ are persistent. They will use the
> file
> > data store: ActiveMq Message
> > Store<http://activemq.apache.org/amq-message-store.html>,
> > although since 5.3 it's recommended to use the
> > KahaDb<http://activemq.apache.org/kahadb.html>
> > .
> > Look at the pages on how to enable / configure / tune the two different
> > file
> > stores.
> >
> > On 18 February 2010 20:36, Dejan Bosanac <dejan@nighttale.net> wrote:
> >
> >> Hi,
> >>
> >> ActiveMQ persists messages by default. It only depends whether producer
> >> sends it as persistent or not. Take a look at this article for more
> info:
> >>
> >>
> >>
> http://activemq.apache.org/what-is-the-difference-between-persistent-and-non-persistent-delivery.html
> >>
> >> Also, if you're trying examples that comes with ActiveMQ, be sure to use
> >>
> >> ant producer -Ddurable=true
> >>
> >> Cheers
> >> --
> >> Dejan Bosanac - http://twitter.com/dejanb
> >>
> >> Open Source Integration - http://fusesource.com/
> >> ActiveMQ in Action - http://www.manning.com/snyder/
> >> Blog - http://www.nighttale.net
> >>
> >>
> >> On Thu, Feb 18, 2010 at 12:04 PM, BenXS <bxstover@yahoo.co.uk> wrote:
> >>
> >> >
> >> > I installed and started successfully Apache ActiveMQ v5.3.0.
> >> >
> >> > How do I enable now file based persistence?
> >> >
> >> > If I send a JMS message to the broker it appears in Console.
> >> > But after shutdown and restart (of ActiveMQ) this JMS message is not
> >> longer
> >> > available.
> >> >
> >> > Which parameter do I have to set to store all JMS messages in a file
> in
> >> > lets
> >> > say
> >> >
> >> > D:\jms\messstore.dat
> >> >
> >> > Ben
> >> > --
> >> > View this message in context:
> >> >
> >>
> http://old.nabble.com/How-to-enable-file-based-persistence---tp27637236p27637236.html
> >> > Sent from the ActiveMQ - User mailing list archive at Nabble.com.
> > --
> > Sebastien Rodriguez
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/How-to-enable-file-based-persistence---tp27637236p27766029.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>


-- 
http://blog.garytully.com

Open Source Integration
http://fusesource.com

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