26 lines
		
	
	
		
			1015 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			1015 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| ---
 | |
| layout: pattern
 | |
| title: EIP Publish Subscribe
 | |
| folder: eip-publish-subscribe
 | |
| permalink: /patterns/eip-publish-subscribe/
 | |
| categories: Integration
 | |
| tags:
 | |
|  - Enterprise Integration Pattern
 | |
| ---
 | |
| 
 | |
| ## Intent
 | |
| Broadcast messages from sender to all the interested receivers.
 | |
| 
 | |
| ## Class diagram
 | |
| 
 | |
| 
 | |
| ## Applicability
 | |
| Use the Publish Subscribe Channel pattern when
 | |
| 
 | |
| * two or more applications need to communicate using a messaging system for broadcasts.
 | |
| 
 | |
| ## Credits
 | |
| 
 | |
| * [J2EE Design Patterns](https://www.amazon.com/gp/product/0596004273/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=0596004273&linkCode=as2&tag=javadesignpat-20&linkId=48d37c67fb3d845b802fa9b619ad8f31)
 | |
| * [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)
 |