ghttp
Component
Available as of Camel 2.1
The ghttp
component contributes to the Camel Components for Google App Engine (GAE). It provides connectivity to the GAE URL fetch service but can also be used to receive messages from servlets (the only way to receive HTTP requests on GAE). This is achieved by extending the Servlet component
. As a consequence, ghttp
URI formats and options sets differ on the consumer-side (from
) and producer-side (to
).
...
For receiving messages via the ghttp
component, a CamelHttpTransportServlet
must be configured and mapped in the application's web.xml
. For example, to handle requests targeted at http://<appname>.appspot.com/camel/*
or http://localhost/camel/*
(when using a local development server) the following servlet mapping must be defined:
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-gae</artifactId> <version>${camel-version}<<version>x.x.x</version> </dependency> |
...
Include Page | ||||
---|---|---|---|---|
|