component rest - assimbly/gateway GitHub Wiki
The REST component can be used for host or client for REST API's.
Path
method:path[:uriTemplate]
Mostly the method is "get" or "post" and path some URL
Path Examples
post:test
post:test:{id}
Example
Common options
- host (the name and port of the server to host or send to)
- consumer component name (value are: jetty, undertow, servlet)
- consumes (Specifies the media type such as: text/xml or application/json)
- produces (Specifies the media type such as: text/xml or application/json)
For all options, see Camel documentation.