Description
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.
<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>
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.