11
Crash course to the Apache Camel Brought to you by Henryk Konsek

Crash course to the Apache Camel

Embed Size (px)

DESCRIPTION

Crash course to the Apache Camel. Brought to you by Henryk Konsek.

Citation preview

Page 1: Crash course to the Apache Camel

Crash course to the Apache Camel

Brought to you by Henryk Konsek

Page 2: Crash course to the Apache Camel

What is Apache Camel?

Messages routing engine.

Page 3: Crash course to the Apache Camel

What can Camel do for me?

Integrate components exchanging messages.

Page 4: Crash course to the Apache Camel

Camel in a nutshell

From source through processor to destination.

Page 5: Crash course to the Apache Camel

Camel == EIP

Page 6: Crash course to the Apache Camel

Camel == gazillion of the connectors

~/projects/camel/components $ ls -l | wc -l

178

Read (write) from (to) JMS, FTP, File system, SMTP, HTTP...

Page 7: Crash course to the Apache Camel

Sample route

from("file:/home/invoices").

to("jms:invoices");

Page 8: Crash course to the Apache Camel

Runnable in...

● standalone● OSGi● Blueprint● Spring● Fabric8 Spring Boot container● WildFly● SwitchYard● More...

Page 9: Crash course to the Apache Camel

Customer use case #1

● Netty HTTP Gateway● routing to the dynamically specified endpoints● ~100 Camel routes

Page 10: Crash course to the Apache Camel

Customer use case #2

● public Jetty HTTP endpoint accepts incoming requests● Camel acts as the intelligent JMS load balancer

Page 11: Crash course to the Apache Camel

Thank you!