SlideShare a Scribd company logo
2
Most read
4
Most read
14
Most read
Presented By: Sakshi Mittal
Introduction To
Apache Camel
Lack of etiquette and manners is a huge turn off.
KnolX Etiquettes
Punctuality
Respect Knolx session
timings, you are requested
not to join sessions after a
5 minutes threshold post
the session start time.
Feedback
Make sure to submit a
constructive feedback for
all sessions as it is very
helpful for the presenter.
Silent Mode
Keep your mobile devices
in silent mode, feel free to
move out of session in
case you need to attend
an urgent call.
Avoid Disturbance
Avoid unwanted chit chat
during the session.
Agenda
Enterprise Integration Pattern
01
02
03
04
05
What is Apache Camel? Let’s see a Real world Problem
Apache Camel - Features and Architecture
Demo and Conclusion
Features and need of EAI/EIP
Enterprise Integration Patterns?
“Interesting applications rarely live in isolation. Whether your sales
application must interface with your inventory application, your
procurement application must connect to an auction site, or your PDA’s
calendar must synchronize with the corporate calendar server, it seems
that any application can be made better by integrating it with other
applications. ”
This is the overarching concept of EIP.
Enterprise integration patterns (EIP) is a catalog of design patterns for developing systems to integrate
new and existing software in a business environment.
This is the basis for Apache Camel, implement and extend the integration patterns
Enterprise Application Patterns/Enterprise Integration Pattern
(Example)
An organization may use various information systems −
Enterprise Application Patterns/Enterprise Integration Pattern
(Example)
The systems mentioned in previous slide, work as individual islands of automation.
Most often theses systems are stand alone and do not communicate with each
other due to incompatibility issues such as -
● Operating systems they are residing on
● Database system used in the system
● Legacy systems not supported anymore
EAI is an integration framework, a middleware, made of a collection of technologies and services
that allows smooth integration of all such systems and applications throughout the enterprise
and enables data sharing and more automation of business processes.
Characteristics of EAI
● EAI is defined as "the unrestricted sharing of data and business processes among any connected
applications and data sources in the enterprise."
● EAI, when used effectively allows integration without any major changes to current infrastructure.
● Extends middleware capabilities to cope with application integration.
● Uses application logic layers of different middleware systems as building blocks.
● Keeps track of information related to the operations of the enterprise e.g. Inventory, sales ledger
and execute the core processes that create and manipulate this information.
Need for Enterprise Integration
● Unrestricted sharing of data and business processes across an organization.
● Linkage between customers, suppliers and regulators.
● The linking of data, business processes and applications to automate business processes.
● Ensure consistent qualities of service (security, reliability etc.).
● Reduce the ongoing cost of maintenance and reduce the cost of rolling out new systems.
What is Apache Camel?
● Concise Application Message Exchange Language.
● Apache Camel is a Java based open-source integration framework based on Enterprise Integration
Patterns (EIP).
● Apache Camel allows your applications to accomplish -
- Message routing between endpoints
- Message transformation.
- Protocol mediation.
● Camel use the established Enterprise Integration Patterns and out-of-the-box adapters with highly
expressive Domain Specific Language (DSL) - Java, Spring XML, Scala and Groovy.
REAL WORLD PROBLEM STATEMENT
Why do we need to integrate Systems?
Critical for your business to integrate.
Why Integration Framework?
● Framework does the heavy lifting
● You can focus on tackling the Business Problem
● Not on “reinventing the wheel”.
Apache Camel - A Little Overview
Camel is a black box that receives messages from some endpoint and sends it to another
one. Within the black box, the messages may be processed or simply redirected
why have a framework for this?
Apache Camel - Features
● Apache Camel is an open source Java framework that essentially provides an implementation of
various EIPs
● Camel makes the integration easier by providing connectivity to a very large variety of transports and
APIs. For example, you can easily route JMS to JSON, JSON to JMS, HTTP to JMS, FTP to JMS, even HTTP to
HTTP, and connectivity to Microservices.
● Camel is extensible and thus in future more endpoints can be added easily to the framework.
To wire EIPs and transports together, you use Domain Specific Languages (DSLs) such as Java, Scala, and
Groovy. A typical Java routing rule may look like:
This routing rule loads the files from the order directory, creates a JMS message with the contents of the
file and sends that message to a queue called orderQueue.
Apache Camel - Architecture
Apache Camel - CamelContext
CamelContext - Code Snippet
The code snippet here will give you a glimpse of how a CamelContext is created in a Camel application:
Apache Camel - Routes
The router defines the rule for moving the message from to a to location. You use RouteBuilder to define
a route in Java DSL.
Apache Camel - Language Choice
You may create the routes in different languages. Here are a few examples of how the same route is defined
in three different languages:
Apache Camel - Filters
You use filter to select a part of input content. To set up a filter, you use any arbitrary Predicate implementation. The
filtered input is then sent to your desired destination Endpoint. In this example, we filter out all orders for the soap so
that those can be collectively sent to a soap supplier.
You may combine multiple predicates in a single routing as here -
Apache Camel - pom.xml Dependency
You need to add few dependencies to use Camel. The dependencies are added in pom.xml. So open pom.xml
and add following two dependencies -
Introduction To Apache Camel
Conclusion
Camel provides a ready-to-use framework that implements EIPs to ease your
integration projects. It supports coding in domain-specific languages and also the use
of XML.
References
https://camel.apache.org/docs/
https://www.tutorialspoint.com/apache_camel/index.htm
https://www.baeldung.com/apache-camel-intro
Introduction To Apache Camel

