O'Reilly logo

Enterprise Integration Patterns: Designing, Building, and Deploying Messaging Solutions by Bobby Woolf, Gregor Hohpe

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6. Interlude: Simple Messaging

Introduction

So far, we’ve introduced a lot of patterns. We’ve seen the basic messaging components, such as Message Channel (60), Message (66), and Message Endpoint (95). We’ve also seen detailed patterns for messaging channels and for message construction. So, how do all of these patterns fit together? How does a developer integrate applications using these patterns? What does the code look like, and how does it work?

This is the chapter where we really get to see the code. We have two examples:

Request-Reply—Demonstrates (in Java and .NET/C#) how to use messaging to send a request message and respond with a reply message.

Publish-Subscribe—Explores how to use a JMS Topic to implement the Observer

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required