Versions Compared

Key

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

...

The Camel CXF example is a demo of the camel-cxf component to show how to route messages between CXF endpoints, with one endpoint consuming a SOAP over HTTP request while the other providing a SOAP over JMS request for the actual CXF Service endpoint. The Camel router just routs the SOAP over HTTP CXF client request to the SOAP over JMS CXF service.

To run the example we use the maven exec plugin. From the source or binary distribution the following should work

...

see instructions in the README.txt file in the camel-example-cxf

...

directory under examples.

We start with creating a CamelContext - which is a container for Components, Routes etc:

...