More Related Content

What's hot (20)

PPTX
Saa s multitenant database architecture
mmubashirkhan
 
PPTX
Global state recording in Distributed Systems
Arsnet
 
PPTX
Monitoring in Azure
Torben Knerr
 
PPTX
3 public key cryptography
Rutvik Mehta
 
PPTX
Deployment Model.pptx
SourodeepChakraborty3
 
PPTX
File replication
Dhaval Chodavadiya
 
PDF
Apache Kafka: Comunicando microsserviços com performance
Waldyr Felix
 
PPT
Cyber security and emails presentation
Wan Solo
 
PDF
MOM - Message Oriented Middleware
Peter R. Egli
 
PPT
Secure Socket Layer
Naveen Kumar
 
PDF
Introduction to Apache Camel
Knoldus Inc.
 
PPTX
Chap 6 cloud security
Raj Sarode
 
PPTX
file sharing semantics by Umar Danjuma Maiwada
umardanjumamaiwada
 
PPTX
UNIT II (1).pptx
gopi venkat
 
PPTX
SSL/TLS
Sirish Kumar
 
PPTX
Message Oriented Middleware
Manuswath K.B
 
PPT
Pgp
precy02
 
PPT
What is load balancer in aws and types of load balancers
VishnuAnji
 
PDF
Electronic mail security
Dr.Florence Dayana
 
Saa s multitenant database architecture
mmubashirkhan
 
Global state recording in Distributed Systems
Arsnet
 
Monitoring in Azure
Torben Knerr
 
3 public key cryptography
Rutvik Mehta
 
Deployment Model.pptx
SourodeepChakraborty3
 
File replication
Dhaval Chodavadiya
 
Apache Kafka: Comunicando microsserviços com performance
Waldyr Felix
 
Cyber security and emails presentation
Wan Solo
 
MOM - Message Oriented Middleware
Peter R. Egli
 
Secure Socket Layer
Naveen Kumar
 
Introduction to Apache Camel
Knoldus Inc.
 
Chap 6 cloud security
Raj Sarode
 
file sharing semantics by Umar Danjuma Maiwada
umardanjumamaiwada
 
UNIT II (1).pptx
gopi venkat
 
SSL/TLS
Sirish Kumar
 
Message Oriented Middleware
Manuswath K.B
 
Pgp
precy02
 
What is load balancer in aws and types of load balancers
VishnuAnji
 
Electronic mail security
Dr.Florence Dayana
 

Similar to Introduction To Apache Camel (20)

PDF
Introduction of Apache Camel
Knoldus Inc.
 
PDF
Introduction to Apache Camel.pdf
Knoldus Inc.
 
PPTX
Apache Camel framework Presentation and selection of apache camel for various...
chetansharma041
 
