4.13 out of 5
4.13
410 reviews on Udemy

Apache Camel for Beginners – Learn by Coding in Java

Learn Apache Camel framework by coding and building apps in Java.
Instructor:
Dilip S
1,967 students enrolled
Complete understanding of Apache Camel framework and how to use and implement it in real time.
Learn to develop a stand alone Java camel app that read the data from JMS and persist in to DB.
Learn to develop a stand alone Java camel app that read the data from Kafka and persist in to DB.
Learn to develop a stand alone Java camel app that read the data from Rest Endpoint and persist in to DB.
Learn to build and run the project in your machine.
This course will be continuously updated.

Learn Apache Camel framework by coding it in Java. This is purely a coding course where you will be performing ton of code throughout the course. This course will cover integrations with Kafka, Active MQ, Postgres SQL , Rest WebServices and etc.,

Why should I take this course ?

  • This course will provide you the fundamentals of  how Apache Camel works?
  • All the concepts will be explained through code.
  • This course will walk you through the camel concepts step by step.
  • Gain confidence on the Apache Camel framework by developing and running the Apache Camel apps.
  • By the end of this course you will have a complete understanding of Apache Camel and how to implement these concepts real time.


Course Overview:

Section 1: Getting Started

  • This section explains about the author and course overview.

Section 2: Why Camel ?

  • This section explains about Why camel is a powerful integration tool in the world.

Section 3 :  WorkSpace Setup

  • This sections covers installation of Java and Intellij on a Mac machine.
  • This section covers installation of Java and Intellij on a Windows machine.

Section 4: Coding a Simple Route

This section covers coding a simple route, enable logging in the route, multiple routes in camel , how camel transports content behind the scenes and producers and consumers in camel.

  • Lab exercise on how to code a simple route.
  • Lab exercise on how to enable logging in the route.
  • Explanation on how camel transports the content behind the scenes.
  • Producers and Consumers in Camel.
  • Lab exercise on how to code multiple routes in camel.

Section 5: Camel Architecture

  • This section covers the explanation of Camel Architecture.

Section 6: Testing the CamelRoute

This sections covers the different ways of testing a camel route.

  • Lab exercises on how to test a camel route using JUnit.
  • Lab exercise on how and when to use Direct component in camel.
  • Lab exercise on how and when to use Mock component in camel.

Section 7: Transform using Camel

This sections covers different ways of converting the input from one form to another form.

  • Lab exercise on how to transform the content using processor in camel.
  • Lab exercise on how to integrate the processor and direct component in camel.
  • Lab exercise on how to transform the content using transform method in camel.

Section 8: Error Handling in Camel

This sections covers the different approaches of handling the exceptions in camel.

  • Introduction to Exception handling and life cycle of exceptions.
  • Lab exercise on DefaultError Handler in Camel.
  • Lab exercise on OnException method in camel.
  • Lab exercises on Handling the exceptions using the OnException method.
  • Lab exercises on ignoring the exceptions using OnException.

Section 9 : Enterprise Integration Patterns

This section covers different enterprise integration patterns  in camel.

  • Lab exercise on Content based Router.
  • Lab exercise on MultiCast Enterprise Integration Pattern.
  • Lab exercise on Recipient List Enterprise Integration Pattern.
  • Lab exercise on WireTap Enterprise Integration Pattern.

Section 10 : Create a stand alone Java Camel App that reads the data from JMS to DB

In this section we will develop a stand alone Java Camel app that connects to Apache Active MQ to DB.

  • Learn to download and run the Apache Active MQ in your machine.
  • Lab exercise on How to connect to ActiveMQ using Camel.
  • Lab exercise on How to connect to PostGres DB using Camel.
  • Lab exercise on How to handle exceptions in the route.
  • Learn to built the Java app and run the app in your machine.

Section 11 : Create a Route from Kafka to DB

In this section we will develop a stand alone Java Camel app that reads the data from Apache Kafka to DB.

  • Learn to download and run the Apache Kafka in your machine.
  • Lab exercise on How to connect to Kafka using Camel.
  • Lab exercise on How to connect to PostGres DB using Camel.
  • Lab exercise on How to handle exceptions in the route.
  • Learn to built the Java app and run the app in your machine.

Section 12 : Create a Route from Rest Endpoint to DB

In this section we will develop a stand alone Java Camel app that connects to Rest Endpoint to DB.

  • Lab exercise on How to connect to Rest Endpoint using Camel.
  • Lab exercise on How to connect to PostGres DB using Camel.
  • Lab exercise on How to handle exceptions in the route.
  • Learn to built the Java app and run the app in your machine.

By the end of this course you will gain the complete understanding of how apache camel works and how to integrate with different technologies such as Kafka, JMS, Postgres SQL, RestEndpoint etc.,

Introduction

1
About the Course
2
About the Author

WorkSpace Setup - MAC

