Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F06CEC671 for ; Mon, 24 Jun 2013 15:32:49 +0000 (UTC) Received: (qmail 25449 invoked by uid 500); 24 Jun 2013 15:32:49 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 25418 invoked by uid 500); 24 Jun 2013 15:32:49 -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 Delivered-To: moderator for users@activemq.apache.org Received: (qmail 17225 invoked by uid 99); 21 Jun 2013 14:25:17 -0000 X-ASF-Spam-Status: No, hits=2.3 required=5.0 tests=SPF_SOFTFAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of cid@iti.upv.es does not designate 216.139.250.139 as permitted sender) Date: Fri, 21 Jun 2013 07:24:09 -0700 (PDT) From: Francisco To: users@activemq.apache.org Message-ID: <1371824633951-4668470.post@n4.nabble.com> Subject: How to delete a persistent message MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi all, Regarding persistent messages, I discovered an undesired behavior I would like to confirm here: - I know persistent messages will be saved on disk as they are received in the broker. That's fine. - However, I thought that those messages would be automatically deleted once all the subscribers confirm the reception of the message. However, it seems to me that they still saved on disk forever and ever. - I thought I could solve this by setting a time ti expire. However, it doesn't seems to work for me. So, here are my questions: - Are persistent messages meant to live forever in the BBDD? In such case, my BBDD will keep growing and growing... - Do I have any mean to delete those messages programatically (via Java)? Many thanks in advance, Francisco -- View this message in context: http://activemq.2283324.n4.nabble.com/How-to-delete-a-persistent-message-tp4668470.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.