+ All Categories
Home > Documents > Integration in der Cloud mit Camel, Karaf und Cellar · Integration mit Camel Apache Camel is...

Integration in der Cloud mit Camel, Karaf und Cellar · Integration mit Camel Apache Camel is...

Date post: 04-Jun-2020
Category:
Upload: others
View: 10 times
Download: 0 times
Share this document with a friend
32
Achim Nierbeck | inovex Integration in der Cloud mit Camel, Karaf und Cellar
Transcript
Page 1: Integration in der Cloud mit Camel, Karaf und Cellar · Integration mit Camel Apache Camel is messaging technology glue with routing. It joins together messaging start and end points

Achim Nierbeck | inovex

Integration in der Cloud mit Camel, Karaf und Cellar

Page 2: Integration in der Cloud mit Camel, Karaf und Cellar · Integration mit Camel Apache Camel is messaging technology glue with routing. It joins together messaging start and end points

Agenda

• Vorstellung

• Cloud? Integration? Cluster?• Protagonisten - Eine Vorstellung• Integration + Cloud• Demo

• ... don't Panic!

Page 3: Integration in der Cloud mit Camel, Karaf und Cellar · Integration mit Camel Apache Camel is messaging technology glue with routing. It joins together messaging start and end points

Vorstellung

• Achim Nierbeck

• inovex GmbH– Pforzheim, Karlsruhe, München Köln

• @anierbeck

• open source – Apache Karaf PMC

– Apache Kalumet PMC– OPS4j Pax Web Project Lead

Page 4: Integration in der Cloud mit Camel, Karaf und Cellar · Integration mit Camel Apache Camel is messaging technology glue with routing. It joins together messaging start and end points

Integration? Cluster? Cloud?

Situation

• wie kommen die Daten an ihr Ziel

• woher kommen die Daten

• welche Daten

Image: © Nevit Dilmen found at Wikimedia commons

Page 5: Integration in der Cloud mit Camel, Karaf und Cellar · Integration mit Camel Apache Camel is messaging technology glue with routing. It joins together messaging start and end points

Integration ?

Page 6: Integration in der Cloud mit Camel, Karaf und Cellar · Integration mit Camel Apache Camel is messaging technology glue with routing. It joins together messaging start and end points

Integration mit Camel

Apache Camel is messaging technology glue with routing. It joins together messaging start and end points allowing the transference of messages from different sources to different destinations. For example:

JMS->JSONHTTP->JMS

or funneling

FTP->JMS, HTTP->JMSJMS=>JSON

Quelle: Universal Business Adapter (IBM)

http://stackoverflow.com/questions/8845186/what-exactly-is-apache-camel

Page 7: Integration in der Cloud mit Camel, Karaf und Cellar · Integration mit Camel Apache Camel is messaging technology glue with routing. It joins together messaging start and end points

EAI - Enterprise Application Integration

• Gregor Hohpe und Bobby Woolfe

• Martin Fowler: „the missing piece“ zu Patterns of Enterprise Application Architecture

Page 8: Integration in der Cloud mit Camel, Karaf und Cellar · Integration mit Camel Apache Camel is messaging technology glue with routing. It joins together messaging start and end points

Die Protagonisten

• Apache Camel– Eines der am weitesten verbreiteten EAI

Frameworks

• Apache Karaf– Leichtgewichtiger OSGi Container– perfekte Laufzeitumgebung für Camel

• Apache Karaf-Cellar– Karaf Cluster Lösung --> Cloud Lösung

Page 9: Integration in der Cloud mit Camel, Karaf und Cellar · Integration mit Camel Apache Camel is messaging technology glue with routing. It joins together messaging start and end points

Camel Architektur

Page 10: Integration in der Cloud mit Camel, Karaf und Cellar · Integration mit Camel Apache Camel is messaging technology glue with routing. It joins together messaging start and end points

Message Routing

Page 11: Integration in der Cloud mit Camel, Karaf und Cellar · Integration mit Camel Apache Camel is messaging technology glue with routing. It joins together messaging start and end points

Apache Karaf

Page 12: Integration in der Cloud mit Camel, Karaf und Cellar · Integration mit Camel Apache Camel is messaging technology glue with routing. It joins together messaging start and end points

Karaf - Overview

Page 13: Integration in der Cloud mit Camel, Karaf und Cellar · Integration mit Camel Apache Camel is messaging technology glue with routing. It joins together messaging start and end points

Apache Karaf - Cellar

Page 14: Integration in der Cloud mit Camel, Karaf und Cellar · Integration mit Camel Apache Camel is messaging technology glue with routing. It joins together messaging start and end points

Karaf Cellar – Node Kommunikation

Page 15: Integration in der Cloud mit Camel, Karaf und Cellar · Integration mit Camel Apache Camel is messaging technology glue with routing. It joins together messaging start and end points

Karaf Cellar - Überblick

Page 16: Integration in der Cloud mit Camel, Karaf und Cellar · Integration mit Camel Apache Camel is messaging technology glue with routing. It joins together messaging start and end points

Karaf Cellar - Farming

Maven Repo

Node 1

Whitelist: - xxx- yyyBlacklist: - zzz

Node 2

Whitelist: - xxx- zzzBlacklist: - yyy

Page 17: Integration in der Cloud mit Camel, Karaf und Cellar · Integration mit Camel Apache Camel is messaging technology glue with routing. It joins together messaging start and end points

Karaf Cellar - Farming

Maven RepoFeature

install

xxx

Node 1

Whitelist: - xxx- yyyBlacklist: - zzz

Node 2

Whitelist: - xxx- zzzBlacklist: - yyy

