Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 18298 invoked from network); 4 Oct 2010 20:47:06 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 4 Oct 2010 20:47:06 -0000 Received: (qmail 56643 invoked by uid 500); 4 Oct 2010 20:47:06 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 56544 invoked by uid 500); 4 Oct 2010 20:47:06 -0000 Mailing-List: contact dev-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 dev@activemq.apache.org Received: (qmail 56536 invoked by uid 99); 4 Oct 2010 20:47:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Oct 2010 20:47:06 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Oct 2010 20:47:03 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o94Kkf23001669 for ; Mon, 4 Oct 2010 20:46:42 GMT Message-ID: <25642253.43311286225201921.JavaMail.jira@thor> Date: Mon, 4 Oct 2010 16:46:41 -0400 (EDT) From: "Timothy Bish (JIRA)" To: dev@activemq.apache.org Subject: [jira] Resolved: (AMQ-2940) Add a way to select and delete scheduled/delayed messages with a message selector In-Reply-To: <29454348.29711285261840368.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/AMQ-2940?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Timothy Bish resolved AMQ-2940. ------------------------------- Resolution: Fixed Fix Version/s: 5.5.0 Assignee: Timothy Bish Fix by AMQ-2941 > Add a way to select and delete scheduled/delayed messages with a message selector > --------------------------------------------------------------------------------- > > Key: AMQ-2940 > URL: https://issues.apache.org/activemq/browse/AMQ-2940 > Project: ActiveMQ > Issue Type: New Feature > Components: Broker, JMX > Affects Versions: 5.4.1 > Reporter: Thomas Dudziak > Assignee: Timothy Bish > Fix For: 5.5.0 > > > The atm only way to interact with scheduled/delayed messages, the JobSchedulerView mbean, does not provide a way to get or delete messages that match a specific selector, e.g. something that behaves similar to the Session.createBrowser(queue, messageSelector) method. > This means that for instance in order to delete all scheduled messages with a specific custom property, one has to > 1. get all messages (which might not even work as the mbean doesn't stream) > 2. determine if the mbean matches the selector locally and if then hit the removeJob(id) mbean operation > which is really inefficient. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.