PDF
Enterprise Integration Patterns with Apache Camel
Ioan Eugen Stan
 
PPT
An introduction to Apache Camel
Kapil Kumar
 
PDF
Apache Camel Introduction
Claus Ibsen
 
PDF
OpenSouthCode 2018 - Integrating your applications easily with Apache Camel
José Román Martín Gil
 
PPT
Simplify your integrations with Apache Camel
Kenneth Peeples
 
PDF
Solving Enterprise Integration with Apache Camel
Christian Posta
 
PPT
Integration made easy with Apache Camel
Rosen Spasov
 
PDF
Apache Camel with Spring boot
Knoldus Inc.
 
PDF
Apache Camel with Spring boot
Knoldus Inc.
 
ODP
01 apache camel-intro
RedpillLinpro
 
PPTX
Enterprise Integration Patterns and Apache Camel
Miloš Zubal
 
PPTX
Essential Camel Components
Christian Posta
 
PPTX
Apache camel
Marut Singh
 
PDF
Apache Camel - Stéphane Kay - April 2011
JUG Lausanne
 
PDF
Enterprise Integration Patterns and DSL with Apache Camel
Dmitry Buzdin
 
ODP
Red Hat Open Day JBoss Fuse
Adrian Gigante
 
PPTX
Are you new to Apache Camel
gnanagurus
 
Introduction of Apache Camel
Knoldus Inc.
 
Introduction to Apache Camel.pdf
Knoldus Inc.
 
Apache Camel framework Presentation and selection of apache camel for various...
chetansharma041
 
Enterprise Integration Patterns with Apache Camel
Ioan Eugen Stan
 
An introduction to Apache Camel
Kapil Kumar
 
Apache Camel Introduction
Claus Ibsen
 
OpenSouthCode 2018 - Integrating your applications easily with Apache Camel
José Román Martín Gil
 
Simplify your integrations with Apache Camel
Kenneth Peeples
 
Solving Enterprise Integration with Apache Camel
Christian Posta
 
Integration made easy with Apache Camel
Rosen Spasov
 
Apache Camel with Spring boot
Knoldus Inc.
 
Apache Camel with Spring boot
Knoldus Inc.
 
01 apache camel-intro
RedpillLinpro
 
Enterprise Integration Patterns and Apache Camel
Miloš Zubal
 
Essential Camel Components
Christian Posta
 
Apache camel
Marut Singh
 
Apache Camel - Stéphane Kay - April 2011
JUG Lausanne
 
Enterprise Integration Patterns and DSL with Apache Camel
Dmitry Buzdin
 
Red Hat Open Day JBoss Fuse
Adrian Gigante
 
Are you new to Apache Camel
gnanagurus
 
Ad

More from Knoldus Inc. (20)

PPTX
Angular Hydration Presentation (FrontEnd)
Knoldus Inc.
 
PPTX
Optimizing Test Execution: Heuristic Algorithm for Self-Healing
Knoldus Inc.
 
PPTX
Self-Healing Test Automation Framework - Healenium
Knoldus Inc.
 
PPTX
Kanban Metrics Presentation (Project Management)
Knoldus Inc.
 
PPTX
Java 17 features and implementation.pptx
Knoldus Inc.
 
PPTX
Chaos Mesh Introducing Chaos in Kubernetes
Knoldus Inc.
 
PPTX
GraalVM - A Step Ahead of JVM Presentation
Knoldus Inc.
 
PPTX
Nomad by HashiCorp Presentation (DevOps)
Knoldus Inc.
 
PPTX
Nomad by HashiCorp Presentation (DevOps)
Knoldus Inc.
 
PPTX
DAPR - Distributed Application Runtime Presentation
Knoldus Inc.
 
PPTX
Introduction to Azure Virtual WAN Presentation
Knoldus Inc.
 
PPTX
Introduction to Argo Rollouts Presentation
Knoldus Inc.
 
PPTX
Intro to Azure Container App Presentation
Knoldus Inc.
 
PPTX
Insights Unveiled Test Reporting and Observability Excellence
Knoldus Inc.
 
PPTX
Introduction to Splunk Presentation (DevOps)
Knoldus Inc.
 
