Persistent issue on Windows platform C# on restarting broker

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Persistent issue on Windows platform C# on restarting broker

bittusrivastava
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
Reply | Threaded
Open this post in threaded view
|

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

bittusrivastava
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
Reply | Threaded
Open this post in threaded view
|

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

tabish121@gmail.com
Are you sending the messages with durable = true set on them?

On Feb 8, 2018 7:21 AM, "bittusrivastava" <[hidden email]> 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
>
Reply | Threaded
Open this post in threaded view
|

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

bittusrivastava
thanks a lot .. yes this worked.



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