[ 
https://issues.apache.org/jira/browse/AMQ-4000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13660751#comment-13660751
 ] 

Dejan Bosanac commented on AMQ-4000:
------------------------------------

Pushed another commit 1483827. It keeps track of durable subs in demand 
suscription and unregister local durable when there's no remote durable subs 
any more. The DurableSubInBrokerNetworkTest now passes but there is more work 
in this area. We need to make sure we have a proper state after broker restart 
and work well with mix of non-durable and durable subs on the same topic.
                
> Durable subscription not getting unregistered on networked broker
> -----------------------------------------------------------------
>
>                 Key: AMQ-4000
>                 URL: https://issues.apache.org/jira/browse/AMQ-4000
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.6.0
>         Environment: network of brokers, durable topic subscriptions.
>            Reporter: Torsten Mielke
>            Assignee: Christian Posta
>              Labels: durable_subscription, networks
>         Attachments: JUnitTest.patch
>
>
> In a network of two brokers, a durable subscription is correctly propagated 
> across to the remote broker. However when the consumer unsubscribes from the 
> durable subscription again, it is only removed on the local broker but not on 
> the remote broker. The remote broker keeps its durable subscription alive.
> As a consequence messages sent to the topic destination on the remote broker 
> for which the durable subscriptions existed, are passed on to the local 
> broker, although there is no active subscription on the local broker. The 
> local broker will discard these msgs but unnecessary traffic has already 
> occurred on the network bridge.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to