SlideShare a Scribd company logo
Are you new to Apache
Camel ?
GNANAGURU SATTANATHAN
HTTP://WWW.BUSHORN.COM
What to expect ?
 I am working with Camel for the past 5 years, looking back I am able to
visualize how Camel has grown so far and how I have adopted it myself.
 I am seeing many new organizations adopting Camel in their
infrastructure, so as many developers starting to learn it.
 If you are just out of college, a decade experienced Java developer or a
engineer from some other background like .Net, Php, Silicon fabrication,
civil engineering,… these slides will help you on the way learning camel.
Beauty of Integration
 Before jumping to Camel, Are you someone interested in learning
something new all the time ? Then welcome to Integration world
 Integration technologies can integrate literally anything where computers
are involved.
 Integrate Railways to Banks, Banks to Banks, Metrology to News station,
Utility companies to Houses etc.. As they vary in domain, each one of
them uses different technologies, and they are getting integrated.
 Like many other integration technologies, Apache Camel is one of them.
A popular, simple, well performing integration framework.
 You have got more than 170 components in it, So you can learn one every
month :)
Expect Simplicity
Customer requirement Camel implementation
We are trying to integrate
our centralized file server
with our partners message
broker system
<from uri="ftp://host:port/path" />
<to uri="jms:queue:PartnerA" />
Don’t start imagining writing 1000 lines of code, You
can do integration in few lines of code. Well, there
can be super complex use cases, then there are
going to be few more from and to's
Perception checkpoint
 Apache Camel can be any of these
 Integration Framework
 Integration Tool
 Integration Product
 Java implementation (If you have already done so much with Java)
 Open Source Integration product
 Middleware
 Something built on top of JVM
 Whatever it is, Predominantly your code is going to have only 'from'
and 'To' endpoints
Do you have Java background ?
 Camel is a open source integration framework. Open source always gives
you flexibility and of course Camel is built using Java. So it can be feast for
many Java fans.
 With Java knowledge you can build a better and sophisticated Camel
application.
 But If you know how a Java class looks like and how to run a Java code ?
Then you have already satisfied the prerequisite. You can perceive camel
as a product and start the implementation. Java expertise is no blocker for
starting Camel development.
The difference
Camel
Java
Java
Camel
+
+
• To build a complete Camel application,
Java is indispensable. At least it is required for
writing unit test cases.
• Camel developers have already written
thousands of lines of code, to make it simple
and easy. Always see if you can complete
the use case with what Camel provides.
Rather than trying to extend the functionality
using Java. Most of the enterprise use cases
can be implemented just with the
capabilities of Camel.
Flexibility can be a overkill
 Open source products provides flexibility. You can extend or customize the
products based on your enterprise needs.
 Also there is no one best practice to use these products.
 Utilizing flexibility is always good, but there is no point in writing a custom
code if the framework already provides the same feature.
 For eg: You can write a simple 'to' endpoint for sending a message to a
JMS queue. OR you can call a processor, inside the processor you use a
producer template for sending messages to a JMS queue.
 Refer examples and tutorials, pick the easiest one to implement. That
would most likely be a straight forward camel code.
Camel unit testing is awesome
 Camel has wonderful unit testing support. Especially adviseWith and mock
endpoints.
 Try writing unit test cases for every processor involved in a route, alteast
write them for every route in your camel context. Every simple xpath in a
route matters, a simple change would impact your complete flow, so
cover unit tests for every xpaths, setHeaders, Choice, etc.
 Actually the flexibility aspect can be very useful for unit testing the routes.
Route builders, Producer templates, Mock endpoints, use all of them if you
want ;)
Ask Questions
 Camel became very popular because of its community of users and
developers. By the time scratching your head, you can parallelly post your
questions to Camel Nabble or Stackoverflow(apache-camel).
 Or maybe someone asked these questions already, search through these
forums and google. There are plenty of articles on Camel already.
That’s it for now !
 These are some of my thoughts. It's been a wonderful journey with Camel
so far.
 Some find it hard with Camel, Sometimes it is because of its simplicity. We
won't easily trust something if it sounds so simple isn't it ?
 I can try to help if you have any questions, I contribute articles to
