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

Compare with Current View Page History

« Previous Version 4 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

The web application has a mirrored REST API so that you can view the HTML representation of a resource (e.g. /endpoints) or get the representation as JSON or XML. To help rendering the different representations in your browser you can append .xml or .html or .json 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

  • No labels