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

ASF GitHub Bot commented on AMQ-6209:
-------------------------------------

GitHub user pdudits opened a pull request:

    https://github.com/apache/activemq/pull/174

    https://issues.apache.org/jira/browse/AMQ-6209

    SubQueueSelectorCacheBroker should ignore selectors of network 
subscriptions and queue browsers, as these shouldn't permanently extend the 
number of matching messages of a consumer queue.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/pdudits/activemq amq-6209

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/activemq/pull/174.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #174
    
----
commit 4617e0cd891ff57e2bdaf454f7fcdbfab5599fac
Author: Patrik Dudits <[email protected]>
Date:   2016-03-14T09:01:17Z

    https://issues.apache.org/jira/browse/AMQ-6209
    
    SubQueueSelectorCacheBroker should ignore selectors of network 
subscriptions and queue browsers, as these shouldn't permanently extend the 
number of matching
    messages of a consumer queue.

----


> Unmatched messages on consumer queues when using SubQueueCacheSelectorPlugin 
> in network of brosers
> --------------------------------------------------------------------------------------------------
>
>                 Key: AMQ-6209
>                 URL: https://issues.apache.org/jira/browse/AMQ-6209
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.13.2
>            Reporter: Patrik Dudits
>
> When using SubQueueSelectorCachePlugin to preserve consumers' selectors in 
> network of brokers, the queues start matching all messages after consumers 
> failover between brokers.
> The underlying reason is, that {{SubQueueSelectorCacheBroker}} would cache 
> selector {{TRUE}} for connected demand subscription, and therefore will 
> permanently match all messages even if actual consumer reconnects.
> Additionally, browsing the queue will also cause {{TRUE}} selector to be 
> persisted.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to