Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
WSO2 Developers' Guide

You're reading from   WSO2 Developers' Guide SOA and data services with WSO2 Enterprise Integrator

Arrow left icon
Product type Paperback
Published in Sep 2017
Publisher Packt
ISBN-13 9781787288317
Length 368 pages
Edition 1st Edition
Languages
Concepts
Arrow right icon
Authors (2):
Arrow left icon
 Garrido Garrido
Author Profile Icon Garrido
Garrido
 Prieto Estrada Prieto Estrada
Author Profile Icon Prieto Estrada
Prieto Estrada
Arrow right icon
View More author details
Toc

Table of Contents (20) Chapters Close

Title Page
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface
1. Getting Started with SOA and WSO2 FREE CHAPTER 2. Developing Integration Projects with WSO2EI Tooling 3. Building Web Services 4. Building Data Services 5. Transforming the Content of the Payload 6. Conditional Route 7. Quality of Service 8. Tasks Scheduling 9. WSO2 Enterprise Integration Logging 10. WSO2 Enterprise Integration Testing 11. Integrating with VFS 12. Integrating with JMS - WSO2 EI Message Brokering 13. Introduction to Ballerina

Dead Letter Channel


Dead Letter Channel pattern is a must when working with queues and integration, and when you need to guarantee a message's delivery. In this pattern, when a message delivery fails, normally after several retries, it is moved from its queue to a special queue for an ad hoc treatment later.

You can find out more about this pattern by visiting: http://www.enterpriseintegrationpatterns.com/patterns/messaging/DeadLetterChannel.html, where we can see the following explanation diagram:

The Dead Letter Channel where the message finally ends is typically another queue that receives special treatment from administrators because all messages in this queue mean an error in the system.

WSO2 EI Message Broker implements this pattern out of the box, so we just need to set a number of retries, which, by default, is set to 10. We can modify it by following these steps:

  1. Edit the $EI_HOME/wso2/broker/conf/broker.xml file.
  2. Locate the maximumRedeliveryAttempts XML tag and set the desired attempts...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at £13.99/month. Cancel anytime
Visually different images