You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Web Console

Only Available in 2.0

Please note that the Web Console is under active development and should be included in 2.0 of Camel

In its early form the easiest way to try out the web console is to 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

REST API

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

  • No labels