PPTX
Code Camp - Data Profiling and Quality Analysis Framework
Knoldus Inc.
 
PPTX
AWS: Messaging Services in AWS Presentation
Knoldus Inc.
 
PPTX
Amazon Cognito: A Primer on Authentication and Authorization
Knoldus Inc.
 
PPTX
ZIO Http A Functional Approach to Scalable and Type-Safe Web Development
Knoldus Inc.
 
PPTX
Managing State & HTTP Requests In Ionic.
Knoldus Inc.
 
Angular Hydration Presentation (FrontEnd)
Knoldus Inc.
 
Optimizing Test Execution: Heuristic Algorithm for Self-Healing
Knoldus Inc.
 
Self-Healing Test Automation Framework - Healenium
Knoldus Inc.
 
Kanban Metrics Presentation (Project Management)
Knoldus Inc.
 
Java 17 features and implementation.pptx
Knoldus Inc.
 
Chaos Mesh Introducing Chaos in Kubernetes
Knoldus Inc.
 
GraalVM - A Step Ahead of JVM Presentation
Knoldus Inc.
 
Nomad by HashiCorp Presentation (DevOps)
Knoldus Inc.
 
Nomad by HashiCorp Presentation (DevOps)
Knoldus Inc.
 
DAPR - Distributed Application Runtime Presentation
Knoldus Inc.
 
Introduction to Azure Virtual WAN Presentation
Knoldus Inc.
 
Introduction to Argo Rollouts Presentation
Knoldus Inc.
 
Intro to Azure Container App Presentation
Knoldus Inc.
 
Insights Unveiled Test Reporting and Observability Excellence
Knoldus Inc.
 
Introduction to Splunk Presentation (DevOps)
Knoldus Inc.
 
Code Camp - Data Profiling and Quality Analysis Framework
Knoldus Inc.
 
AWS: Messaging Services in AWS Presentation
Knoldus Inc.
 
Amazon Cognito: A Primer on Authentication and Authorization
Knoldus Inc.
 
ZIO Http A Functional Approach to Scalable and Type-Safe Web Development
Knoldus Inc.
 
Managing State & HTTP Requests In Ionic.
Knoldus Inc.
 
Ad

Recently uploaded (20)

PDF
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PDF
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
PDF
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
PDF
Biography of Daniel Podor.pdf
Daniel Podor
 
PDF
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
PDF
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
PDF
July Patch Tuesday
Ivanti
 
PDF
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
PDF
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
PDF
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
PPTX
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
PDF
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
PDF
Advancing WebDriver BiDi support in WebKit
Igalia
 
PPTX
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
PDF
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
PDF
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
PDF
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
PPTX
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
DOCX
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
Biography of Daniel Podor.pdf
Daniel Podor
 
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
July Patch Tuesday
Ivanti
 
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
Advancing WebDriver BiDi support in WebKit
Igalia
 
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 