1
Installing Java in Mac

In this lecture, we will have a demo on Installing Java on Mac.

2
Installing Intellij on Mac

In this tutorial, we will have a demo on installing IntelliJ on Mac.

WorkSpace Setup - Windows

1
Installing Java in Windows

In this tutorial we will have a demo on how to Install Java in Windows.

2
Installing Intellij in Windows

Coding a Simple Camel Route

1
Lab : Coding a Simple Camel Route

In this tutorial, we will code a simple camel route that will copy the data from one folder to another folder.

2
Lab : Logging in Camel

In this tutorial, we will have a code exercise on how to enable logging in a camel route.

3
How Camel Transports the content ?

In this tutorial , we will discuss about to how to camel transports the content from source to destination.

4
Producers and Consumers in Camel

In this tutorial, we will discuss about how consumers and producers fit in the camel world.

5
Lab: Multiple Camel Routes

In this tutorial we will have a lab exercise on how to code multiple camel routes in camel.

Camel Architecture

1
Camel Architecture

In this tutorial, we will talk about the Camel Architecture.

Testing the Camel Route

1
Lab : How to test the Camel Route ?

In this tutorial, we will have a coding exercise on how to test a route.

2
Lab : Testing a route using Direct Component

In this tutorial, we will have a code exercise on how to test a route using direct component.

3
Lab : Testing a Route using Mock Component

In this tutorial, we will have a code exercise on how to test a route using Mock component.

Why Camel ?

1
Why Camel ?

In this tutorial we will talk about Why Camel ?

Camel Boiler Plate Code

1
Lab : Camel Boiler Plate Explained

Transform Using Camel

1
Lab : Transform using Processor in camel
2
Lab : Trasnform using Processor + Direct Component

In this tutorial, we will write the code to transform the content from one form to another form using Processor.

3
Lab Transform using transform() method

In this tutorial, we will write the code to transform the content from one form to another form using transform method.

4
Lab Transform using bean() method

In this tutorial, we will write the code to transform the content from one form to another form using bean method.

5
Lab: Marshaling/UnMarshaling XML using Xstream library - Part1 - Marshaling

In this tutorial, we will marshal the content from one form to another form using XStream library.

6
Lab: Marshaling/UnMarshaling XML using Xstream library - Part2 - UnMarshaling

In this tutorial, we will un-marshal the content from one form to another form using XStream library.

7
Lab: Trasnform XML/JSON - JSON/XML

In this tutorial, we will transform the content from xml/json and vice versa using the xml-json library

8
Lab: Marshal JSON using camel-gson

This tutorial covers the camel-gson library which is part of camel-gson. Explores the marshaling of camel-gson.

9
Lab: UnMarshal JSON using camel-gson

This tutorial covers the un-marshaling using camel-gson library

Transform Using Camel - Camel Bindy

1
Lab : Unmarshal CSV

This tutorial explains about Unmarshaling a csv file with different delimiters and other options.

2
Lab : Marshal CSV

This tutorial will explain about marshaling a csv file and different options.

3
Lab : Unmarshal CSV - Using Link

This tutorial covers un-marshaling a CSV file using Link.

4
Lab : Marshal CSV - Using Link

This tutorial covers marshalling a CSV file using Link annotation.

5
Lab : UnMarshal Fixed Length File

In this tutorial we will take a look at un-marshaling a fixed length file using Camel Bindy.

6
Lab : UnMarshal Fixed Length File with Date Field

In this tutorial we will discuss about unmarshaling a date field which is part of the fixed length file.

7
Lab : UnMarshal Fixed Length File with Delimiter

This tutorial covers about Unmarshaling a fixed length file with a Delimiter.

8
Lab : UnMarshal Fixed Length File with Currency field

This tutorial explains about un-marshaling the currency related fields using camel Bindy

9
Lab : Marshal Fixed Length File

This tutorial covers marshaling a fixed length file using camel-bindy library.

Error Handling in Camel

1
Exception Handling in Apache Camel - Intro and Life Cycle

In this tutorial we will discuss about the error handling module in Apache Camel.

2
Error Handling – Approach 1 – Default Error Handler

In this tutorial, we will discuss and code the default error handler in camel.

3
Error Handling – Approach 2 – Catching/Retry Exceptions

This tutorial covers the exception handling using OnException method in camel.

4
Error Handling – Approach 2 – Handling Exceptions

This tutorial covers the exception handling using OnException method in camel.

5
Error Handling – Approach 2 – Ignoring Exceptions

This tutorial covers the exception handling using OnException in camel.

Enterprise Integration Patterns

1
Apache Camel EIP - Quick Intro

This tutorial provides the overview of different types of Enterprise Integration Patterns.

2
Content Based Router EIP - Part 1

In this tutorial, we will have a Coding exercise about the Content Based Router EIP.

3
Content Based Router EIP - Part 2

