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

CompositeQueue - A third pattern to complement forwardOnly binary property

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.15.13
    • 5.16.1, 5.17.0
    • None
    • 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

            jbonofre Jean-Baptiste Onofré
            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