cHttp
Provides HTTP-based endpoints for consuming and producing HTTP resources.
For more information, see the Apache camel documentation https://camel.apache.org/components/latest/.
cHttp Standard properties
These properties are used to configure cHttp running in the Standard Job framework.
The Standard cHttp component belongs to the Connectivity family.
Basic settings
| Properties | Description |
|---|---|
|
Uri |
The URI of the Http resource to call. |
| Client | Select this option to use cHttp as a client to call external servers. |
| Server | Select this option to use cHttp as a server to produce Web services. |
|
Client Configuration / Method |
|
| Server Configuration / Disable Stream Cache | DefaultHttpBinding will copy the request input stream into a stream cache and put it into message body. When this check box is selected, DefaultHttpBinding will set the request input stream directly into the message body. |
| Server Configuration / Session Support | Select this check box to enable the session manager on the server side of Jetty. |
| Server Configuration / Use Transfer-Encoding | This option is enabled by default. If this check box is cleared, Jetty servlet will disable the HTTP streaming and set the content-length header on the response. |
| Server Configuration / Enable JMX | Select this option to enable Jetty JMX support for this endpoint. For more information about this option, see the sitehttp://camel.apache.org/jetty.html#Jetty-JettyJMXsupport. |
| Server Configuration / Match on URI Prefix | Select this check box to use the CamelServlet to find a target consumer by matching the URI prefix if no exact match is found. For more information about this option, see the site http://camel.apache.org/how-do-i-let-jetty-match-wildcards.html. |
| Server Configuration / Use Jetty Continuation | Select this check box to use Jetty continuations for the Jetty Server. For more information about this option, see the site http://wiki.eclipse.org/Jetty/Feature/Continuations. |
| Server Configuration / Enable HTTP TRACE | Select this option to enable the HTTP TRACE method. |
Advanced settings
| Properties | Description |
|---|---|
|
Headers |
Click the [+] button to add lines as needed and define the key and value for headers. See the site https://camel.apache.org/components/latest/http-component.html for available URI options. |
Usage
| Usage guidance | Description |
|---|---|
|
Usage rule |
cHttp provides Http based endpoints for consuming external Http resources, that is to say as a client to call external servers using Http. |
|
Limitation |
Due to license incompatibility, one or more JARs required to use this component are not provided. You can install the missing JARs for this particular component by clicking the Install button on the Component tab view. You can also find out and add all missing JARs easily on the Modules tab in the Integration perspective of Talend Studio. For details, see Installing external modules. |