...
Camel 2.0
Name | Type | Description |
---|---|---|
HttpConstants Exchange.HTTP_URI | String | URI to call. Will override existing URI set directly on the endpoint. Is set on the IN message. |
HttpConstants Exchange.HTTP_PATH | String | Request URI's path. Is set on the IN message. |
HttpConstants Exchange.HTTP_QUERY | String | URI parameters. Will override existing URI parameters set directly on the endpoint. Is set on the IN message. |
HttpConstants Exchange.HTTP_CHARACTER_ENCODING | String | Character encoding. Is set on the IN message. |
HttpConstants Exchange.HTTP_CONTENT_TYPE | String | Content type. Is set on the IN message. |
HttpConstants Exchange.HTTP_RESPONSE_CODE | int | The http response code from the external server. Is 200 for OK. Is set on the OUT message. |
NOTE from Camel 2.0m2, we move the message headers' constants from HttpConstants to Exchange
Message Body
Camel will store the http response from the external server on the OUT body. All headers from the IN message will be copied to the OUT message so headers is preserved during routing.
Additionally Camel will add the http response headers as well to the OUT message.
...