IBM

Using Pub/Sub for EAI

If anyone has been around MB as long as I have we can remember the Event Broker which was the pub/sub engine. I’ve been hard-pressed to ever use it for EAI – there have been some specific use-cases but they usually involved large number of clients who were able to self-register. I guess that’s what the biggest roadblock was that most enterprise apps gave us an end-point/data format to write to vs. the ability to register themselves in a pub/sub broker.

IBM / Red Hat - Unlock Potential App Modernization
Unlock Your Potential with Application Modernization

Application modernization is a growing area of focus for enterprises. If you’re considering this path to cloud adoption, this guide explores considerations for the best approach – cloud native or legacy migration – and more.

Get the Guide

Fast forward to the latest iterations of Message Broker/MQ we no longer have an event broker and the pub-sub engine has been ‘pushed’ into MQ itself.  We also have a combined MQ/MB admin explorer that allows us to register topics and manage subscriptions giving us all the tools we need to use pub/sub for EAI.

Pub/Sub within MB

Pub/Sub within MB

In the above design we can easily add/change endpoints without affecting publishers.  In fact the publishers are truly decoupled from the end-point systems and even end-point system changes do not have an impact on other subscribers.  Throw in an enterprise canonical model and voila you have an enterprise architecture that allows for isolated changes and reduced QA cycles.

For those of us who have been using WebSphere Message Broker since the ‘MQSI’ days I recommend you rethink your flow design and incorporate pub/sub in your interfaces.

About the Author

Solutions Director with 10+ years focused on IBM based large enterprise SOA solutions.

More from this Author

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Subscribe to the Weekly Blog Digest:

Sign Up