You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by bittusrivastava <bi...@gmail.com> on 2018/02/08 12:05:49 UTC

Persistent issue on Windows platform C# on restarting broker

Hi,
I have configured activeMq to use persistence mode like below
 <broker xmlns="http://activemq.apache.org/schema/core"
brokerName="localhost"  persistent="true"  useShutdownHook="false"
dataDirectory="${activemq.data}">
------------------------------------------------------------------------
-----------------------------------------------------------------------------
  <persistenceAdapter>
            <kahaDB directory="${activemq.data}/kahadb"
journalMaxFileLength="32mb"/>
        </persistenceAdapter>
</broker>

but whenever i restart activemq from services window,  i could see that all
Queue related data lost from http://localhost:8161/admin/queues.jsp
Can anyone guide me as what i am doing wrong?

Thanks in advance





--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: Persistent issue on Windows platform C# on restarting broker

Posted by bittusrivastava <bi...@gmail.com>.
thanks a lot .. yes this worked. 



--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: Persistent issue on Windows platform C# on restarting broker

Posted by Timothy Bish <ta...@gmail.com>.
Are you sending the messages with durable = true set on them?

On Feb 8, 2018 7:21 AM, "bittusrivastava" <bi...@gmail.com> wrote:

> one thing i want to add that i am using amqp.netlite library for amqp
> protocol
>
>
>
> --
> Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-
> f2341805.html
>

Re: Persistent issue on Windows platform C# on restarting broker

Posted by bittusrivastava <bi...@gmail.com>.
one thing i want to add that i am using amqp.netlite library for amqp
protocol



--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html