[ 
https://issues.apache.org/jira/browse/AMQ-8028?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Murali Mogalayapalli updated AMQ-8028:
--------------------------------------
    Fix Version/s: 5.16.1
                   5.17.0

> 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
>            Priority: Major
>             Fix For: 5.17.0, 5.16.1
>
>          Time Spent: 10m
>  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)

Reply via email to