Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Tutorial - camel-example-reportincident

Info
titleInformation

Work in progress by Claus Ibsen. Tutorial to be part of Camel 1.5. (CAMEL-601)

Introduction

Creating this tutorial was inspired by a real life use-case I discussed over the phone with a college. He was working at a client that whom uses a heavy-weight integration platform from a very large vendor. He was in talks with contractors developer shops to implement a new integration on this heavy piece of platform - his trouble was though that the price was tripled when the contractors heard it had to be on this platformplatform. His trouble was the shop tripled the price when they realized the platform of choice. So I was wondering how we could do this integration with Camel. Can it be done in one day, without tripling the cost (wink).

This tutorial is written during the development of the integration. I have decided to start off with a sample that isn't Camel's but standard Java and then plugin Camel as we goes. Just as when people needed to learn Spring you could consume it piece by piece, the same goes with Camel.

TODO: More about targeted end-users: beginner to low/medium knowledgeThe target reader is person whom hasn't experience or just started using Camel.

Motivation for this tutorial

I wrote this tutorial motivated as Camel lacked an example application that was based on the web application deployment model. The entire world hasn't moved to pure OSGi deployments yet. And as a bonus I have a development team that needs to get up to speed on newer technologies such as Apache CXF and Spring.

The use-case

The goal is to allow staff to report incidents into a central administration. For that they use client software where they report the incident and submit it to the central administration. As this is an integration in a transition phase the administration should get these incidents by email whereas they are manually added to the database. The client software should gather the incident and submit the information to the integration platform that in term will transform the report into an email and send it to the central administrator for manual processing.

...

This tutorial is divided into sections and parts:

Section A: Existing Solution, how to slowly use CamelTODO: Update part description
TODO: Links on each page to the other parts
Part 1 is - Is the prerequisites and how to setup the project and get a webservice exposed using Apache CXF. In fact we don't touch Camel yet.
Part 2 now - Now we are ready to introduce Camel piece by piece and create the full feature integration. This part will introduce different solutions with Camel.
Part 3 continue - Continued from part 2 where we implement that last part of the solution with the event driven consumer and how to send the email

Info
titleNot Written Yet

Section B: Camel
Currently not written - reserved for the future
Part 4

...

- Where are my routes! yes Camel is very much into routes - lets finally look at a elegant solution
Part 5

...

- Spring, how well Camel and Spring goes hand in hand
Part 6 - Camel Test Kit, yes see how easy it is to test Camel integrations.

Section C: The more advanced stuff
Currently not written - reserved for the future
Part 7 - The more advanced part

Children Display