Versions Compared

Key

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

...

Using Camel Components

In the route lets imaging imagine that the registration of the order has to be done by sending data to a TCP socket that could be a big mainframe. As Camel has many Components we will use the camel-mina component that supports TCP connectivity. So we change the route to:

...

As the to is a generic type we must state in the uri scheme which component it is. So we must write bean: for the {Bean] component that we are using.

...

This example was provided to demonstrate the Spring DSL (XML based) as opposed to the pure Java DSL from the first example. And as well to point about that the {{to]} doens doesn't have to be the last node in a route graph.

...