![Page 1: PUBLIC PRESENTATION | CLAUS IBSEN€¦ · 2 PUBLIC PRESENTATION | CLAUS IBSEN Agenda What is Apache Camel? A little Example Riding Camel What's in the Camel box? Deploying Camel Creating](https://reader034.vdocuments.site/reader034/viewer/2022052005/6018fd1680a7b300cb4d2295/html5/thumbnails/1.jpg)
PUBLIC PRESENTATION | CLAUS IBSEN1
![Page 2: PUBLIC PRESENTATION | CLAUS IBSEN€¦ · 2 PUBLIC PRESENTATION | CLAUS IBSEN Agenda What is Apache Camel? A little Example Riding Camel What's in the Camel box? Deploying Camel Creating](https://reader034.vdocuments.site/reader034/viewer/2022052005/6018fd1680a7b300cb4d2295/html5/thumbnails/2.jpg)
PUBLIC PRESENTATION | CLAUS IBSEN2
Agenda
● What is Apache Camel?
● A little Example
● Riding Camel
● What's in the Camel box?
● Deploying Camel
● Creating new Camel Projects
● Q and A
![Page 3: PUBLIC PRESENTATION | CLAUS IBSEN€¦ · 2 PUBLIC PRESENTATION | CLAUS IBSEN Agenda What is Apache Camel? A little Example Riding Camel What's in the Camel box? Deploying Camel Creating](https://reader034.vdocuments.site/reader034/viewer/2022052005/6018fd1680a7b300cb4d2295/html5/thumbnails/3.jpg)
PUBLIC PRESENTATION | CLAUS IBSEN3
Your Speaker
● Principal Software Engineer at Red Hat
● Apache Camel● 5 years working with Camel
● Author of Camel in Action book
● Contact● EMail: [email protected]● Twitter: @davsclaus● Linkedin: davsclaus● Blog: http://davsclaus.com
![Page 4: PUBLIC PRESENTATION | CLAUS IBSEN€¦ · 2 PUBLIC PRESENTATION | CLAUS IBSEN Agenda What is Apache Camel? A little Example Riding Camel What's in the Camel box? Deploying Camel Creating](https://reader034.vdocuments.site/reader034/viewer/2022052005/6018fd1680a7b300cb4d2295/html5/thumbnails/4.jpg)
PUBLIC PRESENTATION | CLAUS IBSEN4
What is Apache Camel?
● Quote from the website
![Page 5: PUBLIC PRESENTATION | CLAUS IBSEN€¦ · 2 PUBLIC PRESENTATION | CLAUS IBSEN Agenda What is Apache Camel? A little Example Riding Camel What's in the Camel box? Deploying Camel Creating](https://reader034.vdocuments.site/reader034/viewer/2022052005/6018fd1680a7b300cb4d2295/html5/thumbnails/5.jpg)
PUBLIC PRESENTATION | CLAUS IBSEN5
What is Apache Camel?
● Why do we need integration?● Critical for your business to integrate
● Why Integration Framework?● Framework do the heavy lifting● You can focus on business problem● Not "reinventing the wheel"
![Page 6: PUBLIC PRESENTATION | CLAUS IBSEN€¦ · 2 PUBLIC PRESENTATION | CLAUS IBSEN Agenda What is Apache Camel? A little Example Riding Camel What's in the Camel box? Deploying Camel Creating](https://reader034.vdocuments.site/reader034/viewer/2022052005/6018fd1680a7b300cb4d2295/html5/thumbnails/6.jpg)
PUBLIC PRESENTATION | CLAUS IBSEN6
What is Apache Camel?
● What is Enterprise Integration Patterns?
It's a book
![Page 7: PUBLIC PRESENTATION | CLAUS IBSEN€¦ · 2 PUBLIC PRESENTATION | CLAUS IBSEN Agenda What is Apache Camel? A little Example Riding Camel What's in the Camel box? Deploying Camel Creating](https://reader034.vdocuments.site/reader034/viewer/2022052005/6018fd1680a7b300cb4d2295/html5/thumbnails/7.jpg)
PUBLIC PRESENTATION | CLAUS IBSEN7
What is Apache Camel?
● Enterprise Integration Patterns
http://camel.apache.org/eip
![Page 8: PUBLIC PRESENTATION | CLAUS IBSEN€¦ · 2 PUBLIC PRESENTATION | CLAUS IBSEN Agenda What is Apache Camel? A little Example Riding Camel What's in the Camel box? Deploying Camel Creating](https://reader034.vdocuments.site/reader034/viewer/2022052005/6018fd1680a7b300cb4d2295/html5/thumbnails/8.jpg)
PUBLIC PRESENTATION | CLAUS IBSEN8
What is Apache Camel?
● EIP - Content Based Router
![Page 9: PUBLIC PRESENTATION | CLAUS IBSEN€¦ · 2 PUBLIC PRESENTATION | CLAUS IBSEN Agenda What is Apache Camel? A little Example Riding Camel What's in the Camel box? Deploying Camel Creating](https://reader034.vdocuments.site/reader034/viewer/2022052005/6018fd1680a7b300cb4d2295/html5/thumbnails/9.jpg)
PUBLIC PRESENTATION | CLAUS IBSEN9
What is Apache Camel?
from newOrder
![Page 10: PUBLIC PRESENTATION | CLAUS IBSEN€¦ · 2 PUBLIC PRESENTATION | CLAUS IBSEN Agenda What is Apache Camel? A little Example Riding Camel What's in the Camel box? Deploying Camel Creating](https://reader034.vdocuments.site/reader034/viewer/2022052005/6018fd1680a7b300cb4d2295/html5/thumbnails/10.jpg)
PUBLIC PRESENTATION | CLAUS IBSEN10
What is Apache Camel?
from newOrder choice
![Page 11: PUBLIC PRESENTATION | CLAUS IBSEN€¦ · 2 PUBLIC PRESENTATION | CLAUS IBSEN Agenda What is Apache Camel? A little Example Riding Camel What's in the Camel box? Deploying Camel Creating](https://reader034.vdocuments.site/reader034/viewer/2022052005/6018fd1680a7b300cb4d2295/html5/thumbnails/11.jpg)
PUBLIC PRESENTATION | CLAUS IBSEN11
What is Apache Camel?
from newOrder choice when isWidget to widget
![Page 12: PUBLIC PRESENTATION | CLAUS IBSEN€¦ · 2 PUBLIC PRESENTATION | CLAUS IBSEN Agenda What is Apache Camel? A little Example Riding Camel What's in the Camel box? Deploying Camel Creating](https://reader034.vdocuments.site/reader034/viewer/2022052005/6018fd1680a7b300cb4d2295/html5/thumbnails/12.jpg)
PUBLIC PRESENTATION | CLAUS IBSEN12
What is Apache Camel?
from newOrder choice when isWidget to widget otherwise to gadget
![Page 13: PUBLIC PRESENTATION | CLAUS IBSEN€¦ · 2 PUBLIC PRESENTATION | CLAUS IBSEN Agenda What is Apache Camel? A little Example Riding Camel What's in the Camel box? Deploying Camel Creating](https://reader034.vdocuments.site/reader034/viewer/2022052005/6018fd1680a7b300cb4d2295/html5/thumbnails/13.jpg)
PUBLIC PRESENTATION | CLAUS IBSEN13
What is Apache Camel?
from(newOrder) choice when(isWidget) to(widget) otherwise to(gadget)
![Page 14: PUBLIC PRESENTATION | CLAUS IBSEN€¦ · 2 PUBLIC PRESENTATION | CLAUS IBSEN Agenda What is Apache Camel? A little Example Riding Camel What's in the Camel box? Deploying Camel Creating](https://reader034.vdocuments.site/reader034/viewer/2022052005/6018fd1680a7b300cb4d2295/html5/thumbnails/14.jpg)
PUBLIC PRESENTATION | CLAUS IBSEN14
What is Apache Camel?
from(newOrder) .choice() .when(isWidget).to(widget) .otherwise().to(gadget);
![Page 15: PUBLIC PRESENTATION | CLAUS IBSEN€¦ · 2 PUBLIC PRESENTATION | CLAUS IBSEN Agenda What is Apache Camel? A little Example Riding Camel What's in the Camel box? Deploying Camel Creating](https://reader034.vdocuments.site/reader034/viewer/2022052005/6018fd1680a7b300cb4d2295/html5/thumbnails/15.jpg)
PUBLIC PRESENTATION | CLAUS IBSEN15
What is Apache Camel?
Endpoint newOrder = endpoint("activemq:queue:newOrder");
from(newOrder) .choice() .when(isWidget).to(widget) .otherwise().to(gadget);
![Page 16: PUBLIC PRESENTATION | CLAUS IBSEN€¦ · 2 PUBLIC PRESENTATION | CLAUS IBSEN Agenda What is Apache Camel? A little Example Riding Camel What's in the Camel box? Deploying Camel Creating](https://reader034.vdocuments.site/reader034/viewer/2022052005/6018fd1680a7b300cb4d2295/html5/thumbnails/16.jpg)
PUBLIC PRESENTATION | CLAUS IBSEN16
What is Apache Camel?
Endpoint newOrder = endpoint("activemq:queue:newOrder");Predicate isWidget = xpath("/order/product = 'widget'");
from(newOrder) .choice() .when(isWidget).to(widget) .otherwise().to(gadget);
![Page 17: PUBLIC PRESENTATION | CLAUS IBSEN€¦ · 2 PUBLIC PRESENTATION | CLAUS IBSEN Agenda What is Apache Camel? A little Example Riding Camel What's in the Camel box? Deploying Camel Creating](https://reader034.vdocuments.site/reader034/viewer/2022052005/6018fd1680a7b300cb4d2295/html5/thumbnails/17.jpg)
PUBLIC PRESENTATION | CLAUS IBSEN17
What is Apache Camel?
Endpoint newOrder = endpoint("activemq:queue:newOrder");Predicate isWidget = xpath("/order/product = 'widget'");Endpoint widget = endpoint("activemq:queue:widget");Endpoint gadget = endpoint("activemq:queue:gadget");
from(newOrder) .choice() .when(isWidget).to(widget) .otherwise().to(gadget);
![Page 18: PUBLIC PRESENTATION | CLAUS IBSEN€¦ · 2 PUBLIC PRESENTATION | CLAUS IBSEN Agenda What is Apache Camel? A little Example Riding Camel What's in the Camel box? Deploying Camel Creating](https://reader034.vdocuments.site/reader034/viewer/2022052005/6018fd1680a7b300cb4d2295/html5/thumbnails/18.jpg)
PUBLIC PRESENTATION | CLAUS IBSEN18
What is Apache Camel?
● Java Code
public void configure() throws Exception { Endpoint newOrder = endpoint("activemq:queue:newOrder"); Predicate isWidget = xpath("/order/product = 'widget'"); Endpoint widget = endpoint("activemq:queue:widget"); Endpoint gadget = endpoint("activemq:queue:gadget");
from(newOrder) .choice() .when(isWidget).to(widget) .otherwise().to(gadget) .end(); }
![Page 19: PUBLIC PRESENTATION | CLAUS IBSEN€¦ · 2 PUBLIC PRESENTATION | CLAUS IBSEN Agenda What is Apache Camel? A little Example Riding Camel What's in the Camel box? Deploying Camel Creating](https://reader034.vdocuments.site/reader034/viewer/2022052005/6018fd1680a7b300cb4d2295/html5/thumbnails/19.jpg)
PUBLIC PRESENTATION | CLAUS IBSEN19
What is Apache Camel?
● Java Codeimport org.apache.camel.Endpoint;import org.apache.camel.Predicate;import org.apache.camel.builder.RouteBuilder;
public class MyRoute extends RouteBuilder {
public void configure() throws Exception { Endpoint newOrder = endpoint("activemq:queue:newOrder"); Predicate isWidget = xpath("/order/product = 'widget'"); Endpoint widget = endpoint("activemq:queue:widget"); Endpoint gadget = endpoint("activemq:queue:gadget");
from(newOrder) .choice() .when(isWidget).to(widget) .otherwise().to(gadget) .end(); }}
![Page 20: PUBLIC PRESENTATION | CLAUS IBSEN€¦ · 2 PUBLIC PRESENTATION | CLAUS IBSEN Agenda What is Apache Camel? A little Example Riding Camel What's in the Camel box? Deploying Camel Creating](https://reader034.vdocuments.site/reader034/viewer/2022052005/6018fd1680a7b300cb4d2295/html5/thumbnails/20.jpg)
PUBLIC PRESENTATION | CLAUS IBSEN20
What is Apache Camel?
● Camel Java DSL
import org.apache.camel.builder.RouteBuilder;
public class MyRoute extends RouteBuilder {
public void configure() throws Exception { from("activemq:queue:newOrder") .choice() .when(xpath("/order/product = 'widget'")) .to("activemq:queue:widget") .otherwise() .to("activemq:queue:gadget") .end(); }}
![Page 21: PUBLIC PRESENTATION | CLAUS IBSEN€¦ · 2 PUBLIC PRESENTATION | CLAUS IBSEN Agenda What is Apache Camel? A little Example Riding Camel What's in the Camel box? Deploying Camel Creating](https://reader034.vdocuments.site/reader034/viewer/2022052005/6018fd1680a7b300cb4d2295/html5/thumbnails/21.jpg)
PUBLIC PRESENTATION | CLAUS IBSEN21
What is Apache Camel?
● Camel XML DSL
<route> <from uri="activemq:queue:newOrder"/> <choice> <when> <xpath>/order/product = 'widget'</xpath> <to uri="activemq:queue:widget"/> </when> <otherwise> <to uri="activemq:queue:gadget"/> </otherwise> </choice> </route>
![Page 22: PUBLIC PRESENTATION | CLAUS IBSEN€¦ · 2 PUBLIC PRESENTATION | CLAUS IBSEN Agenda What is Apache Camel? A little Example Riding Camel What's in the Camel box? Deploying Camel Creating](https://reader034.vdocuments.site/reader034/viewer/2022052005/6018fd1680a7b300cb4d2295/html5/thumbnails/22.jpg)
PUBLIC PRESENTATION | CLAUS IBSEN22
What is Apache Camel?
● Endpoint as URIs
<route> <from uri="file:inbox/orders"/> <choice> <when> <xpath>/order/product = 'widget'</xpath> <to uri="activemq:queue:widget"/> </when> <otherwise> <to uri="activemq:queue:gadget"/> </otherwise> </choice> </route>
use file instead
![Page 23: PUBLIC PRESENTATION | CLAUS IBSEN€¦ · 2 PUBLIC PRESENTATION | CLAUS IBSEN Agenda What is Apache Camel? A little Example Riding Camel What's in the Camel box? Deploying Camel Creating](https://reader034.vdocuments.site/reader034/viewer/2022052005/6018fd1680a7b300cb4d2295/html5/thumbnails/23.jpg)
PUBLIC PRESENTATION | CLAUS IBSEN23
What is Apache Camel?
● Endpoint as URIs
<route> <from uri="file:inbox/orders?delete=true"/> <choice> <when> <xpath>/order/product = 'widget'</xpath> <to uri="activemq:queue:widget"/> </when> <otherwise> <to uri="activemq:queue:gadget"/> </otherwise> </choice> </route>
parameters
![Page 24: PUBLIC PRESENTATION | CLAUS IBSEN€¦ · 2 PUBLIC PRESENTATION | CLAUS IBSEN Agenda What is Apache Camel? A little Example Riding Camel What's in the Camel box? Deploying Camel Creating](https://reader034.vdocuments.site/reader034/viewer/2022052005/6018fd1680a7b300cb4d2295/html5/thumbnails/24.jpg)
PUBLIC PRESENTATION | CLAUS IBSEN24
What is Apache Camel?
● Camel's Architecture
![Page 25: PUBLIC PRESENTATION | CLAUS IBSEN€¦ · 2 PUBLIC PRESENTATION | CLAUS IBSEN Agenda What is Apache Camel? A little Example Riding Camel What's in the Camel box? Deploying Camel Creating](https://reader034.vdocuments.site/reader034/viewer/2022052005/6018fd1680a7b300cb4d2295/html5/thumbnails/25.jpg)
PUBLIC PRESENTATION | CLAUS IBSEN25
What is Apache Camel?
120+ Components
![Page 26: PUBLIC PRESENTATION | CLAUS IBSEN€¦ · 2 PUBLIC PRESENTATION | CLAUS IBSEN Agenda What is Apache Camel? A little Example Riding Camel What's in the Camel box? Deploying Camel Creating](https://reader034.vdocuments.site/reader034/viewer/2022052005/6018fd1680a7b300cb4d2295/html5/thumbnails/26.jpg)
PUBLIC PRESENTATION | CLAUS IBSEN26
What is Apache Camel?
120+ Components
![Page 27: PUBLIC PRESENTATION | CLAUS IBSEN€¦ · 2 PUBLIC PRESENTATION | CLAUS IBSEN Agenda What is Apache Camel? A little Example Riding Camel What's in the Camel box? Deploying Camel Creating](https://reader034.vdocuments.site/reader034/viewer/2022052005/6018fd1680a7b300cb4d2295/html5/thumbnails/27.jpg)
PUBLIC PRESENTATION | CLAUS IBSEN27
What is Apache Camel?
● Summary● Integration Framework● Enterprise Integration Patterns (EIP)● Routing (using DSL)● Easy Configuration (endpoint as uri's)● Payload Agnostic● No Container Dependency● A lot of components
![Page 28: PUBLIC PRESENTATION | CLAUS IBSEN€¦ · 2 PUBLIC PRESENTATION | CLAUS IBSEN Agenda What is Apache Camel? A little Example Riding Camel What's in the Camel box? Deploying Camel Creating](https://reader034.vdocuments.site/reader034/viewer/2022052005/6018fd1680a7b300cb4d2295/html5/thumbnails/28.jpg)
PUBLIC PRESENTATION | CLAUS IBSEN28
Agenda
● What is Apache Camel?
● A little Example
● Riding Camel
● What's in the Camel box?
● Deploying Camel
● Creating new Camel Projects
● Extending Camel
● Q and A
![Page 29: PUBLIC PRESENTATION | CLAUS IBSEN€¦ · 2 PUBLIC PRESENTATION | CLAUS IBSEN Agenda What is Apache Camel? A little Example Riding Camel What's in the Camel box? Deploying Camel Creating](https://reader034.vdocuments.site/reader034/viewer/2022052005/6018fd1680a7b300cb4d2295/html5/thumbnails/29.jpg)
PUBLIC PRESENTATION | CLAUS IBSEN29
A Little Example
● File Copier Example
![Page 30: PUBLIC PRESENTATION | CLAUS IBSEN€¦ · 2 PUBLIC PRESENTATION | CLAUS IBSEN Agenda What is Apache Camel? A little Example Riding Camel What's in the Camel box? Deploying Camel Creating](https://reader034.vdocuments.site/reader034/viewer/2022052005/6018fd1680a7b300cb4d2295/html5/thumbnails/30.jpg)
PUBLIC PRESENTATION | CLAUS IBSEN30
A Little Example
● File Copier Example
![Page 31: PUBLIC PRESENTATION | CLAUS IBSEN€¦ · 2 PUBLIC PRESENTATION | CLAUS IBSEN Agenda What is Apache Camel? A little Example Riding Camel What's in the Camel box? Deploying Camel Creating](https://reader034.vdocuments.site/reader034/viewer/2022052005/6018fd1680a7b300cb4d2295/html5/thumbnails/31.jpg)
PUBLIC PRESENTATION | CLAUS IBSEN31
A Little Example
● File Copier Example
![Page 32: PUBLIC PRESENTATION | CLAUS IBSEN€¦ · 2 PUBLIC PRESENTATION | CLAUS IBSEN Agenda What is Apache Camel? A little Example Riding Camel What's in the Camel box? Deploying Camel Creating](https://reader034.vdocuments.site/reader034/viewer/2022052005/6018fd1680a7b300cb4d2295/html5/thumbnails/32.jpg)
PUBLIC PRESENTATION | CLAUS IBSEN32
A Little Example
● File Copier Example
![Page 33: PUBLIC PRESENTATION | CLAUS IBSEN€¦ · 2 PUBLIC PRESENTATION | CLAUS IBSEN Agenda What is Apache Camel? A little Example Riding Camel What's in the Camel box? Deploying Camel Creating](https://reader034.vdocuments.site/reader034/viewer/2022052005/6018fd1680a7b300cb4d2295/html5/thumbnails/33.jpg)
PUBLIC PRESENTATION | CLAUS IBSEN33
A Little Example
● File Copier Example
![Page 34: PUBLIC PRESENTATION | CLAUS IBSEN€¦ · 2 PUBLIC PRESENTATION | CLAUS IBSEN Agenda What is Apache Camel? A little Example Riding Camel What's in the Camel box? Deploying Camel Creating](https://reader034.vdocuments.site/reader034/viewer/2022052005/6018fd1680a7b300cb4d2295/html5/thumbnails/34.jpg)
PUBLIC PRESENTATION | CLAUS IBSEN34
Agenda
● What is Apache Camel?
● A little Example
● Riding Camel
● What's in the Camel box?
● Deploying Camel
● Creating new Camel Projects
● Q and A
![Page 35: PUBLIC PRESENTATION | CLAUS IBSEN€¦ · 2 PUBLIC PRESENTATION | CLAUS IBSEN Agenda What is Apache Camel? A little Example Riding Camel What's in the Camel box? Deploying Camel Creating](https://reader034.vdocuments.site/reader034/viewer/2022052005/6018fd1680a7b300cb4d2295/html5/thumbnails/35.jpg)
PUBLIC PRESENTATION | CLAUS IBSEN35
Riding Camel
● Downloading Apache Camel● zip/tarball (approx 14mb)
http://camel.apache.org
![Page 36: PUBLIC PRESENTATION | CLAUS IBSEN€¦ · 2 PUBLIC PRESENTATION | CLAUS IBSEN Agenda What is Apache Camel? A little Example Riding Camel What's in the Camel box? Deploying Camel Creating](https://reader034.vdocuments.site/reader034/viewer/2022052005/6018fd1680a7b300cb4d2295/html5/thumbnails/36.jpg)
PUBLIC PRESENTATION | CLAUS IBSEN36
Riding Camel
● Using Command Shell● Requires: Apache Maven
● From Eclipse
![Page 37: PUBLIC PRESENTATION | CLAUS IBSEN€¦ · 2 PUBLIC PRESENTATION | CLAUS IBSEN Agenda What is Apache Camel? A little Example Riding Camel What's in the Camel box? Deploying Camel Creating](https://reader034.vdocuments.site/reader034/viewer/2022052005/6018fd1680a7b300cb4d2295/html5/thumbnails/37.jpg)
PUBLIC PRESENTATION | CLAUS IBSEN37
Riding Camel
● Console Example
● cd examples/camel-example-console
● mvn compile exec:java
![Page 38: PUBLIC PRESENTATION | CLAUS IBSEN€¦ · 2 PUBLIC PRESENTATION | CLAUS IBSEN Agenda What is Apache Camel? A little Example Riding Camel What's in the Camel box? Deploying Camel Creating](https://reader034.vdocuments.site/reader034/viewer/2022052005/6018fd1680a7b300cb4d2295/html5/thumbnails/38.jpg)
PUBLIC PRESENTATION | CLAUS IBSEN38
Riding Camel
● More examples ...
... and further details at website.
http://camel.apache.org/examples
![Page 39: PUBLIC PRESENTATION | CLAUS IBSEN€¦ · 2 PUBLIC PRESENTATION | CLAUS IBSEN Agenda What is Apache Camel? A little Example Riding Camel What's in the Camel box? Deploying Camel Creating](https://reader034.vdocuments.site/reader034/viewer/2022052005/6018fd1680a7b300cb4d2295/html5/thumbnails/39.jpg)
PUBLIC PRESENTATION | CLAUS IBSEN39
Agenda
● What is Apache Camel?
● A little Example
● Riding Camel
● What's in the box?
● Deploying Camel
● Creating new Camel Projects
● Q and A
![Page 40: PUBLIC PRESENTATION | CLAUS IBSEN€¦ · 2 PUBLIC PRESENTATION | CLAUS IBSEN Agenda What is Apache Camel? A little Example Riding Camel What's in the Camel box? Deploying Camel Creating](https://reader034.vdocuments.site/reader034/viewer/2022052005/6018fd1680a7b300cb4d2295/html5/thumbnails/40.jpg)
PUBLIC PRESENTATION | CLAUS IBSEN40
What's in the box?
![Page 41: PUBLIC PRESENTATION | CLAUS IBSEN€¦ · 2 PUBLIC PRESENTATION | CLAUS IBSEN Agenda What is Apache Camel? A little Example Riding Camel What's in the Camel box? Deploying Camel Creating](https://reader034.vdocuments.site/reader034/viewer/2022052005/6018fd1680a7b300cb4d2295/html5/thumbnails/41.jpg)
PUBLIC PRESENTATION | CLAUS IBSEN41
What's in the box?
● Enterprise Integration Patterns
http://camel.apache.org/eip
![Page 42: PUBLIC PRESENTATION | CLAUS IBSEN€¦ · 2 PUBLIC PRESENTATION | CLAUS IBSEN Agenda What is Apache Camel? A little Example Riding Camel What's in the Camel box? Deploying Camel Creating](https://reader034.vdocuments.site/reader034/viewer/2022052005/6018fd1680a7b300cb4d2295/html5/thumbnails/42.jpg)
PUBLIC PRESENTATION | CLAUS IBSEN42
What's in the box?
● Splitter EIP
![Page 43: PUBLIC PRESENTATION | CLAUS IBSEN€¦ · 2 PUBLIC PRESENTATION | CLAUS IBSEN Agenda What is Apache Camel? A little Example Riding Camel What's in the Camel box? Deploying Camel Creating](https://reader034.vdocuments.site/reader034/viewer/2022052005/6018fd1680a7b300cb4d2295/html5/thumbnails/43.jpg)
PUBLIC PRESENTATION | CLAUS IBSEN43
What is Apache Camel?
120+ Components
![Page 44: PUBLIC PRESENTATION | CLAUS IBSEN€¦ · 2 PUBLIC PRESENTATION | CLAUS IBSEN Agenda What is Apache Camel? A little Example Riding Camel What's in the Camel box? Deploying Camel Creating](https://reader034.vdocuments.site/reader034/viewer/2022052005/6018fd1680a7b300cb4d2295/html5/thumbnails/44.jpg)
PUBLIC PRESENTATION | CLAUS IBSEN44
What is Apache Camel?
19 Data Formats
![Page 45: PUBLIC PRESENTATION | CLAUS IBSEN€¦ · 2 PUBLIC PRESENTATION | CLAUS IBSEN Agenda What is Apache Camel? A little Example Riding Camel What's in the Camel box? Deploying Camel Creating](https://reader034.vdocuments.site/reader034/viewer/2022052005/6018fd1680a7b300cb4d2295/html5/thumbnails/45.jpg)
PUBLIC PRESENTATION | CLAUS IBSEN45
What is Apache Camel?
15 Expression Languages
![Page 46: PUBLIC PRESENTATION | CLAUS IBSEN€¦ · 2 PUBLIC PRESENTATION | CLAUS IBSEN Agenda What is Apache Camel? A little Example Riding Camel What's in the Camel box? Deploying Camel Creating](https://reader034.vdocuments.site/reader034/viewer/2022052005/6018fd1680a7b300cb4d2295/html5/thumbnails/46.jpg)
PUBLIC PRESENTATION | CLAUS IBSEN46
What is Apache Camel?
5+ DSL in multiple languages● Java DSL● XML DSL (Spring and OSGi Blueprint)● Groovy DSL● Scala DSL● Kotlin DSL (work in progress)
![Page 47: PUBLIC PRESENTATION | CLAUS IBSEN€¦ · 2 PUBLIC PRESENTATION | CLAUS IBSEN Agenda What is Apache Camel? A little Example Riding Camel What's in the Camel box? Deploying Camel Creating](https://reader034.vdocuments.site/reader034/viewer/2022052005/6018fd1680a7b300cb4d2295/html5/thumbnails/47.jpg)
PUBLIC PRESENTATION | CLAUS IBSEN47
What is Apache Camel?
Test Kit● camel-test camel-test-spring● camel-test-blueprint camel-testng
![Page 48: PUBLIC PRESENTATION | CLAUS IBSEN€¦ · 2 PUBLIC PRESENTATION | CLAUS IBSEN Agenda What is Apache Camel? A little Example Riding Camel What's in the Camel box? Deploying Camel Creating](https://reader034.vdocuments.site/reader034/viewer/2022052005/6018fd1680a7b300cb4d2295/html5/thumbnails/48.jpg)
PUBLIC PRESENTATION | CLAUS IBSEN48
What is Apache Camel?
Management● JMX
![Page 49: PUBLIC PRESENTATION | CLAUS IBSEN€¦ · 2 PUBLIC PRESENTATION | CLAUS IBSEN Agenda What is Apache Camel? A little Example Riding Camel What's in the Camel box? Deploying Camel Creating](https://reader034.vdocuments.site/reader034/viewer/2022052005/6018fd1680a7b300cb4d2295/html5/thumbnails/49.jpg)
PUBLIC PRESENTATION | CLAUS IBSEN49
What is Apache Camel?
Tooling – Web console - HawtIO
http://hawt.io
![Page 50: PUBLIC PRESENTATION | CLAUS IBSEN€¦ · 2 PUBLIC PRESENTATION | CLAUS IBSEN Agenda What is Apache Camel? A little Example Riding Camel What's in the Camel box? Deploying Camel Creating](https://reader034.vdocuments.site/reader034/viewer/2022052005/6018fd1680a7b300cb4d2295/html5/thumbnails/50.jpg)
PUBLIC PRESENTATION | CLAUS IBSEN50
What is Apache Camel?
Tooling – Eclipse Plugin – Fuse IDE
http://github.com/fusesource/fuseide
![Page 51: PUBLIC PRESENTATION | CLAUS IBSEN€¦ · 2 PUBLIC PRESENTATION | CLAUS IBSEN Agenda What is Apache Camel? A little Example Riding Camel What's in the Camel box? Deploying Camel Creating](https://reader034.vdocuments.site/reader034/viewer/2022052005/6018fd1680a7b300cb4d2295/html5/thumbnails/51.jpg)
PUBLIC PRESENTATION | CLAUS IBSEN51
Agenda
● What is Apache Camel?
● A little Example
● Riding Camel
● What's in the Camel box?
● Deploying Camel
● Creating new Camel Projects
● Extending Camel
● Q and A
![Page 52: PUBLIC PRESENTATION | CLAUS IBSEN€¦ · 2 PUBLIC PRESENTATION | CLAUS IBSEN Agenda What is Apache Camel? A little Example Riding Camel What's in the Camel box? Deploying Camel Creating](https://reader034.vdocuments.site/reader034/viewer/2022052005/6018fd1680a7b300cb4d2295/html5/thumbnails/52.jpg)
PUBLIC PRESENTATION | CLAUS IBSEN52
Deploying Camel
● Deployment Strategy● No Container Dependency● Lightweight & Embeddable
● Deployment Options● Standalone● WAR● Spring● JEE● OSGi● Cloud
![Page 53: PUBLIC PRESENTATION | CLAUS IBSEN€¦ · 2 PUBLIC PRESENTATION | CLAUS IBSEN Agenda What is Apache Camel? A little Example Riding Camel What's in the Camel box? Deploying Camel Creating](https://reader034.vdocuments.site/reader034/viewer/2022052005/6018fd1680a7b300cb4d2295/html5/thumbnails/53.jpg)
PUBLIC PRESENTATION | CLAUS IBSEN53
Camel as a Client
● Java Client Application (no routes)
● Example● Upload a file to a FTP server
![Page 54: PUBLIC PRESENTATION | CLAUS IBSEN€¦ · 2 PUBLIC PRESENTATION | CLAUS IBSEN Agenda What is Apache Camel? A little Example Riding Camel What's in the Camel box? Deploying Camel Creating](https://reader034.vdocuments.site/reader034/viewer/2022052005/6018fd1680a7b300cb4d2295/html5/thumbnails/54.jpg)
PUBLIC PRESENTATION | CLAUS IBSEN54
Agenda
● What is Apache Camel?
● A little Example
● Riding Camel
● What's in the Camel box?
● Deploying Camel
● Creating new Camel Projects
● Q and A
![Page 55: PUBLIC PRESENTATION | CLAUS IBSEN€¦ · 2 PUBLIC PRESENTATION | CLAUS IBSEN Agenda What is Apache Camel? A little Example Riding Camel What's in the Camel box? Deploying Camel Creating](https://reader034.vdocuments.site/reader034/viewer/2022052005/6018fd1680a7b300cb4d2295/html5/thumbnails/55.jpg)
PUBLIC PRESENTATION | CLAUS IBSEN55
Creating new Camel Projects
● Using Command Shell
● From Eclipse
![Page 56: PUBLIC PRESENTATION | CLAUS IBSEN€¦ · 2 PUBLIC PRESENTATION | CLAUS IBSEN Agenda What is Apache Camel? A little Example Riding Camel What's in the Camel box? Deploying Camel Creating](https://reader034.vdocuments.site/reader034/viewer/2022052005/6018fd1680a7b300cb4d2295/html5/thumbnails/56.jpg)
PUBLIC PRESENTATION | CLAUS IBSEN56
Creating new Camel Projects
● Maven Archetypes
![Page 57: PUBLIC PRESENTATION | CLAUS IBSEN€¦ · 2 PUBLIC PRESENTATION | CLAUS IBSEN Agenda What is Apache Camel? A little Example Riding Camel What's in the Camel box? Deploying Camel Creating](https://reader034.vdocuments.site/reader034/viewer/2022052005/6018fd1680a7b300cb4d2295/html5/thumbnails/57.jpg)
PUBLIC PRESENTATION | CLAUS IBSEN57
Creating new Camel Projects
● camel-archetype-blueprint
![Page 58: PUBLIC PRESENTATION | CLAUS IBSEN€¦ · 2 PUBLIC PRESENTATION | CLAUS IBSEN Agenda What is Apache Camel? A little Example Riding Camel What's in the Camel box? Deploying Camel Creating](https://reader034.vdocuments.site/reader034/viewer/2022052005/6018fd1680a7b300cb4d2295/html5/thumbnails/58.jpg)
PUBLIC PRESENTATION | CLAUS IBSEN58
Creating new Camel Projects
● Importing into Eclipse
Existing Maven Project
![Page 59: PUBLIC PRESENTATION | CLAUS IBSEN€¦ · 2 PUBLIC PRESENTATION | CLAUS IBSEN Agenda What is Apache Camel? A little Example Riding Camel What's in the Camel box? Deploying Camel Creating](https://reader034.vdocuments.site/reader034/viewer/2022052005/6018fd1680a7b300cb4d2295/html5/thumbnails/59.jpg)
PUBLIC PRESENTATION | CLAUS IBSEN59
Creating new Camel Projects
● Testing Camel Projects
● ... from inside Eclipse
![Page 60: PUBLIC PRESENTATION | CLAUS IBSEN€¦ · 2 PUBLIC PRESENTATION | CLAUS IBSEN Agenda What is Apache Camel? A little Example Riding Camel What's in the Camel box? Deploying Camel Creating](https://reader034.vdocuments.site/reader034/viewer/2022052005/6018fd1680a7b300cb4d2295/html5/thumbnails/60.jpg)
PUBLIC PRESENTATION | CLAUS IBSEN60
Agenda
● What is Apache Camel?
● A little Example
● Riding Camel
● What's in the Camel box?
● Deploying Camel
● Creating new Camel Projects
● Q and A
![Page 61: PUBLIC PRESENTATION | CLAUS IBSEN€¦ · 2 PUBLIC PRESENTATION | CLAUS IBSEN Agenda What is Apache Camel? A little Example Riding Camel What's in the Camel box? Deploying Camel Creating](https://reader034.vdocuments.site/reader034/viewer/2022052005/6018fd1680a7b300cb4d2295/html5/thumbnails/61.jpg)
PUBLIC PRESENTATION | CLAUS IBSEN61
Where do I get more information?
● Best Article covering what Apache Camel is● http://java.dzone.com/articles/open-source-integration-
apache
Link to article from “Getting Started”
![Page 62: PUBLIC PRESENTATION | CLAUS IBSEN€¦ · 2 PUBLIC PRESENTATION | CLAUS IBSEN Agenda What is Apache Camel? A little Example Riding Camel What's in the Camel box? Deploying Camel Creating](https://reader034.vdocuments.site/reader034/viewer/2022052005/6018fd1680a7b300cb4d2295/html5/thumbnails/62.jpg)
PUBLIC PRESENTATION | CLAUS IBSEN62
Where do I get more information?
● Try Camel Examples● http://camel.apache.org/examples.html
● Read other blogs and articles● http://camel.apache.org/articles.html
● Use the “search box” on the Camel front page
![Page 63: PUBLIC PRESENTATION | CLAUS IBSEN€¦ · 2 PUBLIC PRESENTATION | CLAUS IBSEN Agenda What is Apache Camel? A little Example Riding Camel What's in the Camel box? Deploying Camel Creating](https://reader034.vdocuments.site/reader034/viewer/2022052005/6018fd1680a7b300cb4d2295/html5/thumbnails/63.jpg)
PUBLIC PRESENTATION | CLAUS IBSEN63
Where do I get more information?
● Use the mailing list / forum● http://camel.apache.org/mailing-lists.html
● Use stackoverflow● http://stackoverflow.com/questions/tagged/apache-camel
![Page 64: PUBLIC PRESENTATION | CLAUS IBSEN€¦ · 2 PUBLIC PRESENTATION | CLAUS IBSEN Agenda What is Apache Camel? A little Example Riding Camel What's in the Camel box? Deploying Camel Creating](https://reader034.vdocuments.site/reader034/viewer/2022052005/6018fd1680a7b300cb4d2295/html5/thumbnails/64.jpg)
PUBLIC PRESENTATION | CLAUS IBSEN64
Where do I get more information?
● Buy the Camel in Action book
http://manning.com/ibsen/
Use code ...camel40
… for 40% discount
![Page 65: PUBLIC PRESENTATION | CLAUS IBSEN€¦ · 2 PUBLIC PRESENTATION | CLAUS IBSEN Agenda What is Apache Camel? A little Example Riding Camel What's in the Camel box? Deploying Camel Creating](https://reader034.vdocuments.site/reader034/viewer/2022052005/6018fd1680a7b300cb4d2295/html5/thumbnails/65.jpg)
PUBLIC PRESENTATION | CLAUS IBSEN65
Any Questions ?
● Contact● EMail: [email protected]● Twitter: @davsclaus● Linkedin: davsclaus● Blog: http://davsclaus.com