From users-return-49880-archive-asf-public=cust-asf.ponee.io@activemq.apache.org Fri Apr 20 20:30:18 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 416C6180645 for ; Fri, 20 Apr 2018 20:30:18 +0200 (CEST) Received: (qmail 20349 invoked by uid 500); 20 Apr 2018 18:30:17 -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 20311 invoked by uid 99); 20 Apr 2018 18:30:16 -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; Fri, 20 Apr 2018 18:30:16 +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 F3648C0B9F for ; Fri, 20 Apr 2018 18:30:15 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.487 X-Spam-Level: *** X-Spam-Status: No, score=3.487 tagged_above=-999 required=6.31 tests=[DKIM_ADSP_CUSTOM_MED=0.001, NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_SOFTFAIL=0.972, URIBL_BLOCKED=0.001, URI_HEX=1.313, URI_TRY_3LD=0.001] autolearn=disabled 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 24GAEdMjikhN for ; Fri, 20 Apr 2018 18:30:15 +0000 (UTC) Received: from n4.nabble.com (n4.nabble.com [162.253.133.72]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id EEDCE5F36B for ; Fri, 20 Apr 2018 18:30:14 +0000 (UTC) Received: from mben.nabble.com (localhost [127.0.0.1]) by n4.nabble.com (Postfix) with ESMTP id 3C3631A3ADCBD for ; Fri, 20 Apr 2018 11:30:14 -0700 (MST) Date: Fri, 20 Apr 2018 11:30:14 -0700 (MST) From: "j.kupka" To: users@activemq.apache.org Message-ID: <1524249014244-0.post@n4.nabble.com> Subject: Broker redelivery - messages lost on broker restart MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello, I cofigured redelivery policy through Redelivery plugin. Everything works as expected except the scenario when the broker is restarted while there are messages scheduled for re-delivery. Those messages are getting lost, they are nowhere to be found, not in primary queue or DLQ. I am using persistent delivery mode for all messages, vm transport (boker, producers and consumers all run in the same JVM). AMQ version 5.8.0. I thought it is the responsibility of jobSchedulerStore to save pending jobs so they survive restart, but the log says no jobs are firing after the broker starts. I checked the scheduler store directory, there are some files there and they are being updated while broker is running, but I'm not sure what is stored in them. Is there any configuration option I could try, or is this the expected behaviour? Thanks. Here is my broker configuration: -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html