2015-10-25 07:11:34 +01:00
|
|
|
---
|
|
|
|
layout: pattern
|
|
|
|
title: Publish Subscribe
|
|
|
|
folder: publish-subscribe
|
|
|
|
permalink: /patterns/publish-subscribe/
|
|
|
|
categories: Integration
|
2015-11-21 16:34:59 +02:00
|
|
|
tags:
|
|
|
|
- Java
|
|
|
|
- EIP
|
2016-01-25 21:14:24 +00:00
|
|
|
- Apache Camel™
|
2015-10-25 07:11:34 +01:00
|
|
|
---
|
|
|
|
|
2016-01-25 21:14:24 +00:00
|
|
|
## Intent
|
|
|
|
Broadcast messages from sender to all the interested receivers.
|
2015-10-25 07:11:34 +01:00
|
|
|
|
|
|
|

|
|
|
|
|
2016-01-25 21:14:24 +00:00
|
|
|
## Applicability
|
|
|
|
Use the Publish Subscribe Channel pattern when
|
2015-10-25 07:11:34 +01:00
|
|
|
|
2016-01-31 13:58:00 +00:00
|
|
|
* two or more applications need to communicate using a messaging system for broadcasts.
|
|
|
|
=======
|
2016-01-27 12:55:59 +05:30
|
|
|
* two or more applications need to communicate using a messaging system for broadcasts.
|
|
|
|
|
|
|
|
##Credits
|
|
|
|
* [J2EE Design Patterns](http://www.amazon.com/J2EE-Design-Patterns-William-Crawford/dp/0596004273/ref=sr_1_2)
|