Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • 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/apiImage Added

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

http://localhost:8080/routesImage Added

with Accept header of text/vnd.graphviz

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