confoo 2014 enterprise integration patterns

40
Enterprise Integration Patterns Demystified!

Upload: hanneli-tavante

Post on 24-Jan-2015

428 views

Category:

Technology


0 download

DESCRIPTION

Confoo 2014 talk about EIPs

TRANSCRIPT

Page 1: Confoo 2014 Enterprise Integration Patterns

Enterprise Integration Patterns

Demystified!

Page 2: Confoo 2014 Enterprise Integration Patterns

Hi!

!

• @hannelita

• Software Developer

• Coffee and Pokémon Addicted

Hanneli

Page 3: Confoo 2014 Enterprise Integration Patterns

What we will see

• How can we integrate 2 or more systems?

• Common problems when integrating systems

• Common solutions to do it (a.k.a. patterns)

• Patterns and best practices

• What patterns do not solve

• Funny gifs and pics

(or not that funny)

Page 4: Confoo 2014 Enterprise Integration Patterns

Disclaimer!

• Is this talk the same as yesterday?

• Why are you always talking about integration?

• Are patterns that important?

Page 5: Confoo 2014 Enterprise Integration Patterns

Software Development

Page 6: Confoo 2014 Enterprise Integration Patterns

1. Number of users increases

2. Number of requested functionalities increases

Systems grow up

Page 7: Confoo 2014 Enterprise Integration Patterns

Systems grow up

Page 8: Confoo 2014 Enterprise Integration Patterns

Integrate systems

Page 9: Confoo 2014 Enterprise Integration Patterns

How can we integrate them?

TXT file integration

Page 10: Confoo 2014 Enterprise Integration Patterns

Is this efficient?

Page 11: Confoo 2014 Enterprise Integration Patterns

How can we integrate them?

ESB

Page 12: Confoo 2014 Enterprise Integration Patterns

How does it work?

Page 13: Confoo 2014 Enterprise Integration Patterns

Patterns

Page 14: Confoo 2014 Enterprise Integration Patterns

WHY SO MANY PATTERNS?

Page 15: Confoo 2014 Enterprise Integration Patterns

WHY SO MANY PATTERNS?

Page 16: Confoo 2014 Enterprise Integration Patterns

WHY SO MANY PATTERNS?

Page 17: Confoo 2014 Enterprise Integration Patterns

EASY TO LEARN, HUH?

Page 18: Confoo 2014 Enterprise Integration Patterns

Pattern - definition for developers

A solution (or workaround) that many people are using and solves a problem pretty well in some

circumstances.

Page 19: Confoo 2014 Enterprise Integration Patterns

Integration Pattern

A solution (or workaround) that many people are using to make two or more systems communicate

properly in some circumstances.

Page 20: Confoo 2014 Enterprise Integration Patterns

Useful tip

There are tools that implement the patterns for you.

It’s easier to understand the patterns with these tools.

Page 21: Confoo 2014 Enterprise Integration Patterns

Useful tip

Page 22: Confoo 2014 Enterprise Integration Patterns

Questions

1. How and when use Camel Integration Patterns?

2. How can I read and understand this… thing?

Page 23: Confoo 2014 Enterprise Integration Patterns

Start from the beginning

A simple cookbook

Page 24: Confoo 2014 Enterprise Integration Patterns

Message

Transfer Unit for information (data)

Page 25: Confoo 2014 Enterprise Integration Patterns

Message Channel

Transfer PathPlace to write and read

messages

Page 26: Confoo 2014 Enterprise Integration Patterns

Hmm

Where does a message come from?

Where should I deliver this message?

Messages need a sender and a receiver

Page 27: Confoo 2014 Enterprise Integration Patterns

Message Endpoint

Specifies the sender and the receiver of a message

Page 28: Confoo 2014 Enterprise Integration Patterns

Messaging (bus)

Many apps connected to the channel

Page 29: Confoo 2014 Enterprise Integration Patterns

Wait!

Too much messages!

We might need to filter them!

Page 30: Confoo 2014 Enterprise Integration Patterns

Message Router

Filter Zip Code

Page 31: Confoo 2014 Enterprise Integration Patterns

Another problem

Portuguese French

Oi, Tudo bem?

???????

Page 32: Confoo 2014 Enterprise Integration Patterns

Message Translator

Translator

Page 33: Confoo 2014 Enterprise Integration Patterns

So…

Page 34: Confoo 2014 Enterprise Integration Patterns

We can read this!!

Page 35: Confoo 2014 Enterprise Integration Patterns

Next steps

There are other patterns

http://camel.apache.org/enterprise-integration-patterns.html

Page 36: Confoo 2014 Enterprise Integration Patterns

Next stepsOther patterns are stricter related to

the concepts we saw.

Page 37: Confoo 2014 Enterprise Integration Patterns

Content Based Router

Filter

Page 38: Confoo 2014 Enterprise Integration Patterns

Publish Subscribe Channel

Channel

Page 39: Confoo 2014 Enterprise Integration Patterns

It is not that difficult!

Page 40: Confoo 2014 Enterprise Integration Patterns

Questions?

[email protected]!Twitter: @hannelita

THANK YOU!