Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 60850 invoked from network); 19 Aug 2010 13:51:25 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 19 Aug 2010 13:51:25 -0000 Received: (qmail 72492 invoked by uid 500); 19 Aug 2010 13:51:25 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 72269 invoked by uid 500); 19 Aug 2010 13:51:22 -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 72261 invoked by uid 99); 19 Aug 2010 13:51:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Aug 2010 13:51:21 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [74.125.82.171] (HELO mail-wy0-f171.google.com) (74.125.82.171) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Aug 2010 13:51:12 +0000 Received: by wyb29 with SMTP id 29so2645672wyb.2 for ; Thu, 19 Aug 2010 06:50:51 -0700 (PDT) Received: by 10.227.155.82 with SMTP id r18mr8563324wbw.70.1282225851416; Thu, 19 Aug 2010 06:50:51 -0700 (PDT) Received: from fresco.local (ns0.netdev.co.uk [87.252.58.29]) by mx.google.com with ESMTPS id b23sm1048187wbb.16.2010.08.19.06.50.49 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 19 Aug 2010 06:50:50 -0700 (PDT) Message-ID: <4C6D36B8.1070906@netdev.co.uk> Date: Thu, 19 Aug 2010 14:50:48 +0100 From: Andrew Wasilczuk User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.8) Gecko/20100802 Lightning/1.0b2 Thunderbird/3.1.2 MIME-Version: 1.0 To: users@activemq.apache.org Subject: non-durable queues? Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi there, Is it possible to have a non-durable queue in ActiveMQ? The desired behaviour I'm looking for is to deliver the message only when there's an active subscriber on the queue. If there isn't one, the message should be discarded. Is this possible? If so, how do I go about setting it up? Many thanks, Andrew.