Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id EDF72200C4B for ; Mon, 20 Mar 2017 16:17:12 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id ECCFE160B8F; Mon, 20 Mar 2017 15:17:12 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 3FE57160B76 for ; Mon, 20 Mar 2017 16:17:12 +0100 (CET) Received: (qmail 17226 invoked by uid 500); 20 Mar 2017 15:17:11 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 17212 invoked by uid 99); 20 Mar 2017 15:17:10 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Mar 2017 15:17:10 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 55AD7C0A2A for ; Mon, 20 Mar 2017 15:17:10 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.943 X-Spam-Level: ** X-Spam-Status: No, score=2.943 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, KAM_LIVE=1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, URI_HEX=1.313, URI_TRY_3LD=0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id o14g4z9Htd1C for ; Mon, 20 Mar 2017 15:17:09 +0000 (UTC) Received: from mail-qk0-f178.google.com (mail-qk0-f178.google.com [209.85.220.178]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 066A75F341 for ; Mon, 20 Mar 2017 15:17:09 +0000 (UTC) Received: by mail-qk0-f178.google.com with SMTP id 1so112628281qkl.3 for ; Mon, 20 Mar 2017 08:17:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=bxXZYVuCE9Dst5KR87C+FLBsPDRaMMOmb+tmlKi2134=; b=Jsom8ky4ijGpYeSDc43dY/v8U9LfRBy6ut4N+gFfs5AuyhaMNeqOZg+l6iR4sHr3xj QlapCusplTyKl1EgNYMh+xOucxTaBWWsDZTH3Sr/02LCuBLyNNEDBQT7TRvZieiPR2u4 SoEFIU1p7OUJYlE2NePibnbNI0DNGGDE2+dIM4xyeQKde1ZwvJjrd9tdx5gBj6iNq/WE tlV1TZHaDFIdOPSrO6OsS0FI/onOALQUrli9gIuj5dtSs63NGkVpyCEozTvbfhyiqOMP vSn7E+jEGQL6p8jO1QvyDUuB4J+UrmcabeMGC0ivjVWxnvqziZY6aq9NwTQ/9ne7siFc WskA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=bxXZYVuCE9Dst5KR87C+FLBsPDRaMMOmb+tmlKi2134=; b=M4oFOgiNz+a6q9NJ24Ds5p3dBHcNQQ3wh0yn7cNMYFdf6MzSS4BucwK09IlTZ0MOBV lL9hPsq6FQ/MsaXHNwfyiTlU+IS+f3opMunD3y+4udnINX4aaJ9bC00kCozOI3kBJ5uW z/6N4hsTiSdT3Nzp5II+gbppPHRvcE0l4NEeuUA7QJj97v/wcScebNxsk5kciFZpmS/Y J6d81IX0fwBmWzox5NpySiBLIpHcMI2moCTsv8tldBfXwh53VpVceCdXVdyiK7B8xNe5 4u1Oa9nJMa7aHDuY0tan84WGeYCYFYc8QZBRkjLqj+WYYdEIWA1a1q25fusMH2BPo/BV BBqg== X-Gm-Message-State: AFeK/H3CvrE7lhoPyHQD9OD+c24sxLD0gplHaYAPB3eXUIOF01th4wq9Gy0tgjFsK8QaGg== X-Received: by 10.55.3.147 with SMTP id 141mr27820052qkd.213.1490023025824; Mon, 20 Mar 2017 08:17:05 -0700 (PDT) Received: from [192.168.2.150] (c-73-191-41-186.hsd1.va.comcast.net. [73.191.41.186]) by smtp.googlemail.com with ESMTPSA id z32sm12528894qtg.17.2017.03.20.08.17.04 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Mar 2017 08:17:05 -0700 (PDT) Subject: Re: Persistent activemq messages To: users@activemq.apache.org References: <1490013113278-4723885.post@n4.nabble.com> From: Timothy Bish Message-ID: <30330851-08d5-89b5-8c60-72620dd8f8bb@gmail.com> Date: Mon, 20 Mar 2017 11:17:04 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: <1490013113278-4723885.post@n4.nabble.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit archived-at: Mon, 20 Mar 2017 15:17:13 -0000 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/