Return-Path: X-Original-To: apmail-activemq-issues-archive@minotaur.apache.org Delivered-To: apmail-activemq-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 55A9517A07 for ; Tue, 6 Oct 2015 10:16:30 +0000 (UTC) Received: (qmail 43638 invoked by uid 500); 6 Oct 2015 10:16:27 -0000 Delivered-To: apmail-activemq-issues-archive@activemq.apache.org Received: (qmail 43608 invoked by uid 500); 6 Oct 2015 10:16:27 -0000 Mailing-List: contact issues-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list issues@activemq.apache.org Received: (qmail 43598 invoked by uid 99); 6 Oct 2015 10:16:27 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Oct 2015 10:16:27 +0000 Date: Tue, 6 Oct 2015 10:16:27 +0000 (UTC) From: "M Rahimi (JIRA)" To: issues@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (AMQ-6000) Pause/resume feature of ActiveMQ not resuming properly MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 M Rahimi created AMQ-6000: ----------------------------- Summary: Pause/resume feature of ActiveMQ not resuming properly Key: AMQ-6000 URL: https://issues.apache.org/jira/browse/AMQ-6000 Project: ActiveMQ Issue Type: Sub-task Components: Broker, JMX Affects Versions: 5.12.0 Reporter: M Rahimi Fix For: 5.12.0 The problem is that, when you *resume* the message delivery, # If there is a message entering the queue: the broker will immediately send the pending messages to the consumer which is totally OK. # But if no message _enters_ the queue: the pending messages in the queue will not be sent to the consumers until the expiration checking is performed on the queue (which by default is 30 seconds and can be controlled by the _expireMessagesPeriod_ attribute) and non-expired messages will be sent to the consumers afterwards. Obviously we can change the _expireMessagesPeriod_ to limit this delay, but when you need a milisec precision, performing the expiration check every milisec will not make sense. How is it possible to force the queue to start sending messages immediately after resumption? -- This message was sent by Atlassian JIRA (v6.3.4#6332)