Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 90937 invoked from network); 2 Feb 2007 12:12:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Feb 2007 12:12:01 -0000 Received: (qmail 56749 invoked by uid 500); 2 Feb 2007 12:12:07 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 56731 invoked by uid 500); 2 Feb 2007 12:12:06 -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 56720 invoked by uid 99); 2 Feb 2007 12:12:06 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Feb 2007 04:12:06 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of james.strachan@gmail.com designates 64.233.184.225 as permitted sender) Received: from [64.233.184.225] (HELO wr-out-0506.google.com) (64.233.184.225) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Feb 2007 04:11:57 -0800 Received: by wr-out-0506.google.com with SMTP id 37so703038wra for ; Fri, 02 Feb 2007 04:11:37 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=hpjVj5c1lqAeQnwHaG010WBUlnenuvQY4qh+WDRZeb2drB+6ERcbVGtQn7HPul/FkXtKqefBqR4EthXyAhMjjylytNInLMhAm8tmfjF1JaffADuWkP3NVyD7xsOnLTWO9H9OWTCl0q1jOA/wV74a7vLSFVs/w8cfINAwOMUJJMc= Received: by 10.78.47.15 with SMTP id u15mr807068huu.1170418296259; Fri, 02 Feb 2007 04:11:36 -0800 (PST) Received: by 10.78.155.11 with HTTP; Fri, 2 Feb 2007 04:11:36 -0800 (PST) Message-ID: Date: Fri, 2 Feb 2007 12:11:36 +0000 From: "James Strachan" To: users@activemq.apache.org Subject: Re: durable subscriptions In-Reply-To: <5BD9FA70F5EDAC43AB816A5FDE30F6AC038ABCD9@xmb-sjc-21a.amer.cisco.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <5BD9FA70F5EDAC43AB816A5FDE30F6AC038ABCD9@xmb-sjc-21a.amer.cisco.com> X-Virus-Checked: Checked by ClamAV on apache.org On 2/2/07, Suchitha Koneru (sukoneru) wrote: > Hello activemq users , > In my project we'll be using durable subscriptions. Is > there any example or code sample which explains the usage of durable > subscriptions using active mq ? There's no real difference with durable subscriptions other than you use a different method call in JMS http://java.sun.com/j2ee/1.4/docs/api/javax/jms/Session.html#createDurableSubscriber(javax.jms.Topic,%20java.lang.String) see the javadoc comments for more details -- James ------- http://radio.weblogs.com/0112098/