You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Jean-Baptiste Onofré (Jira)" <ji...@apache.org> on 2020/11/21 13:23:00 UTC
[jira] [Resolved] (AMQ-8028) CompositeQueue - A third pattern to
complement forwardOnly binary property
[ https://issues.apache.org/jira/browse/AMQ-8028?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Baptiste Onofré resolved AMQ-8028.
---------------------------------------
Resolution: Fixed
> CompositeQueue - A third pattern to complement forwardOnly binary property
> --------------------------------------------------------------------------
>
> Key: AMQ-8028
> URL: https://issues.apache.org/jira/browse/AMQ-8028
> Project: ActiveMQ
> Issue Type: Improvement
> Affects Versions: 5.15.13
> Reporter: Murali Mogalayapalli
> Assignee: Jean-Baptiste Onofré
> Priority: Major
> Fix For: 5.17.0, 5.16.1
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> CompositeDestinationFilter forwardonly logic variation with a new setting
> Need - Forward the message to the virtual queue if the message can't be forwarded to any of the physical destinations in the list.
> {code:java}
> <destinationInterceptors>
> <virtualDestinationInterceptor>
> <virtualDestinations>
> <compositeQueue name="A.FOO" sendWhenNoMatch="true">
> <forwardTo>
> <filteredDestination selector="client-id LIKE 'first%'" queue="C1.A.FOO"/>
> </forwardTo>
> </compositeQueue>
> </virtualDestinations>
> </virtualDestinationInterceptor>
> </destinationInterceptors>
> {code}
> ForwardOnly - false - Sends a copy of the message to the Virtual destination
> ForwardOnly - true - Does not a copy of the message to the virtual destination
> SendWhenNoMatch- true - Sends a copy of the message to the composite destination only when message can't be sent to any destination because of the filters - Forward only is ignored.
> SendWhenNoMatch- false ( default ) - Falls back on the ForwardOnly setting.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)