Book Image

Enterprise Integration with WSO2 ESB

By : Prabath Siriwardena
Book Image

Enterprise Integration with WSO2 ESB

By: Prabath Siriwardena

Overview of this book

<p>The Enterprise Service Bus (ESB) serves as a key component in most of the enterprise grade deployments. In most cases, the ESB removes point-to-point dependencies in your system to build a highly-scalable, loosely-coupled solution. ESB is a key ingredient to build an SOA infrastructure, but it's not a must. Even with an ESB, if industry best practices and patterns are not followed, users will end up in a mess. This book will teach you the essentials to get started with WSO2 ESB and solve the most commonly-faced integration problems.</p> <p>The book starts by explaining the need for an ESB and the problems it solves. It will cover the most widely-used enterprise integration patterns, including Content Based Router, Dynamic Router, Splitter, Aggregator, Scatter &amp; Gather, Publish &amp; Subscribe, Detour, Service Chaining, Content Enricher and Message Broker. Learn how WSO2 ESB can bring third-party business messaging systems such as SAP, FIX, and HL7 into the SOA world, as well as how to integrate the Twitter connector into your business messaging flow.</p>
Table of Contents (14 chapters)
Enterprise Integration with WSO2 ESB
Credits
About the Author
Acknowledgement
About the Reviewers
www.PacktPub.com
Preface
Index

Publish and Subscribe (Simple)


The Publish & Subscribe EIP explains how to handle a scenario where one needs to publish events to all the interested parties without maintaining any hard coupling between them.

Getting ready

The following image extracted from the Enterprise Integration Patterns book by Gregor Hohpe illustrates an address changed message being sent to a set of subscribers who have subscribed to receive address changed messages:

If you are a frequent air traveller, you must be definitely worried about getting updates about your flight status. There are many channels that you can subscribe to. It can be over SMS, E-mail or even you can have an Apple or Android app on your mobile phone. Also, you can see electronic flight status boards hanging at the airport itself.

All these flight status updates are generated from a single source and broadcast to all the interested parties. If you are interested in getting updates, you can subscribe to the channel you want. Also you should...