http://bushorn.com and drop your comments there.
 Or you can contact me through LinkedIn or Twitter
 https://www.google.com.au/search?q=gnanaguru+sattanathan

More Related Content

What's hot (20)

PPSX
Simple and Effective Development Process For Software v1
Mohamed Alaa El-Din
 
PDF
Helm your way with Kubernetes
Ana-Maria Mihalceanu
 
PDF
Afterlife Tales: Troubleshooting containerized applications
Ana-Maria Mihalceanu
 
KEY
CakePHP - The Path to 2.0
Graham Weldon
 
PDF
Mesos at OpenTable
samsalisbury
 
PPTX
Front-end Performance 101
Sean O'Mahoney
 
PPTX
Building Chrome Extensions For Salesforce
Abhinav Gupta
 
PPTX
Get AMP'ed for Accelerated Mobile Pages - SEO Grail Philadelphia 1/20/16
Sean Malseed
 
KEY
Re-imaginging CakePHP
Graham Weldon
 
PDF
PHP 5.4 - Begin your love affair with traits
Graham Weldon
 
PPTX
What’s new in Visual Studio 2012 & .NET 4.5
Robert MacLean
 
ODP
Meet Magento Poland 2018 - a11y workshop
Anna Karoñ
 
PPTX
Great Lakes Area .Net UG: Optimize .Net Azure App Services
Brian McKeiver
 
PPTX
Amp up your Site with Accelerated Mobile Pages
Brian McKeiver
 
PDF
Are you ready to adopt GraphQL?
Siva Prasad Rao Janapati
 
PPTX
Selenium webcrawler
Rabia Khalid
 
PDF
Accelerated Mobile Pages
Jeremy Green
 
PPTX
Accelerated Mobile Pages (AMP) & How it will Impact your Business
Harshavardhan MP
 
PDF
Finding laravel from a lost advanced beginner of java
Mozammel Haque
 
Simple and Effective Development Process For Software v1
Mohamed Alaa El-Din
 
Helm your way with Kubernetes
Ana-Maria Mihalceanu
 
Afterlife Tales: Troubleshooting containerized applications
Ana-Maria Mihalceanu
 
CakePHP - The Path to 2.0
Graham Weldon
 
Mesos at OpenTable
samsalisbury
 
Front-end Performance 101
Sean O'Mahoney
 
Building Chrome Extensions For Salesforce
Abhinav Gupta
 
Get AMP'ed for Accelerated Mobile Pages - SEO Grail Philadelphia 1/20/16
Sean Malseed
 
Re-imaginging CakePHP
Graham Weldon
 
PHP 5.4 - Begin your love affair with traits
Graham Weldon
 
What’s new in Visual Studio 2012 & .NET 4.5
Robert MacLean
 
Meet Magento Poland 2018 - a11y workshop
Anna Karoñ
 
Great Lakes Area .Net UG: Optimize .Net Azure App Services
Brian McKeiver
 
Amp up your Site with Accelerated Mobile Pages
Brian McKeiver
 
Are you ready to adopt GraphQL?
Siva Prasad Rao Janapati
 
Selenium webcrawler
Rabia Khalid
 
Accelerated Mobile Pages
Jeremy Green
 
Accelerated Mobile Pages (AMP) & How it will Impact your Business
Harshavardhan MP
 
Finding laravel from a lost advanced beginner of java
Mozammel Haque
 

Viewers also liked (14)

PPTX
Apache Camel: The Swiss Army Knife of Open Source Integration
prajods
 
PPTX
Lightweight ESB Alternatives
Chris Haddad
 
PDF
A first taste of integration with Apache Camel
nextbuild
 
PDF
Aws microservice keynote
nextbuild
 
PPT
Showdown: Integration Framework (Spring Integration, Apache Camel) vs. Enterp...
Kai Wähner
 
ODP
Getting started with Apache Camel - May 2013
Claus Ibsen
 
ODP
Microservices with Apache Camel
Claus Ibsen
 
PPTX
Integrating Microservices with Apache Camel
Christian Posta
 
PDF
Apache Camel - The integration library
Claus Ibsen
 
