You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@activemq.apache.org by GitBox <gi...@apache.org> on 2019/07/18 20:54:21 UTC

[GitHub] [activemq-artemis] PiotrKlimczak edited a comment on issue #2760: ARTEMIS-2420 Adding support for DLA/DLQ prefix for wildcard addresses

PiotrKlimczak edited a comment on issue #2760: ARTEMIS-2420 Adding support for DLA/DLQ prefix for wildcard addresses
URL: https://github.com/apache/activemq-artemis/pull/2760#issuecomment-512983300
 
 
   OK so I am running all tests now so taking this time to write some design documentation of what was implemented how and why.
   
   Let's start with example configuration:
   
            <address-setting match="#">
               <dead-letter-address-auto-create prefix="DLA.">
                  <routing-type>AS_ORIGIN</routing-type>
                  <durable>true</durable>
                  <temporary>false</temporary>
               </dead-letter-address-auto-create>
            </address-setting>
            <address-setting match="DLA.#">
                <!-- DLA config goes here, as for standard addresses -->
            </address-setting>
   
   So how DLAs will behave, can be configured in standard way.
   Also there is new routing type added for DLA addresses only: AS_ORIGIN.
   This new type ensures that if you have multiple queues for address, the message will go to corresponding DLQ only. So if you have address A1 with queues Q1 and Q2, and Q2 consumption fails, the message will go only to DLA.Q2 DLQ and never to DLA.Q1.
   This ensures predictive dead letter outcome if configured, as obviously ANYCAST and MULTICAST (default) are also supported.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services