Using Camel Netty Components to manage socket routes

The netty component is a socket based Camel communication component, which relies on the Netty project. Netty is a client server framework designed around Java NIO API which enables fast and simple development of network applications either servers or clients. The advantage of using Netty is that it greatly simplifies network programming by means of API running on the top of TCP and UDP protocols.

Read more

Using a Camel Processor to modify the message

The Camel Processor is a key building block of Camel, and gives you full access to the message being transferred including the message body, any headers, and any properties associated with the message. By creating a Processor you can modify any of those elements, for example you can alter the body of the message transforming it from XML to CSV or you can add custom properties or headers to it. Let’s see how to build a custom Processor which transforms the body of a Message.

Read more

HelloWorld Camel tutorial

The following is an HelloWorld Camel. tutorial which was created just using the Command Line and a tool for editing the Camel project.

Read more

How to build a Camel route to JPA

In this tutorial we will learn how to persist some data on a PostgreSQL Database using a Camel route which is based on the Java Persistence API (JPA) defined in a project.

Read more

Camel and FTP tutorial

Camel provides simple and effective integration with ftp, sftp and ssh protocols. Let’s see some practical examples.

Read more

Simple Transformation with Camel

Camel provides many ways for data transformation. In this tutorial we will cover a simple example of data transformation by replacing the content of one file and writing a new file as result.

Read more