PDF
How to choose the right Integration Framework - Apache Camel (JBoss, Talend),...
Kai Wähner
 
PPTX
Eight Miles High: Build Cloud-native and Cloud-aware Systems
Chris Haddad
 
PPTX
High Productivity Platform
Chris Haddad
 
PPTX
Digital Businesses of the Future
MuleSoft
 
Apache Camel: The Swiss Army Knife of Open Source Integration
prajods
 
Lightweight ESB Alternatives
Chris Haddad
 
A first taste of integration with Apache Camel
nextbuild
 
Aws microservice keynote
nextbuild
 
Showdown: Integration Framework (Spring Integration, Apache Camel) vs. Enterp...
Kai Wähner
 
Getting started with Apache Camel - May 2013
Claus Ibsen
 
Microservices with Apache Camel
Claus Ibsen
 
Integrating Microservices with Apache Camel
Christian Posta
 
Apache Camel - The integration library
Claus Ibsen
 
How to choose the right Integration Framework - Apache Camel (JBoss, Talend),...
Kai Wähner
 
Eight Miles High: Build Cloud-native and Cloud-aware Systems
Chris Haddad
 
High Productivity Platform
Chris Haddad
 
Digital Businesses of the Future
MuleSoft
 
Ad

Similar to Are you new to Apache Camel (20)

PPTX
Using Apache Camel as AKKA
Johan Edstrom
 
PPTX
Apache Camel framework Presentation and selection of apache camel for various...
chetansharma041
 
PPT
Xke - Introduction to Apache Camel
Alexis Kinsella
 
PPTX
Making Apache Camel work for you
Rogue Wave Software
 
DOCX
Lecture1 oopj
Dhairya Joshi
 
PDF
Low Code Integration with Apache Camel.pdf
Claus Ibsen
 
PDF
Introduction To Apache Camel
Knoldus Inc.
 
PPT
Succeding with the Apache SOA stack
Johan Edstrom
 
DOCX
Java applet-basics
kanchanmahajan23
 
PDF
Java applet-basics
kanchanmahajan23
 
PDF
Apache Camel with Spring boot
Knoldus Inc.
 
PDF
Apache Camel with Spring boot
Knoldus Inc.
 
PDF
learn mvc project in 7 day
Quach Long
 
PPTX
Apache Camel interview Questions and Answers
jeetendra mandal
 
PPT
Web servicesoverview
thisismusthafa
 
DOCX
Article laravel 8
hadeedulhassan
 
PPT
Web servicesoverview
Prabhat gangwar
 
PDF
Integrating systems in the age of Quarkus and Camel
Claus Ibsen
 
PPS
Java applets
Srinath Dhayalamoorthy
 
PPTX
Node.js meetup 17.05.2017 ember.js - escape the javascript fatigue
Tobias Braner
 
Using Apache Camel as AKKA
Johan Edstrom
 
Apache Camel framework Presentation and selection of apache camel for various...
chetansharma041
 
Xke - Introduction to Apache Camel
Alexis Kinsella
 
Making Apache Camel work for you
Rogue Wave Software
 
Lecture1 oopj
Dhairya Joshi
 
Low Code Integration with Apache Camel.pdf
Claus Ibsen
 
Introduction To Apache Camel
Knoldus Inc.
 
Succeding with the Apache SOA stack
Johan Edstrom
 
Java applet-basics
kanchanmahajan23
 
Java applet-basics
kanchanmahajan23
 
Apache Camel with Spring boot
Knoldus Inc.
 
Apache Camel with Spring boot
Knoldus Inc.
 
learn mvc project in 7 day
Quach Long
 
Apache Camel interview Questions and Answers
jeetendra mandal
 
Web servicesoverview
thisismusthafa
 
Article laravel 8
hadeedulhassan
 
Web servicesoverview
Prabhat gangwar
 
Integrating systems in the age of Quarkus and Camel
Claus Ibsen
 
Node.js meetup 17.05.2017 ember.js - escape the javascript fatigue
Tobias Braner
 
Ad

Recently uploaded (20)

PDF
System Center 2025 vs. 2022; What’s new, what’s next_PDF.pdf
Q-Advise
 
