Versions Compared

Key

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

...

Name

Type

Description

Exchange.HTTP_URI

String

URI to call. Will override existing URI set directly on the endpoint. Is set on the In message.

Exchange.HTTP_PATH

String

Request URI's path. Is set on the In message.

Exchange.HTTP_QUERY

String

URI parameters. Will override existing URI parameters set directly on the endpoint. Is set on the In message.

Exchange.HTTP_RESPONSE_CODE

int

The HTTP response code from the external server. Is 200 for OK.

Exchange.HTTP_CHARACTER_ENCODING

String

Character encoding. Is set on the In message.

Exchange.HTTP_CONTENT_TYPE

String

Content The HTTP content type. Is set on both the In messageIN and OUT message to provide a content type, such as text/html.

Exchange.HTTPCONTENT_RESPONSE_CODEENCODING

int String

The HTTP response code from the external servercontent encoding. Is 200 for OK. Is set on both the Out message.

...

IN and OUT message to provide a content encoding, such as gzip.

Message Body

Camel will store the HTTP response from the external server on the Out OUT body. All headers from the In IN message will be copied to the Out OUT message, so headers are preserved during routing.
Additionally Camel will add the HTTP response headers as well to the Out OUT message headers.

Response code

Camel will handle according to the HTTP response code:

...