activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hiram Chirino <hi...@hiramchirino.com>
Subject Re: watch topic advisories turned off by default
Date Wed, 22 May 2013 21:21:13 GMT
The problem is what to do when the message is sent async.

If the TCK test suite does not validate it, we should change the
default to be as proposed.

On Wed, May 22, 2013 at 3:48 PM, Christian Posta
<christian.posta@gmail.com> wrote:
> Here's the wording from the spec:
>
> InvalidDestinationException: This exception must be thrown when a
> destination is either not understood by a provider or is no longer valid.
>
> Looks like we give back the InvalidDestinationException from the client
> code, but we give back a DestinationDoesNotExistException from within the
> broker when trying to use and not valid.
>
> Could just send back an InvalidDestinationException from the broker too?
>
>
> On Wed, May 22, 2013 at 12:02 PM, Timothy Bish <tabish121@gmail.com> wrote:
>
>> On 05/22/2013 03:00 PM, Christian Posta wrote:
>>
>>> All,
>>>
>>> I've noticed this before, and just ran into the problem myself.
>>> Subscribing to advisories for temp topics by default seems a little
>>> overkill...
>>>
>>> This can be enabled for those clients using temp destinations and want to
>>> save a sync trip to the broker if the dest is not available.... but for
>>> most connections, why should we take the cost of hearing about those when
>>> we don't need them?
>>>
>>> I propose changing the default for jms.watchTopicAdvisories=false with
>>> changes to the docs explaining you should enable it if you're using temp
>>> dests... would this cause too much trouble for existing users?
>>>
>>> Thanks,
>>> Christian
>>>
>>>  First thought is that it might cause the client to violate JMS specs
>> surrounding when it should throw InvalidDestinationExceptions but I could
>> be wrong.
>>
>> --
>> Tim Bish
>> Sr Software Engineer | RedHat Inc.
>> tim.bish@redhat.com | www.fusesource.com | www.redhat.com
>> skype: tabish121 | twitter: @tabish121
>> blog: http://timbish.blogspot.com/
>>
>> www.camelone.org : The open source integration conference:
>>
>>
>
>
> --
> *Christian Posta*
> http://www.christianposta.com/blog
> twitter: @christianposta



-- 
Hiram Chirino

Engineering | Red Hat, Inc.

hchirino@redhat.com | fusesource.com | redhat.com

skype: hiramchirino | twitter: @hiramchirino

blog: Hiram Chirino's Bit Mojo

Mime
View raw message