8 Developing Camel projects
This chapter covers
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?
This chapter shows you how to build your own Camel applications. We’ll go over the Maven archetype tooling that allows 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. We'll even show you how to debug your new Camel application.
After that, we’ll show you how to extend Camel by creating custom components. Creating custom components around large APIs isn’t easy, so we’ll also discuss Camel’s solution to this problem: the API component framework. This framework can generate a near fully functional component just from scanning an arbitrary Java API. Finally, we’ll wrap up by discussing custom data formats.