From users-return-7807-apmail-activemq-users-archive=activemq.apache.org@activemq.apache.org Wed Mar 07 18:40:58 2007 Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 49270 invoked from network); 7 Mar 2007 18:40:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Mar 2007 18:40:58 -0000 Received: (qmail 74565 invoked by uid 500); 7 Mar 2007 18:41:05 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 74549 invoked by uid 500); 7 Mar 2007 18:41:05 -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 74540 invoked by uid 99); 7 Mar 2007 18:41:05 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Mar 2007 10:41:05 -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 sukoneru@cisco.com designates 171.71.176.117 as permitted sender) Received: from [171.71.176.117] (HELO sj-iport-6.cisco.com) (171.71.176.117) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Mar 2007 10:40:50 -0800 Received: from sj-dkim-8.cisco.com ([171.68.10.93]) by sj-iport-6.cisco.com with ESMTP; 07 Mar 2007 10:40:30 -0800 X-IronPort-AV: i="4.14,261,1170662400"; d="scan'208"; a="118915079:sNHT56011707" Received: from sj-core-3.cisco.com (sj-core-3.cisco.com [171.68.223.137]) by sj-dkim-8.cisco.com (8.12.11/8.12.11) with ESMTP id l27IeU6M002344 for ; Wed, 7 Mar 2007 10:40:30 -0800 Received: from xbh-sjc-231.amer.cisco.com (xbh-sjc-231.cisco.com [128.107.191.100]) by sj-core-3.cisco.com (8.12.10/8.12.6) with ESMTP id l27IeEaL022332 for ; Wed, 7 Mar 2007 18:40:30 GMT Received: from xmb-sjc-21a.amer.cisco.com ([171.70.151.152]) by xbh-sjc-231.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 7 Mar 2007 10:40:28 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: [Spam: 5.0] Durable Subscription and Message Expiration Date: Wed, 7 Mar 2007 10:40:27 -0800 Message-ID: <5BD9FA70F5EDAC43AB816A5FDE30F6AC03C56963@xmb-sjc-21a.amer.cisco.com> In-Reply-To: <9356802.post@talk.nabble.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [Spam: 5.0] Durable Subscription and Message Expiration Thread-Index: Acdg1/ajLLWMcS2wRzSNgF6SmRdbtgADnWHQ From: "Suchitha Koneru \(sukoneru\)" To: X-OriginalArrivalTime: 07 Mar 2007 18:40:28.0746 (UTC) FILETIME=[13FE4AA0:01C760E8] DKIM-Signature: v=0.5; a=rsa-sha256; q=dns/txt; l=1960; t=1173292830; x=1174156830; c=relaxed/simple; s=sjdkim8002; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=sukoneru@cisco.com; z=From:=20=22Suchitha=20Koneru=20\(sukoneru\)=22=20 |Subject:=20RE=3A=20[Spam=3A=205.0]=20Durable=20Subscription=20and=20Mess age=20Expiration |Sender:=20; bh=+LGekR5JuzjRe336dGxb4QQzXenBX4yCXLvY+fmsTCY=; b=jAacuHPGSIx6HlGyzFfrDhzCiAm+ts2Bw2sHNqabYVIzyLCuRGYHoDtYbUPRo3RwmG2quZvn ibH3yORU8ZEosV68RMqFQ5aMemzVM3mcoa1bwxKuNc4SSRlhG+9NlddO; Authentication-Results: sj-dkim-8; header.From=sukoneru@cisco.com; dkim=pass ( sig from cisco.com/sjdkim8002 verified; ); X-Virus-Checked: Checked by ClamAV on apache.org What is the delivery mode for the publisher is it non persistent ?=20 -----Original Message----- From: teryz [mailto:teryzplace@gmail.com]=20 Sent: Wednesday, March 07, 2007 8:45 AM To: users@activemq.apache.org Subject: Re: [Spam: 5.0] Durable Subscription and Message Expiration Hello there, Did someone observed the same problem or am i the only one? Help please ! teryz wrote: >=20 > Hello, >=20 > I am using a topic with durable subscriptions. I use=20 > apache-activemq-4.1.0-incubator. >=20 > I want to limit the life of the messages my producers post in this topic. >=20 > It seems to me that >=20 > myProducer.setTimeToLive(10000) >=20 > was the way to do it (here for ten seconds), but after any time=20 > (greater than 10secs) without any consumer reading from the topic,=20 > when launching a consumer i expect it not to find any message in the=20 > topic but it is not the case. >=20 > When browsing the topic with JConsole i found that the JMSExpiration=20 > for those messages is set to a value like 1173107075408 that seems=20 > related with the JMSMessageID XXX-1173107063209-XXX and the=20 > JMSExpiration of the previous message (in this example =3D=20 > 1173107073695) >=20 > I also tried to set time to live in the send method for my producer=20 > with the same result as described above. >=20 > I saw the Jira : https://issues.apache.org/activemq/browse/AMQ-936 but > it is said that the problem is fixed in v4 and it is related with=20 > queues not topic. >=20 > So my question is : is this a bug or is this an expected behaviour for > durable subscription or am i missing something here? >=20 > Thanx for your help guys, > Terry. >=20 >=20 >=20 >=20 >=20 -- View this message in context: http://www.nabble.com/Durable-Subscription-and-Message-Expiration-tf3349 488s2354.html#a9356802 Sent from the ActiveMQ - User mailing list archive at Nabble.com.