PDF
On Software Engineers' Productivity - Beyond Misleading Metrics
Romén Rodríguez-Gil
 
PDF
Virtual Threads in Java: A New Dimension of Scalability and Performance
Tier1 app
 
PDF
Salesforce Implementation Services Provider.pdf
VALiNTRY360
 
PDF
Troubleshooting Virtual Threads in Java!
Tier1 app
 
PPTX
ASSIGNMENT_1[1][1][1][1][1] (1) variables.pptx
kr2589474
 
PDF
Download iTop VPN Free 6.1.0.5882 Crack Full Activated Pre Latest 2025
imang66g
 
PDF
Summary Of Odoo 18.1 to 18.4 : The Way For Odoo 19
CandidRoot Solutions Private Limited
 
PPTX
classification of computer and basic part of digital computer
ravisinghrajpurohit3
 
PDF
Adobe Illustrator Crack Full Download (Latest Version 2025) Pre-Activated
imang66g
 
PPTX
Contractor Management Platform and Software Solution for Compliance
SHEQ Network Limited
 
PPTX
Web Testing.pptx528278vshbuqffqhhqiwnwuq
studylike474
 
PDF
SAP GUI Installation Guide for Windows | Step-by-Step Setup for SAP Access
SAP Vista, an A L T Z E N Company
 
PDF
Enhancing Healthcare RPM Platforms with Contextual AI Integration
Cadabra Studio
 
PDF
Step-by-Step Guide to Install SAP HANA Studio | Complete Installation Tutoria...
SAP Vista, an A L T Z E N Company
 
PDF
New Download FL Studio Crack Full Version [Latest 2025]
imang66g
 
PPT
Why Reliable Server Maintenance Service in New York is Crucial for Your Business
Sam Vohra
 
PDF
Enhancing Security in VAST: Towards Static Vulnerability Scanning
ESUG
 
PDF
Supabase Meetup: Build in a weekend, scale to millions
Carlo Gilmar Padilla Santana
 
PDF
Protecting the Digital World Cyber Securit
dnthakkar16
 
System Center 2025 vs. 2022; What’s new, what’s next_PDF.pdf
Q-Advise
 
On Software Engineers' Productivity - Beyond Misleading Metrics
Romén Rodríguez-Gil
 
Virtual Threads in Java: A New Dimension of Scalability and Performance
Tier1 app
 
Salesforce Implementation Services Provider.pdf
VALiNTRY360
 
Troubleshooting Virtual Threads in Java!
Tier1 app
 
ASSIGNMENT_1[1][1][1][1][1] (1) variables.pptx
kr2589474
 
Download iTop VPN Free 6.1.0.5882 Crack Full Activated Pre Latest 2025
imang66g
 
Summary Of Odoo 18.1 to 18.4 : The Way For Odoo 19
CandidRoot Solutions Private Limited
 
classification of computer and basic part of digital computer
ravisinghrajpurohit3
 
Adobe Illustrator Crack Full Download (Latest Version 2025) Pre-Activated
imang66g
 
Contractor Management Platform and Software Solution for Compliance
SHEQ Network Limited
 
Web Testing.pptx528278vshbuqffqhhqiwnwuq
studylike474
 
SAP GUI Installation Guide for Windows | Step-by-Step Setup for SAP Access
SAP Vista, an A L T Z E N Company
 
Enhancing Healthcare RPM Platforms with Contextual AI Integration
Cadabra Studio
 
Step-by-Step Guide to Install SAP HANA Studio | Complete Installation Tutoria...
SAP Vista, an A L T Z E N Company
 
New Download FL Studio Crack Full Version [Latest 2025]
imang66g
 
Why Reliable Server Maintenance Service in New York is Crucial for Your Business
Sam Vohra
 
Enhancing Security in VAST: Towards Static Vulnerability Scanning
ESUG
 
Supabase Meetup: Build in a weekend, scale to millions
Carlo Gilmar Padilla Santana
 
Protecting the Digital World Cyber Securit
dnthakkar16
 

