Enterprise Integration Patterns

2,276 views

Published on

Slides from my talk about Enterprise Integration Patterns for Kiev JUG, Fall 2013.

Enterprise Integration Patterns

  1. 1. Enterprise  Integra-on  Pa0erns   Speaker:  Oleg  Tsal-­‐Tsalko  (@tsaltsol)  
  2. 2. The  Bible     of     Enterprise  Integra-on  Pa0erns  
  3. 3. Integra-on  styles  
  4. 4. Simplest  case   Main  building  blocks:   •  Endpoint   •  Channel   •  Message  
  5. 5. Message  types  
  6. 6. Message  a0ributes   Correla-on  id:   Return  address:   Expira-on  -me:  
  7. 7. Main  message  exchange  styles  
  8. 8. Messaging  endpoints  
  9. 9. Messaging  Endpoints   Compe-ng  consumers:   Service  ac-vator:  
  10. 10. Message  router  
  11. 11. Pipes  and  Filters  
  12. 12. Spli0er  /  Aggregator  
  13. 13. Simple  Message  Transformers  
  14. 14. Compound  message  transformers  
  15. 15. System  management    
  16. 16. Flow  intercep-ng  
  17. 17. Test  message  
  18. 18. Messaging  it  not  just  JMS   Other  popular  protocols:   •  AMQP  (Advanced  Message  Queuing   Protocol)   •  STOMP  (Simple  (or  Streaming)  Text   Oriented  Message  Protocol)     …  
  19. 19. AMQP      
  20. 20. STOMP   Simple  protocol  for  asynchronous  message  passing   Originally  created  for  scrip-ng  languages  (Python,  Ruby)   Supported  by  message  brokers   Suited  for  use  on  the  Web  (used  iover  WebSocket  protocol)   Simple  stream  of  frames  over  TCP   Client-­‐to-­‐Server  commands:   COMMAND   header1:value1   header2:value2     Body^@     SEND   SUBSCRIBE   UNSUBSCRIBE     Server-­‐to-­‐Client  commands:   MESSAGE   ERROR   ACK   NACK  
  21. 21. Enterprise  Message  Brokers  
  22. 22. Frameworks  that  implements  EIPs  
  23. 23. Thank  you!   Oleg  Tsal-­‐Tsalko   Email:  oleg.tsalko@gmail.com   Twi0er:  @tsaltsol        

×