Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
src/main
pom.xml
readme.md

readme.md

Camel HTTP Proxy demo

A quick demo that shows how to do HTTP proxying in Camel. For additional documentation see https://access.redhat.com/site/documentation/en-US/JBoss_Fuse/6.0/html/Web_Services_and_Routing_with_Camel_CXF/files/Proxying-HTTP.html

This demo uses the following route definition

and proxies any HTTP requests coming to the url http://localhost:9000/weather to the external HTTP address http://weather.yahoo.com/united-states.

The most interesting files are src/main/resources/META-INF/spring/camel-context.xml src/main/java/org/apache/camel/test/MyRouteBuilder.java

Compiling

  • mvn install

Running