You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by Sandeep Chayapathi <sa...@wssource.com> on 2006/08/29 22:11:33 UTC
Stomp & durable topics - implementation
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
<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
Re: Stomp & durable topics - implementation
Posted by Sandeep Chayapathi <sa...@wssource.com>.
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
>> <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
>
Re: Stomp & durable topics - implementation
Posted by Sandeep Chayapathi <sa...@wssource.com>.
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
>> <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
>
Re: Stomp & durable topics - implementation
Posted by Brian McCallister <br...@apache.org>.
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
> <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