In this tutorial, we will have a coding exercise about the Content Based Router EIP.

4
MultiCasting EIP

In this tutorial, we will have a coding exercise about the MultiCast EIP.

5
Recipient List EIP

In this tutorial, we will have a coding exercise about the RecipientList EIP.

6
WireTap EIP

In this tutorial, we will have a coding exercise about the WireTap EIP.

Enterprise Integration Patterns - Aggregator - EIP

1
Aggregator - EIP - CompletionSize

This lecture shows you the demo of aggregating messages using completion size condition.

2
Aggregator - EIP - CompletionTimeout

This lecture shows you a demo on how to add multiple conditions to a route.

3
Aggregator - EIP - CompletionPredicate

This tutorial covers the logic of aggregating messages using the completionPredicate() method.

4
Aggregator - EIP - GroupedExchangeAggregatorStrategy

This tutorial explains about aggregating exchanges using GroupedExchange Strategy class which is part of the camel library.

App#1 - Create a Route from JMS to DB

1
Application Overview

This tutorial explains about the app that will be developed as part of this section.

2
How to install/Run Active MQ in your machine

This tutorial will show you the demo about how to run Apache ActiveMQ in your machine.

3
Lab: How to connecto to Active MQ using Camel

Coding exercise on how to connect to the activeMQ using camel.

4
Download and Install postgres DB in Mac
5
Download and Install postgres DB in Windows

This tutorial shows you the demo on how to do download and install Postgres DB in windows.

6
Lab : How to insert intoPostgres DB using Camel - Part 1

Coding exercise on how to connect to the DB using Apache camel.

7
Lab : How to insert intoPostgres DB using Camel - Part 2

Coding exercise on how to connect to the DB using Apache camel.

8
How to configure DB in Intellij

Demo on how to configure Postgres DB client in IntelliJ.

9
Lab : Integrate JMS and DB Camel Route

Coding exercise on how to integrate both the JMS and JDBC route in to a one single route.

10
Lab : Exception Handling

Coding exercise on how to handle exceptions in the route.

11
Lab : Build and Run the fully developed app

Coding exercise ton how to build and run the fully developed app.

12
Summary

Summary on the app that we developed as part of this section.

App # 2 - Create a Route from Kafka to DB

1
Application Overview

This tutorial explains about the application that will be developed as part of this section.

2
Download and Install Kafka

This tutorial covers how to download and install Kafka in your machine.

3
How to Start Kafka Broker and Zookeeper
4
How to Create Topic, Producer and Consume Messages, Kafka Log Folder
5
How to connect to Kafka using Camel

This tutorial covers the coding exercise on how to connect to kafka using camel.

6
Download and Install postgres DB in Mac

This tutorial shows you the demo on how to install postgres DB in mac.

7
Download and Install postgres DB in Windows

This tutorial shows you the demo on how to install postgres DB in Windows machine.

8
Lab : How to insert intoPostgres DB using Camel

This tutorial covers the coding exercise on how to insert data into the DB using camel.

9
How to configure DB in Intellij

This tutorial covers how to configure DB in Intellij.

10
Lab : Integrate Kafka and DB Camel Route

This tutorial covers the coding exercise on how to integrate Kafka and DB in to one single route.

11
Lab : Exception Handling

This tutorial covers how to handle the exceptions in the Kafka to DB route.

12
Lab : Build and Run the fully developed app

This tutorial covers how to build the project and run the project in your machine.

13
Summary

App # 3 - Create a Route from REST to DB

1
Application Overview

This tutorial explains the application that will be developed in this section.

2
Countries : Rest Endpoint

This tutorial covers the rest end point that we will be connecting as part of this tutorial.

3
Lab: How to connect to rest endoint using camel

This tutorial covers the coding exercise on how to connect to the rest end point in camel.

4
Lab : How to insert intoPostgres DB using Camel

This tutorial covers the coding exercise on how to connect to db in camel.

5
Lab: Integrate the REST and DB Camel Route

This tutorial covers the coding exercise on how to integrate the rest and db route in camel.

6
Lab : Exception Handling

This tutorial covers the coding exercise on how to handle exceptions in the camel route.

7
Lab : Build and Run the fully developed app

This tutorial covers demo on how to build and run the java app in your machine.

8
Summary

Bonus Lecture

You can view and review the lecture materials indefinitely, like an on-demand channel.
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don't have an internet connection, some instructors also let their students download course lectures. That's up to the instructor though, so make sure you get on their good side!
4.1
4.1 out of 5
410 Ratings

Detailed Rating

Stars 5
153
Stars 4
139
Stars 3
83
Stars 2
24
Stars 1
11
940cbcab5490e871f8408acfe9d49a8c
30-Day Money-Back Guarantee

Includes

11 hours on-demand video
1 article
Full lifetime access
Access on mobile and TV
Certificate of Completion