Return-Path: Delivered-To: apmail-geronimo-activemq-dev-archive@www.apache.org Received: (qmail 2348 invoked from network); 29 Jun 2006 12:43:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 Jun 2006 12:43:29 -0000 Received: (qmail 93296 invoked by uid 500); 29 Jun 2006 12:43:28 -0000 Delivered-To: apmail-geronimo-activemq-dev-archive@geronimo.apache.org Received: (qmail 93247 invoked by uid 500); 29 Jun 2006 12:43:28 -0000 Mailing-List: contact activemq-dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-dev@geronimo.apache.org Delivered-To: mailing list activemq-dev@geronimo.apache.org Received: (qmail 93227 invoked by uid 99); 29 Jun 2006 12:43:28 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Jun 2006 05:43:28 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of james.strachan@gmail.com designates 66.249.92.169 as permitted sender) Received: from [66.249.92.169] (HELO ug-out-1314.google.com) (66.249.92.169) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Jun 2006 05:43:27 -0700 Received: by ug-out-1314.google.com with SMTP id m3so318776uge for ; Thu, 29 Jun 2006 05:43:06 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=bl2yhPrbaB3jxfrZzJ2YJoBOu4FQjMZL4LQ6g19+nGG++ahv+dyPbQgAXUfKrol4Z3eWSN2zvFR2AMtDxRcwCUCJqhP1F5Iwha5qLfwNiJUYt6iLdgZNjiYs0BGNBVnP6tlLBZuF/88kPItCnb4m49qJ8qE8UOlc1FP1z75aIbE= Received: by 10.66.243.2 with SMTP id q2mr1869482ugh; Thu, 29 Jun 2006 05:43:05 -0700 (PDT) Received: by 10.66.224.1 with HTTP; Thu, 29 Jun 2006 05:43:04 -0700 (PDT) Message-ID: Date: Thu, 29 Jun 2006 13:43:04 +0100 From: "James Strachan" To: activemq-dev@geronimo.apache.org Subject: Re: [activemq-user] How to achive Persistence for CMS In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N BTW the codehaus lists are no longer used. If you use a queue rather than a topic then messages wait around until a receiver comes back again. I you are using a topic then messages are only dispatched from the point of the subscription. However you can use persistent subscriptions (and persistent message delivery) to ensure that messages published while your consumer was down will be delivered when your subscriber starts again. It looks like CMS could do with a new method createDurableSubscriber(Topic topic, String subscriberName) to create durable topic subscriptions. I've reaised a JIRA for this http://issues.apache.org/activemq/browse/AMQ-779 BTW we might wanna make the CMS API polymorphic like JMS 1.1 is - adding createConsumer/createProducer methods to Session - I created a JIRA for that too... http://issues.apache.org/activemq/browse/AMQ-778 On 6/29/06, Arshad Ahamad wrote: > Hi all, > > I am working cms(ActiveMQ-4.0) code on SuSe(Linux machine-> > i686-suse-linux, version 2.6.13-15.8-default) , I am able to create the > sender and receive code and these are working fine. But the thing is that I > am not able the mentain the persistence in these code. I means whenever > receiver is down and sender is sending the data and once the receiver will > start this will not receive any data but I wants this so please help on this > issue How I can get this data. > > Thanks in advance > > > Regards > Arashad Ahamad > > --------------------------------------------------------------------- > To unsubscribe from this list please visit: > > http://xircles.codehaus.org/manage_email > > -- James ------- http://radio.weblogs.com/0112098/