Are you new to Apache Camel

  • 1. Are you new to Apache Camel ? GNANAGURU SATTANATHAN HTTP://WWW.BUSHORN.COM
  • 2. What to expect ?  I am working with Camel for the past 5 years, looking back I am able to visualize how Camel has grown so far and how I have adopted it myself.  I am seeing many new organizations adopting Camel in their infrastructure, so as many developers starting to learn it.  If you are just out of college, a decade experienced Java developer or a engineer from some other background like .Net, Php, Silicon fabrication, civil engineering,… these slides will help you on the way learning camel.
  • 3. Beauty of Integration  Before jumping to Camel, Are you someone interested in learning something new all the time ? Then welcome to Integration world  Integration technologies can integrate literally anything where computers are involved.  Integrate Railways to Banks, Banks to Banks, Metrology to News station, Utility companies to Houses etc.. As they vary in domain, each one of them uses different technologies, and they are getting integrated.  Like many other integration technologies, Apache Camel is one of them. A popular, simple, well performing integration framework.  You have got more than 170 components in it, So you can learn one every month :)
  • 4. Expect Simplicity Customer requirement Camel implementation We are trying to integrate our centralized file server with our partners message broker system <from uri="ftp://host:port/path" /> <to uri="jms:queue:PartnerA" /> Don’t start imagining writing 1000 lines of code, You can do integration in few lines of code. Well, there can be super complex use cases, then there are going to be few more from and to's
  • 5. Perception checkpoint  Apache Camel can be any of these  Integration Framework  Integration Tool  Integration Product  Java implementation (If you have already done so much with Java)  Open Source Integration product  Middleware  Something built on top of JVM  Whatever it is, Predominantly your code is going to have only 'from' and 'To' endpoints
  • 6. Do you have Java background ?  Camel is a open source integration framework. Open source always gives you flexibility and of course Camel is built using Java. So it can be feast for many Java fans.  With Java knowledge you can build a better and sophisticated Camel application.  But If you know how a Java class looks like and how to run a Java code ? Then you have already satisfied the prerequisite. You can perceive camel as a product and start the implementation. Java expertise is no blocker for starting Camel development.
  • 7. The difference Camel Java Java Camel + + • To build a complete Camel application, Java is indispensable. At least it is required for writing unit test cases. • Camel developers have already written thousands of lines of code, to make it simple and easy. Always see if you can complete the use case with what Camel provides. Rather than trying to extend the functionality using Java. Most of the enterprise use cases can be implemented just with the capabilities of Camel.
  • 8. Flexibility can be a overkill  Open source products provides flexibility. You can extend or customize the products based on your enterprise needs.  Also there is no one best practice to use these products.  Utilizing flexibility is always good, but there is no point in writing a custom code if the framework already provides the same feature.  For eg: You can write a simple 'to' endpoint for sending a message to a JMS queue. OR you can call a processor, inside the processor you use a producer template for sending messages to a JMS queue.  Refer examples and tutorials, pick the easiest one to implement. That would most likely be a straight forward camel code.
  • 9. Camel unit testing is awesome  Camel has wonderful unit testing support. Especially adviseWith and mock endpoints.  Try writing unit test cases for every processor involved in a route, alteast write them for every route in your camel context. Every simple xpath in a route matters, a simple change would impact your complete flow, so cover unit tests for every xpaths, setHeaders, Choice, etc.  Actually the flexibility aspect can be very useful for unit testing the routes. Route builders, Producer templates, Mock endpoints, use all of them if you want ;)
  • 10. Ask Questions  Camel became very popular because of its community of users and developers. By the time scratching your head, you can parallelly post your questions to Camel Nabble or Stackoverflow(apache-camel).  Or maybe someone asked these questions already, search through these forums and google. There are plenty of articles on Camel already.
  • 11. That’s it for now !  These are some of my thoughts. It's been a wonderful journey with Camel so far.  Some find it hard with Camel, Sometimes it is because of its simplicity. We won't easily trust something if it sounds so simple isn't it ?
  • 12.  I can try to help if you have any questions, I contribute articles to http://bushorn.com and drop your comments there.  Or you can contact me through LinkedIn or Twitter  https://www.google.com.au/search?q=gnanaguru+sattanathan