[CONF] Apache Camel: Web Console (page edited)

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[CONF] Apache Camel: Web Console (page edited)

Dhiraj Bokde (Confluence)

Web Console has been edited by James Strachan (Feb 23, 2009).

(View changes)


Web Console

The Camel Web Console is available from versions 2.0 onwards and provides a full access over a RESTful API to camel endpoints, messages and routes.

Download and Run the Console

Download a recent snapshot of the camel-web-standalone-$VERSION.jar.

Then from the command line type

java -jar camel-web-standalone-2.0-SNAPSHOT.jar

You should now be able to point your browser at: http://localhost:8080/

Build and Run the Console

First get the latest Source then from the command line type

cd components/camel-web
mvn jetty:run

Then point your web browse at http://localhost:8080/

You should be able to do things like

  • browse the available endpoints
  • browse the messages on an endpoint if it is a BrowsableEndpoint
  • send a message to an endpoint
  • create new endpoints


Camel comes with a full RESTful API for interacting with the Camel context, the available endpoints and routes. You can browse details of the running API via http://localhost:8080/api

The web application uses mostly the same URIs for the HTML representation of a resource (e.g. /endpoints) as the JSON and XML representations. To help rendering the different representations in your browser you can append .xml, .html, .json or even .dot to URLs.

For example viewing these URLs are equivalent

URL Same as
http://localhost:8080/endpoints.xml http://localhost:8080/endpoints with Accept header of text/xml or application/xml
http://localhost:8080/endpoints.json http://localhost:8080/endpoints with Accept header of application/json
http://localhost:8080/routes.dot http://localhost:8080/routes with Accept header of text/vnd.graphviz

For more details try viewing the API documentation in your local Camel instance