Top Banner
Pablo Machado [email protected] Mensageria
22

Message Oriented Architecture

Jul 29, 2015

Download

Technology

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Message Oriented Architecture

Pablo Machado [email protected]

Mensageria

Page 2: Message Oriented Architecture

JMS

API da linguagem Java para middleware orientado à mensagens. Através da API JMS duas ou mais aplicações podem se comunicar por mensagens.

Page 3: Message Oriented Architecture

JMS With Spring

Page 4: Message Oriented Architecture

JMS With Spring

https://github.com/bsnyder/spring-jms-examples

Page 5: Message Oriented Architecture

Brokers

http://predic8.com/activemq-hornetq-rabbitmq-apollo-qpid-comparison.htm

Page 6: Message Oriented Architecture

ActiveMQ

➔ Java, C, C++, C#, Ruby, Perl, Python, PHP

➔ Persistent, Transactional and Reliable

➔ Spring Support

➔ Designed for high performance clustering

➔ REST API

Page 7: Message Oriented Architecture

Load Balancing (workers)

Page 8: Message Oriented Architecture

Queue x Topic

Page 9: Message Oriented Architecture

Queue

Page 10: Message Oriented Architecture

Arquitetura SEDA

Stage A Fila A

Fila C

Fila B Stage C

Stage D

Stage B

Staged Event-Driven Architecture

Page 11: Message Oriented Architecture

Batch Provessing X Online Processing

Page 12: Message Oriented Architecture

Enterprise Integration

Page 13: Message Oriented Architecture

Enterprise Integration Patterns

Lista de Padrõeshttp://www.enterpriseintegrationpatterns.com/toc.html

Talkhttps://www.youtube.com/watch?v=Xwi1DU6KoQ4

Page 14: Message Oriented Architecture

Enterprise Integration Patterns

Page 15: Message Oriented Architecture

Enterprise Integration Patterns

Page 16: Message Oriented Architecture

Camel

Concise Application Messaging Exchange Language

“Apache Camel is a versatile open-source integration framework based on known Enterprise Integration Patterns.”

Page 17: Message Oriented Architecture

Camel

Page 18: Message Oriented Architecture

Camel

Page 19: Message Oriented Architecture

Monitor

JMX -> Jolokia -> REST -> Angular

Page 20: Message Oriented Architecture

Monitoramento

Page 21: Message Oriented Architecture

Monitoramento

Page 22: Message Oriented Architecture

Spring Boot (+ Actuator)

http://start.spring.io/