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

Rob Davies commented on AMQ-1509:
---------------------------------

The only 'safe' way to do this is the simple fix suggested by Howard. If we try 
and OR selectors together - we have to deal with the timing around updating  
that selector state - and this could be prone to some difficult to track down 
timing issues.

If you want to shape the traffic across networks, the best way would be to use 
destinations, wilcards and network filters.

> Duplicate topic messages received with network of brokers and selectors
> -----------------------------------------------------------------------
>
>                 Key: AMQ-1509
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1509
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker, Transport
>    Affects Versions: 4.1.1
>            Reporter: Howard Orner
>            Assignee: Rob Davies
>             Fix For: 5.1.0
>
>
> If you create a network of two brokers, A and B, one publisher publishing to 
> A, and n (where n is > 1) receivers with selectors, each receiver recieves n 
> messages for every 1 message sent.  The key here is to have a selector.   It 
> would appear that the conduitSubscriptions flag does not work when using 
> selectors.  The conduit does not properly reconcile consumers if they have 
> selectors.  A suggested soltuion would be that ather than process each 
> selector independantly, each selector should be or'ed together and if any 
> selector results in true then a single message should be sent to the other 
> broker.
> In doing research, it would appear that this problem was introduced with bug 
> fix AMQ-810.  Another user reported it via email back to the assignee of 
> AMQ-810 and a short dialog transpired.  See 
> http://www.mail-archive.com/[EMAIL PROTECTED]/msg05198.html.  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to