GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Table of Contents
  • Preface
  • Introduction
  • Solving Integration Problems using Patterns
  • Integration Styles
  • File Transfer
  • Shared Database
  • Remote Procedure Invocation
  • Messaging
  • Messaging Systems
  • Message Channel
  • Message
  • Pipes and Filters
  • Message Router

This view

  • Original page
  • New address

GeezerVison is showing www.enterpriseintegrationpatterns.com — Message Router - Enterprise Integration Patterns

Enterprise Integration Patterns
Messaging Patterns
HOME PATTERNS RAMBLINGS ARTICLES TALKS DOWNLOAD BOOKS CONTACT
Messaging Patterns
    • Table of Contents
    • Preface
    • Introduction
    • Solving Integration Problems using Patterns
  • Integration Styles
    • File Transfer
    • Shared Database
    • Remote Procedure Invocation
    • Messaging
  • Messaging Systems
    • Message Channel
    • Message
    • Pipes and Filters
    • Message Router
    • Message Translator
    • Message Endpoint
  • Messaging Channels
    • Point-to-Point Channel
    • Publish-Subscribe Channel
    • Datatype Channel
    • Invalid Message Channel
    • Dead Letter Channel
    • Guaranteed Delivery
    • Channel Adapter
    • Messaging Bridge
    • Message Bus
  • Message Construction
    • Command Message
    • Document Message
    • Event Message
    • Request-Reply
    • Return Address
    • Correlation Identifier
    • Message Sequence
    • Message Expiration
    • Format Indicator
  • Interlude: Simple Messaging
    • JMS Request/Reply Example
    • .NET Request/Reply Example
    • JMS Publish/Subscribe Example
  • Message Routing
    • Content-Based Router
    • Message Filter
    • Dynamic Router
    • Recipient List
    • Splitter
    • Aggregator
    • Resequencer
    • Composed Msg. Processor
    • Scatter-Gather
    • Routing Slip
    • Process Manager
    • Message Broker
  • Message Transformation
    • Envelope Wrapper
    • Content Enricher
    • Content Filter
    • Claim Check
    • Normalizer
    • Canonical Data Model
  • Interlude: Composed Messaging
    • Synchronous (Web Services)
    • Asynchronous (MSMQ)
    • Asynchronous (TIBCO)
  • Messaging Endpoints
    • Messaging Gateway
    • Messaging Mapper
    • Transactional Client
    • Polling Consumer
    • Event-Driven Consumer
    • Competing Consumers
    • Message Dispatcher
    • Selective Consumer
    • Durable Subscriber
    • Idempotent Receiver
    • Service Activator
  • System Management
    • Control Bus
    • Detour
    • Wire Tap
    • Message History
    • Message Store
    • Smart Proxy
    • Test Message
    • Channel Purger
  • Interlude: Systems Management Example
    • Instrumenting Loan Broker
  • Integration Patterns in Practice
    • Case Study: Bond Trading System
  • Concluding Remarks
    • Emerging Standards
  • Appendices
    • Bibliography
    • Revision History
Message RouterMessage RouterMessaging Patterns » Messaging Systems
Contents⇐ PrevNext ⇒

Multiple processing steps in a Pipes and Filters chain are connected by Message Channels.

How can you decouple individual processing steps so that messages can be passed to different filters depending on a set of conditions?

Insert a special filter, a Message Router, which consumes a Message from one Message Channel and republishes it to a different Message Channel channel depending on a set of conditions.

The Message Router differs from the most basic notion of Pipes and Filters in that it connects to multiple output channels. Thanks to the Pipes and Filters architecture the components surrounding the Message Router are completely unaware of the existence of a Message Router. A key property of the Message Router is that it does not modify the message contents. It only concerns itself with the destination of the message.

The key benefit of using a Message Router is that the decision criteria for the destination of a message are maintained in a single location. If new message types are defined, new processing components are added, or the routing rules change, we need to change only the Message Router logic and all other components remain unaffected. Also, since all messages pass through a single Message Router, incoming messages are guaranteed to be processed one-by-one in the correct order.

... Read the entire pattern in the book Enterprise Integration Patterns

Related patterns:

Channel Adapter, Content-Based Router, Control Bus, Datatype Channel, Dynamic Router, Message Filter, Message, Message Channel, Message History, Introduction to Message Routing, Message Translator, Pipes and Filters, Publish-Subscribe Channel, Transactional Client


Integration Pattern Language

Message Construct.
Message
Command Message
Document Message
Event Message
Request-Reply
Return Address
Correlation Identifier
Message Sequence
Message Expiration
Format Indicator
Message Routing
Pipes-and-Filters
Message Router
Content-based Router
Message Filter
Dynamic Router
Recipient List
Splitter
Aggregator
Resequencer
Composed Msg. Processor
Scatter-Gather
Routing Slip
Process Manager
Message Broker
Message
Transformation
Message Translator
Envelope Wrapper
Content Enricher
Content Filter
Claim Check
Normalizer
Canonical Data Model
Messaging Endpoints
Message Endpoint
Messaging Gateway
Messaging Mapper
Transactional Client
Polling Consumer
Event-driven Consumer
Competing Consumers
Message Dispatcher
Selective Consumer
Durable Subscriber
Idempotent Receiver
Service Activator
Messaging Channels
Message Channel
Point-to-Point Channel
Publish-Subscr. Channel
Datatype Channel
Invalid Message Channel
Dead Letter Channel
Guaranteed Delivery
Channel Adapter
Messaging Bridge
Message Bus
Systems Mgmt.
Control Bus
Detour
Wire Tap
Message History
Message Store
Smart Proxy
Test Message
Channel Purger
  • » Read the latest in My Blog
  • » Get more insights from My Articles
  • » See me live in my Upcoming Talks
Creative Commons Attribution License

You can reuse the following elements under the Creative Commons Attribution license: pattern icon, pattern name, problem and solution statements (in bold), and the sketch. Other portions are protected by copyright.

Enterprise Integration Patterns book cover

Enterprise Integration Patterns
The de-facto language for designing asynchronous, distributed systems. Over 100,000 copies sold.

Software Architect Elevator book cover

The Software Architect Elevator
Rethink the role of architects as a connecting element across organizational layers. Acquire the technical, communication, and organizational skills to succeed in this new role.

Cloud Strategy book cover

Cloud Strategy
Make your cloud migration a success by translating high-level goals into conscious decisions with well-understood trade-offs.

Platform Strategy book cover

Platform Strategy
Platforms can boost innovation through harmonization, but they aren't easy to build. Learn from over a decade of designing and rolling out IT platforms.

© 2003, 2023 • Bobby Woolf • All rights reserved.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.