Chapter 11. Developing Camel projects

 

This chapter covers

  • Creating Camel projects with Maven
  • Creating Camel projects in the Eclipse IDE
  • Creating custom components
  • Creating custom interceptors
  • Using Camel in alternative languages

At this point you should know a thing or two about how to develop Camel routes and how to take advantage of many Camel features. But do you know how to best start a Camel project from scratch? You could take an existing example and modify it to fit your use case, but that’s not always ideal. And what if you need to integrate with a system that isn’t supported out of the box by Camel?

In this chapter, we’ll show you how to build your own Camel applications. We’ll go over the Maven archetype tooling that’ll allow you to skip the boring boilerplate project setup and create new Camel projects with a single command. We’ll also show you how to start a Camel project from Eclipse, when you need the extra power that an IDE provides.

After that, we’ll show you how to extend Camel by creating custom components and custom interceptors. Finally, we’ll wrap up by showing you how Camel projects can be created in languages other than Java, like Scala.

11.1. Managing projects with Maven

11.2. Using Camel in Eclipse

11.3. Developing custom components

11.4. Developing interceptors

11.5. Using alternative languages

11.6. Summary and best practices

sitemap