Murali Mogalayapalli created AMQ-8028:
-----------------------------------------
Summary: CompositeDestinationFilter forwardonly
Key: AMQ-8028
URL: https://issues.apache.org/jira/browse/AMQ-8028
Project: ActiveMQ
Issue Type: Improvement
Reporter: Murali Mogalayapalli
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}
// code placeholder
<destinationInterceptors>
<virtualDestinationInterceptor>
<virtualDestinations>
<compositeQueue name="A.FOO" forwardOnlyWhenNoMatch="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
ForwardOnlyWhenNoMatch - true - Sends a copy of the message to the virtual
destination only when message can't be sent to any destination because of the
filters - Forward only is ignored.
ForwardOnlyWhenNoMatch - false - Falls back on the ForwardOnly setting.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)