...
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/*
Image Removed
(when using a local development server) the following servlet mapping must be defined:
Code Block |
xml |
---|
|
...
<servlet>
<servlet-name>CamelServlet</servlet-name>
<servlet-class>org.apache.camel.component.servlet.CamelHttpTransportServlet</servlet-class>
...
</servlet>
...
<servlet-mapping>
<servlet-name>CamelServlet</servlet-name>
<url-pattern>/camel/*</url-pattern>
</servlet-mapping>
...
|
...
Maven users will need to add the following dependency to their pom.xml
.
Code Block |
---|
|
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-gae</artifactId>
<version>x.x.x</version>
</dependency>
|
Include Page |
---|
| CAMEL:Endpoint See AlsoCAMEL: |
---|
| Endpoint See Also |
---|
|