activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <>
Subject [jira] [Commented] (AMQ-5996) Durable subscription no updated when reactivated sub changes noLocal value
Date Thu, 01 Oct 2015 23:25:26 GMT


ASF subversion and git services commented on AMQ-5996:

Commit 81b4b9ae3d17c83c42c17290348e2aed6f17d28b in activemq's branch refs/heads/master from
[;h=81b4b9a ]

When possible check for noLocl changes on durable subscription
reactivation and recreate the durable sub if it changes.  For both
selector change and noLocal change also update the AbstractSubscription
selectorExpression so it matches with what was requested. 

> Durable subscription no updated when reactivated sub changes noLocal value
> --------------------------------------------------------------------------
>                 Key: AMQ-5996
>                 URL:
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.10.2, 5.11.2, 5.12.0
>            Reporter: Timothy Bish
>            Assignee: Timothy Bish
>             Fix For: 5.12.1, 5.13.0
> When a durable subscription that was offline is reactivated and the selector or noLocal
value is changed the subscription is supposed to be removed and re-added as if it was a new
subscription.  We currently handle the selector part to a certain extent but the DurableSubscription
instance that backs the offline durable sub contains a selectorExpression that is not updated
so subscription will not apply the new selector value unless the broker was restarted before
the reactivation.  
> We don't as of yet handle the change of noLocal on the subscription due to the fact that
prior to v5.12.0 the value was not stored in the persistence layer.  Now that we store the
noLocal value we can check that along with the selector and update the subscription, which
also needs to update the selectorExpression as the noLocal value is filtered via its own expression
on the selector chain.  

This message was sent by Atlassian JIRA

View raw message