[
https://issues.apache.org/jira/browse/AMQ-3630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13192498#comment-13192498
]
Timothy Bish commented on AMQ-3630:
-----------------------------------
Do you have a test case for this? Care to submit a test and a patch for it?
> NetworkBridgeFilterFactory should be assigned to Queue not NetworkBridge
> ------------------------------------------------------------------------
>
> Key: AMQ-3630
> URL: https://issues.apache.org/jira/browse/AMQ-3630
> Project: ActiveMQ
> Issue Type: Bug
> Components: Broker
> Affects Versions: 5.6.0
> Environment: 5.6.0 on the trunk
> Reporter: SuoNayi
> Labels: NetworkBridgeFilterFactory, network
> Fix For: 5.6.0
>
>
> We can assign NetworkBridgeFilterFactory such as
> DefaultNetworkBridgeFilterFactory or conditionalNetworkBridgeFilterFactory
> for queue.But the source code on the trunk,class
> DemandForwardingBridgeSupport in fact, assigns NetworkBridgeFilterFactory to
> NetworkBridge,this causes DefaultNetworkBridgeFilterFactory will be applied
> at first even though specifying conditionalNetworkBridgeFilterFactory for the
> queue.The solution is making property filterFactory of
> DemandForwardingBridgeSupport to be a local variable in the method
> createNetworkBridgeFilter.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira