2015-08-22 19:43:21 +03:00
|
|
|
---
|
|
|
|
layout: pattern
|
2018-04-12 15:24:57 +03:00
|
|
|
title: EIP Message Channel
|
|
|
|
folder: eip-message-channel
|
|
|
|
permalink: /patterns/eip-message-channel/
|
2015-08-22 19:43:21 +03:00
|
|
|
categories: Integration
|
2021-05-19 10:49:05 -06:00
|
|
|
language: en
|
2017-03-25 22:07:10 +01:00
|
|
|
tags:
|
2019-12-13 21:09:28 +02:00
|
|
|
- Enterprise Integration Pattern
|
2015-08-22 19:43:21 +03:00
|
|
|
---
|
|
|
|
|
2016-01-03 21:14:30 +01:00
|
|
|
## Intent
|
|
|
|
When two applications communicate using a messaging system they do it by using logical addresses
|
2015-08-22 19:43:21 +03:00
|
|
|
of the system, so called Message Channels.
|
|
|
|
|
2019-12-07 20:01:13 +02:00
|
|
|
## Class diagram
|
2015-08-22 19:43:21 +03:00
|
|
|

|
|
|
|
|
2016-01-03 21:14:30 +01:00
|
|
|
## Applicability
|
|
|
|
Use the Message Channel pattern when
|
2015-08-22 19:43:21 +03:00
|
|
|
|
|
|
|
* two or more applications need to communicate using a messaging system
|
2015-09-02 21:51:14 +03:00
|
|
|
|
2016-01-03 21:14:30 +01:00
|
|
|
## Real world examples
|
2015-09-02 21:51:14 +03:00
|
|
|
|
2017-03-25 22:07:10 +01:00
|
|
|
* [akka-camel](http://doc.akka.io/docs/akka/snapshot/scala/camel.html)
|
2020-07-07 21:23:04 +03:00
|
|
|
* [Enterprise Integration Patterns: Designing, Building, and Deploying Messaging Solutions](https://www.amazon.com/gp/product/0321200683/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=0321200683&linkCode=as2&tag=javadesignpat-20&linkId=122e0cff74eedd004cc81a3ecfa623cf)
|