CXF Example =========== This example shows how to work with CXF and Camel. It can be run using Maven or Ant. You will need to compile this example first: mvn compile To run the example of routing between different transport type mvn exec:java -PHttpToJMS To run the example of Camel transport type mvn exec:java -PCamelTransport To run the example of using WebServiceProvider API mvn exec:java -PWebServiceProvider To run the example with Ant a. You need to have Apache ActiveMQ , Apache CXF, Spring and Jetty installed. They can be downloaded from the following locations Apache ActiveMQ http://activemq.apache.org/ Apache CXF http://cxf.apache.org/ Spring 2.5 http://www.springframework.org/download Jetty6 http://dist.codehaus.org/jetty/ b. Export / Set home directories for the above as follows UNIX export ACTIVEMQ_HOME= export CXF_HOME= export SPRING_HOME= export JETTY_HOME= Windows set ACTIVEMQ_HOME= set CXF_HOME= set SPRING_HOME= set JETTY_HOME= c. To Run example of routing between different transport type using Ant, type ant To run the example of Camel transport type ant runCamelTransport To run the example of using WebServiceProvider API ant runWebServiceProvider To stop the example hit ctrl + c To use log4j as the logging framework add this to the pom.xml: log4j log4j and log4j.properties is located in src/main/resources For the latest & greatest documentation on how to use this example please see http://camel.apache.org/cxf-example.html If you hit any problems please let us know on the Camel Forums http://camel.apache.org/discussion-forums.html Please help us make Apache Camel better - we appreciate any feedback you may have. Enjoy! ------------------------ The Camel riders!