Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Overview

The Dead Letter Channel (DLC) is a sub-set of a queue

...

, specifically designed to persist messages

...

that are typically marked for deletion, providing

...

you with a choice on whether to delete, retrieve or reroute the messages from the DLC.

...

A DLC queue is created when the first subscription is made for a specific domain (superuser or tenant). By default, the message broker retries a defined number of times

...

, when a subscriber does not

...

acknowledge a message.

...

 Once the retry count has been breached

...

, the message is removed from the queue

...

and placed into the DLC.

...

  The default number of retries is set to 10, however, this value is configurable.

...

For information on how to configure the retry count, see Configuring the Message Retry Count

...

. 

Functionality Narration

 

Info

External publishers/subscribers are not permitted to publish/subscribe to the DLC queue.

Browsing through the

...

DLC Queue

All

...

messages that

...

have breached the retry count will be dumped into the DLC queue

...

. The content of the queue

...

can be viewed

...

by following the steps below:

  1. On the main tab in the management console click, Dead Letter Channel - > Browse

...

Image Removed

...

  1. .
  2. The DLC browser

...

  1. is displayed in the right side of the pane, as shown below

...

Image Removed

  

...

  1. . The message count defines the number of messages in the DLC queue

...



  1. Image Added
  2. Click  Browse  under the View column to navigate to each individual message stored in the DLC

...

3. The ‘browse’ link would result listing the queue contents as shown in the following,

...

 

...

The browser would display each message in the DLC along with its message content details

...

  1. . The Destination column shows the name of the

...

The user could select one or more messages and perform the operations listed on the top right side corner.

...

  1. original queue.

    You can choose to delete, restore or reroute one or more messages.

...

 

Operations in DLC

Delete

...


  1. Delete - Permanently delete the message from

...

  1. MB.

    Restore

...

  1. - Re-insert the message

...

  1. to the queue

...

  1. from which the message

...

  1. originated

...

  1. .

Reroute

...

  1. ReRoute - Allows you to select a destination of choice

...

  1. instead of

...

  1. restoring the message to the

...

  1. original queue. When you click ReRoute, a pop-up menu appears, as shown below

...

Once the user selects the queue name he/she desires the message to be re routed to and click on ‘ok’ the message will be placed at the relevant queue.

Functional Aspects

Constraints

  • Publishing and subscribing to DLC queue would not be permitted for external publishers or subscribers.

  • DLC queue would be created upon the first subscription made for a specific domain. (superuser or tenant)

  • The messages would be inserted into the DLC queue when the subscribers do not respond positively and when the retry message count is breached. By default the message retry count would be 10.  This is configurable. Which could be found under the section "Message Retry Count Policy"

  1. :

    Image Added
    Select the queue name to which the message should be re-routed to and click OK. The message is moved to the relevant queue.

Multitenancy

In order to ensure that

...

messages

...

can be distinguishable per tenant,

...

a

...

separate DLC

...

is created for every new tenant created. The signature of the DLC queue

...

is similar to the

...

example below:

{tenant_name}/DeadLetterChannel

The above would ensure This ensures that only the messages exchanged through the queues in a specific tenant domain would be are inserted into the DLC queue. 

Configuring the Message Retry Count

...

The message retry count could can be configured by following the steps mentioned below,  1) Locate as follows:

  1. Open the andes-config.xml file located

...

  1. in $MB_HOME/repository/conf/advanced.

Image Removed
  

...

  1. Locate the

...

  1. maximumNumberOfMessageDeliveryAttempts attribute and change the value accordingly. For example,

    Code Block
    languagehtml/xml
    <maximumNumberOfMessageDeliveryAttempts>15</maximumNumberOfMessageDeliveryAttempts>