Introduction To Apache Camel

  • 1. Presented By: Sakshi Mittal Introduction To Apache Camel
  • 2. Lack of etiquette and manners is a huge turn off. KnolX Etiquettes Punctuality Respect Knolx session timings, you are requested not to join sessions after a 5 minutes threshold post the session start time. Feedback Make sure to submit a constructive feedback for all sessions as it is very helpful for the presenter. Silent Mode Keep your mobile devices in silent mode, feel free to move out of session in case you need to attend an urgent call. Avoid Disturbance Avoid unwanted chit chat during the session.
  • 3. Agenda Enterprise Integration Pattern 01 02 03 04 05 What is Apache Camel? Let’s see a Real world Problem Apache Camel - Features and Architecture Demo and Conclusion Features and need of EAI/EIP
  • 4. Enterprise Integration Patterns? “Interesting applications rarely live in isolation. Whether your sales application must interface with your inventory application, your procurement application must connect to an auction site, or your PDA’s calendar must synchronize with the corporate calendar server, it seems that any application can be made better by integrating it with other applications. ” This is the overarching concept of EIP. Enterprise integration patterns (EIP) is a catalog of design patterns for developing systems to integrate new and existing software in a business environment. This is the basis for Apache Camel, implement and extend the integration patterns
  • 5. Enterprise Application Patterns/Enterprise Integration Pattern (Example) An organization may use various information systems −
  • 6. Enterprise Application Patterns/Enterprise Integration Pattern (Example) The systems mentioned in previous slide, work as individual islands of automation. Most often theses systems are stand alone and do not communicate with each other due to incompatibility issues such as - ● Operating systems they are residing on ● Database system used in the system ● Legacy systems not supported anymore EAI is an integration framework, a middleware, made of a collection of technologies and services that allows smooth integration of all such systems and applications throughout the enterprise and enables data sharing and more automation of business processes.
  • 7. Characteristics of EAI ● EAI is defined as "the unrestricted sharing of data and business processes among any connected applications and data sources in the enterprise." ● EAI, when used effectively allows integration without any major changes to current infrastructure. ● Extends middleware capabilities to cope with application integration. ● Uses application logic layers of different middleware systems as building blocks. ● Keeps track of information related to the operations of the enterprise e.g. Inventory, sales ledger and execute the core processes that create and manipulate this information. Need for Enterprise Integration ● Unrestricted sharing of data and business processes across an organization. ● Linkage between customers, suppliers and regulators. ● The linking of data, business processes and applications to automate business processes. ● Ensure consistent qualities of service (security, reliability etc.). ● Reduce the ongoing cost of maintenance and reduce the cost of rolling out new systems.
  • 8. What is Apache Camel? ● Concise Application Message Exchange Language. ● Apache Camel is a Java based open-source integration framework based on Enterprise Integration Patterns (EIP). ● Apache Camel allows your applications to accomplish - - Message routing between endpoints - Message transformation. - Protocol mediation. ● Camel use the established Enterprise Integration Patterns and out-of-the-box adapters with highly expressive Domain Specific Language (DSL) - Java, Spring XML, Scala and Groovy.
  • 9. REAL WORLD PROBLEM STATEMENT
  • 10. Why do we need to integrate Systems? Critical for your business to integrate. Why Integration Framework? ● Framework does the heavy lifting ● You can focus on tackling the Business Problem ● Not on “reinventing the wheel”.
  • 11. Apache Camel - A Little Overview Camel is a black box that receives messages from some endpoint and sends it to another one. Within the black box, the messages may be processed or simply redirected why have a framework for this?
  • 12. Apache Camel - Features ● Apache Camel is an open source Java framework that essentially provides an implementation of various EIPs ● Camel makes the integration easier by providing connectivity to a very large variety of transports and APIs. For example, you can easily route JMS to JSON, JSON to JMS, HTTP to JMS, FTP to JMS, even HTTP to HTTP, and connectivity to Microservices. ● Camel is extensible and thus in future more endpoints can be added easily to the framework. To wire EIPs and transports together, you use Domain Specific Languages (DSLs) such as Java, Scala, and Groovy. A typical Java routing rule may look like: This routing rule loads the files from the order directory, creates a JMS message with the contents of the file and sends that message to a queue called orderQueue.
  • 13. Apache Camel - Architecture
  • 14. Apache Camel - CamelContext
  • 15. CamelContext - Code Snippet The code snippet here will give you a glimpse of how a CamelContext is created in a Camel application:
  • 16. Apache Camel - Routes The router defines the rule for moving the message from to a to location. You use RouteBuilder to define a route in Java DSL.
  • 17. Apache Camel - Language Choice You may create the routes in different languages. Here are a few examples of how the same route is defined in three different languages:
  • 18. Apache Camel - Filters You use filter to select a part of input content. To set up a filter, you use any arbitrary Predicate implementation. The filtered input is then sent to your desired destination Endpoint. In this example, we filter out all orders for the soap so that those can be collectively sent to a soap supplier. You may combine multiple predicates in a single routing as here -
  • 19. Apache Camel - pom.xml Dependency You need to add few dependencies to use Camel. The dependencies are added in pom.xml. So open pom.xml and add following two dependencies -
  • 21. Conclusion Camel provides a ready-to-use framework that implements EIPs to ease your integration projects. It supports coding in domain-specific languages and also the use of XML.