Uploaded image for project: 'ActiveMQ'
  1. ActiveMQ
  2. AMQ-8028

CompositeQueue - A third pattern to complement forwardOnly binary property

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.15.13
    • Fix Version/s: 5.17.0, 5.16.1
    • Component/s: None
    • Labels:
      None

      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.

       

        Attachments

          Activity

            People

            • Assignee:
              jbonofre Jean-Baptiste Onofré
              Reporter:
              thodimi Murali Mogalayapalli
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 20m
                20m