Return-Path: Delivered-To: apmail-geronimo-activemq-users-archive@www.apache.org Received: (qmail 64995 invoked from network); 30 Aug 2006 18:51:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 30 Aug 2006 18:51:35 -0000 Received: (qmail 94837 invoked by uid 500); 30 Aug 2006 18:51:28 -0000 Delivered-To: apmail-geronimo-activemq-users-archive@geronimo.apache.org Received: (qmail 94763 invoked by uid 500); 30 Aug 2006 18:51:28 -0000 Mailing-List: contact activemq-users-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-users@geronimo.apache.org Delivered-To: mailing list activemq-users@geronimo.apache.org Received: (qmail 94726 invoked by uid 99); 30 Aug 2006 18:51:27 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Aug 2006 11:51:27 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [209.212.73.69] (HELO sapporo.wssource.com) (209.212.73.69) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Aug 2006 11:51:26 -0700 Received: from [192.168.0.88] (unknown [192.168.1.3]) by sapporo.wssource.com (Postfix) with ESMTP id 46BA38B8F; Wed, 30 Aug 2006 14:50:54 -0400 (EDT) Message-ID: <44F5DC76.1020303@wssource.com> Date: Wed, 30 Aug 2006 14:44:06 -0400 From: Sandeep Chayapathi User-Agent: Thunderbird 1.5.0.5 (X11/20060719) MIME-Version: 1.0 To: activemq-dev@geronimo.apache.org, ActiveMQ Users Subject: Re: Stomp & durable topics - implementation References: <44F49F75.6020601@wssource.com> <76D0F6AB-E3C4-4265-9A65-66648D97D973@apache.org> In-Reply-To: <76D0F6AB-E3C4-4265-9A65-66648D97D973@apache.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, Thanks. I took a look @ the java code and I the problem seems to be a simple typo (either in the doc or in the code :)). The stomp documentation refers the custom header, for durable subscription, as "activemq.subscriptionName". In the java space, these headers are parsed by class IntrospectionSupport (package org.apache.activemq.util), via class ConsumerInfo (package org.apache.activemq.command). The ConsumerInfo refers to the same header as: "subcriptionName". By setting the "activemq.subcriptionName" header in the SUBSCRIBE frame, Im able to create durable subscription. Otherwise the documentation (http://incubator.apache.org/activemq/stomp.html) on the stomp custom header is correct. - Sandeep Brian McCallister wrote: > Hmm, I can look into this but won't have a good opportunity to until > after September 9 (a week and half from now). If you dig into the > stomp transport stuff, it shouldn't be terribly difficult to put in, > but... that is a guesstimate. > > If it hasn't been done by Sept 9 I can dig through, but cannot promise > to before then :-( > > -Brian > > On Aug 29, 2006, at 1:11 PM, Sandeep Chayapathi wrote: > >> apologies for cross posting this. I think this is a bug and hence Im >> posting the same in the dev mailing list: >> >> Hi all, >> This is regarding my last query >> (http://www.nabble.com/forum/ViewPost.jtp?post=6040430&framed=y >> ). I was >> grokking the source code, vis-a-vis Stomp and durable topic, looks like >> the documentation regarding the custom headers, is not in sync with the >> source code, i.e nohwere in the source code could I find a reference to >> the following custom headers: activemq.subscriptionName and >> subscriberName. >> >> Any idea on how much effort is required to implement these ? I might be >> wrong, it would help if anyone can point me in the right direction. >> Thanks. >> >> - Sandeep >