Camel supports a RESTful API for browsing and interacting with endpoints and routes to create and modify your Enterprise Integration Patterns.
Most resources are available at the very least as HTML, XML and JSON formats with some other formats being available.
Your web browser will serve up the HTML representation by default unless you specify the HTTP Accept
header
with text/xml
or application/xml
for XML and application/json
for JSON.
Though you can typically add .xml or .json to a URI to get the XML or JSON respresentation in your browser
without having to mess around with Accept
headers.