On 03/20/2017 08:31 AM, kiroalbatrosa wrote:
Hi all,
I have activemq set up in a docker swarm env, and I set up the data
directory to our shared NFS volume so that we wouldn`t lose any
messages/data when the service changes nodes.So far so good but when we
restart the service to test out the settings the messages in the queue are
still lost, I have also changed the broker in the activemq.xml as such:
broker xmlns="http://activemq.apache.org/schema/core"
brokerName="localhost" dataDirectory="${activemq.data}" persistent="true"
deleteAllMessagesOnStartup="false" useShutdownHook="false"
schedulerSupport="true"
Can someone please share some thoughts on what is missed or needs amending
to achieve persistence properly?
Thanks in advance.
--
View this message in context:
http://activemq.2283324.n4.nabble.com/Persistent-activemq-messages-tp4723885.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Are you sending messages with delivery mode of persistent?
--
Tim Bish
twitter: @tabish121
blog: http://timbish.blogspot.com/