Part 1: the first small step
Apache camel is an open-source integration framework designed to make system integration easier. In chapter 1 of this book, we will introduce it to you and show you how it can be integrated in large enterprise applications. You will also understand some of the principles and terminologies of camel.
The second chapter will focus on one of the most important features of CAMEL: message routing. Camel also provides two ways to define routing rules: Java-based domain-specific language (DSL) and spring xml configuration methods. In addition to creating routes, we will also show you how to use the enterprise integration framework (enterprise integration patterns -- EIP) and camel to solve system integration problems.
Chapter 1 Understanding camel
This section includes:
* Introduction to camel
* Main Features of camel
* Your first camel ride
* Architecture and principle of camel
Building a complex system from scratch requires a lot of effort, and most of them will not be very successful. A low-risk and quick way is to combine existing components or subsystems like a jigsaw puzzle. We usually need to integrate a good system, such as a system that integrates telephone communication, financial transactions, health care, tourism planning and entertainment activities.
You can complete the puzzle only when you combine all the sections in a simple and seamless manner into a complete image. This is also true for system integration. However, the small and medium sections of the jigsaw puzzle board are designed to work together with other small sections, but the subsystems to be integrated are almost none. The integration framework is to solve this problem. The integration framework does not need to think too much about how the system you want to integrate works, but how to work with it outside of it. A good integration framework can provide manageable abstract interfaces for the complex subsystems you want to integrate and can seamlessly integrate them. Of course, it must be simple enough.
Apache camel is such an integration framework. Through this book, we will help you understand what camel is, how it is used, and why it is the best integration framework.