Integration in der Cloud mit Camel, Karaf und Cellar · Integration mit Camel Apache Camel is...
Transcript of Integration in der Cloud mit Camel, Karaf und Cellar · Integration mit Camel Apache Camel is...
![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](https://reader035.fdocuments.net/reader035/viewer/2022062311/5f020d3c7e708231d40255f4/html5/thumbnails/1.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022062311/5f020d3c7e708231d40255f4/html5/thumbnails/2.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022062311/5f020d3c7e708231d40255f4/html5/thumbnails/3.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022062311/5f020d3c7e708231d40255f4/html5/thumbnails/4.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022062311/5f020d3c7e708231d40255f4/html5/thumbnails/5.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022062311/5f020d3c7e708231d40255f4/html5/thumbnails/6.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022062311/5f020d3c7e708231d40255f4/html5/thumbnails/7.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022062311/5f020d3c7e708231d40255f4/html5/thumbnails/8.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022062311/5f020d3c7e708231d40255f4/html5/thumbnails/9.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022062311/5f020d3c7e708231d40255f4/html5/thumbnails/10.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022062311/5f020d3c7e708231d40255f4/html5/thumbnails/11.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022062311/5f020d3c7e708231d40255f4/html5/thumbnails/12.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022062311/5f020d3c7e708231d40255f4/html5/thumbnails/13.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022062311/5f020d3c7e708231d40255f4/html5/thumbnails/14.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022062311/5f020d3c7e708231d40255f4/html5/thumbnails/15.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022062311/5f020d3c7e708231d40255f4/html5/thumbnails/16.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022062311/5f020d3c7e708231d40255f4/html5/thumbnails/17.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022062311/5f020d3c7e708231d40255f4/html5/thumbnails/18.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022062311/5f020d3c7e708231d40255f4/html5/thumbnails/19.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022062311/5f020d3c7e708231d40255f4/html5/thumbnails/20.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022062311/5f020d3c7e708231d40255f4/html5/thumbnails/21.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022062311/5f020d3c7e708231d40255f4/html5/thumbnails/22.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022062311/5f020d3c7e708231d40255f4/html5/thumbnails/23.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022062311/5f020d3c7e708231d40255f4/html5/thumbnails/24.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022062311/5f020d3c7e708231d40255f4/html5/thumbnails/25.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022062311/5f020d3c7e708231d40255f4/html5/thumbnails/26.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022062311/5f020d3c7e708231d40255f4/html5/thumbnails/27.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022062311/5f020d3c7e708231d40255f4/html5/thumbnails/28.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022062311/5f020d3c7e708231d40255f4/html5/thumbnails/29.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022062311/5f020d3c7e708231d40255f4/html5/thumbnails/30.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022062311/5f020d3c7e708231d40255f4/html5/thumbnails/31.jpg)
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](https://reader035.fdocuments.net/reader035/viewer/2022062311/5f020d3c7e708231d40255f4/html5/thumbnails/32.jpg)
... 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