Apache Camel Online Training

Apache Camel Online Training

INTRODUCTION


Use case, Environment Setup

Java Integration with Camel

Camel Components and Use
USING CAMEL IN A JAVA APPLICATION
Embedding Camel in a Spring application”

Message Routing

Content-Based Routing
FILTERING OUT UNWANTED MESSAGES
Wiretap sending a copy of the message elsewhere

Multicast routing the same message to many endpoints”

Routing to Your Code
OUTING MESSAGES DIRECTLY TO A JAVA METHOD
Sending messages directly to a Camel endpoint

Writing a custom Camel Processor”

Transformation
TRANSFORMING USING A SIMPLE EXPRESSION
Transforming inline with XQuery

Transforming with XSLT

Transforming from Java to XML with JAXB
TRANSFORMING FROM JAVA TO JSON
Transforming from XML to JSON”

Splitting and Aggregating

Splitting a message into fragments
TOPICSPLITTING XML MESSAGES
Processing split messages in parallel

Aggregating related messages

Aggregating with timeouts
AGGREGATING WITH INTERVALS
Parallel Processing

Increasing message consumption through multiple endpoint consumers

Spreading the load within a route using a set of threads


ROUTING A REQUEST ASYNCHRONOUSLY
Using custom thread pools

Error Handling and Compensation

Dead Letter Channel handling errors laterRETRYING AN OPERATION
Conditional retry

Customizing each redelivery attempt

Catching exceptions
MARKING EXCEPTIONS AS HANDLED
Fine-grained error handling using doTry doCatch

Defining completion actions

Defining completion actions dynamically

Web Services

Invoking a remote web service from Camel

Implementing a web service with a Camel route
MONITORING AND DEBUGGING
Setting up different Logger for each type

Logging errors

Encrypting and decrypting a message

Providing multiple web service operations within a single route

Handling web service faults

Share this with your friends:

Faculty Registration

Student Registration

Top