Page 18: Integration in der Cloud mit Camel, Karaf und Cellar · Integration mit Camel Apache Camel is messaging technology glue with routing. It joins together messaging start and end points

Karaf Cellar - Farming

Maven Repo

Re

plicate

Node 1

Whitelist: - xxx- yyyBlacklist: - zzz

Node 2

Whitelist: - xxx- zzzBlacklist: - yyy

Page 19: Integration in der Cloud mit Camel, Karaf und Cellar · Integration mit Camel Apache Camel is messaging technology glue with routing. It joins together messaging start and end points

Karaf Cellar - Farming

Maven Repo

Feature

install

xxx

Node 1

Whitelist: - xxx- yyyBlacklist: - zzz

Node 2

Whitelist: - xxx- zzzBlacklist: - yyy

Page 20: Integration in der Cloud mit Camel, Karaf und Cellar · Integration mit Camel Apache Camel is messaging technology glue with routing. It joins together messaging start and end points

Karaf Cellar - Farming

Maven Repo

Feature

install

zzz

Node 1

Whitelist: - xxx- yyyBlacklist: - zzz

Node 2

Whitelist: - xxx- zzzBlacklist: - yyy

Page 21: Integration in der Cloud mit Camel, Karaf und Cellar · Integration mit Camel Apache Camel is messaging technology glue with routing. It joins together messaging start and end points

Karaf Cellar - Farming

Maven Repo

Node 1

Whitelist: - xxx- yyyBlacklist: - zzz

Node 2

Whitelist: - xxx- zzzBlacklist: - yyy

Re

plicate

Page 22: Integration in der Cloud mit Camel, Karaf und Cellar · Integration mit Camel Apache Camel is messaging technology glue with routing. It joins together messaging start and end points

Karaf Cellar - Farming

Maven Repo

Node 1

Whitelist: - xxx- yyyBlacklist: - zzz

Node 2

Whitelist: - xxx- zzzBlacklist: - yyy

Page 23: Integration in der Cloud mit Camel, Karaf und Cellar · Integration mit Camel Apache Camel is messaging technology glue with routing. It joins together messaging start and end points

Integration in der Cloud

Apache Karaf-Cellar

Apache Karaf

Apache Camel

Page 24: Integration in der Cloud mit Camel, Karaf und Cellar · Integration mit Camel Apache Camel is messaging technology glue with routing. It joins together messaging start and end points

Cloud Integration

© twitter.com

Privat Node

Data

S3

EC-Node 1

EC-Node 3

EC-Node 2

HDFS

EIP:

Page 25: Integration in der Cloud mit Camel, Karaf und Cellar · Integration mit Camel Apache Camel is messaging technology glue with routing. It joins together messaging start and end points

Cloud Integration

© twitter.com

Privat Node

Data

S3

EC-Node 1

EC-Node 3

EC-Node 2

HDFS

EIP:to(s3://bucket/object)

Page 26: Integration in der Cloud mit Camel, Karaf und Cellar · Integration mit Camel Apache Camel is messaging technology glue with routing. It joins together messaging start and end points

Cloud Integration

© twitter.com

Privat Node

Data

S3

EC-Node 1

EC-Node 3

EC-Node 2

HDFS

EIP:

to(cxf:endpoint)

Page 27: Integration in der Cloud mit Camel, Karaf und Cellar · Integration mit Camel Apache Camel is messaging technology glue with routing. It joins together messaging start and end points

Cloud Integration

© twitter.com

Privat Node

Data

S3

EC-Node 1

EC-Node 3

EC-Node 2

HDFS

EIP:

from(cxf:endpoint).to(jms:queue)

Page 28: Integration in der Cloud mit Camel, Karaf und Cellar · Integration mit Camel Apache Camel is messaging technology glue with routing. It joins together messaging start and end points

Cloud Integration

© twitter.com

Privat Node

Data

S3

EC-Node 1

EC-Node 3

EC-Node 2

HDFS

EIP:

from(twitter://xxx).bean(filterBean).to(hdfs://storage)

Page 29: Integration in der Cloud mit Camel, Karaf und Cellar · Integration mit Camel Apache Camel is messaging technology glue with routing. It joins together messaging start and end points

Cloud Integration

© twitter.com

Privat Node

Data

S3

EC-Node 1

EC-Node 3

EC-Node 2

HDFS

EIP:

from(jms).convertTo(String.class).to(hazelcast:seda:queue)

Page 30: Integration in der Cloud mit Camel, Karaf und Cellar · Integration mit Camel Apache Camel is messaging technology glue with routing. It joins together messaging start and end points

Cloud Integration

© twitter.com

Privat Node

Data

S3

EC-Node 1

EC-Node 3

EC-Node 2

HDFS

EIP:from(hazelcast:seda:queue).to(hdfs:storage)

Page 31: Integration in der Cloud mit Camel, Karaf und Cellar · Integration mit Camel Apache Camel is messaging technology glue with routing. It joins together messaging start and end points

DEMO

Privat Node

S3

EC-Node 2EIP:

EC-Node 1

from(file).to(cxf)

from(cxf).to(hazelcast: seda: queue)

from(seda:x).to(blobstore)

Browse

Page 32: Integration in der Cloud mit Camel, Karaf und Cellar · Integration mit Camel Apache Camel is messaging technology glue with routing. It joins together messaging start and end points

... don't Panic

• Bring dein Handtuch mit

• http://camel.apache.org

• http://karaf.apache.org

• http://karaf.apache.org/index/subprojects/cellar.html

• Showcase: https://github.com/inovex/camel-cloud-integartion-jax2013/

• Fragen immer jederzeit auf den Mailinglisten

• … am Inovex Stand


Recommended