Options - 6.3

Talend ESB Mediation Developer Guide

EnrichVersion
6.3
EnrichProdName
Talend Data Fabric
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Open Studio for ESB
Talend Real-Time Big Data Platform
task
Design and Development
EnrichPlatform
Talend ESB

Name

Default Value

Description

sessionSupport

false

Specifies whether to enable the session manager on the server side of Jetty.

httpClient.XXX

null

Configuration of Jetty's HttpClient . For example, setting httpClient.idleTimeout=30000 sets the idle timeout to 30 seconds.

httpClient

null

To use a shared HttpClient for all producers created by this endpoint. This option should only be used in special circumstances.

httpClientMinThreads

null

Starting with Camel 2.11: (Producer only): To set a value for minimum number of threads in the HttpClient thread pool. This setting overrides any setting configured at the component level. Notice that both a min and max size must be configured.

httpClientMaxThreads

null

Starting with Camel 2.11: (Producer only): To set a value for maximum number of threads in HttpClient thread pool. This setting overrides any setting configured at the component level. Notice that both a min and max size must be configured.

httpBindingRef

null

Reference to an Camel HttpBinding object in the Registry . HttpBinding can be used to customize how a response should be written for the consumer.

jettyHttpBindingRef

null

Reference to a Camel JettyHttpBinding object in the Registry . JettyHttpBinding can be used to customize how a response should be written for the producer.

matchOnUriPrefix

false

Whether or not the CamelServlet should try to find a target consumer by matching the URI prefix if no exact match is found. See here How do I let Jetty match wildcards.

handlers

null

Specifies a comma-delimited set of org.mortbay.jetty.Handler instances in your Registry (such as your Spring ApplicationContext). These handlers are added to the Jetty servlet context (for example, to add security).

chunked

true

If this option is false Jetty servlet will disable the HTTP streaming and set the content-length header on the response

enableJmx

false

If this option is true, Jetty JMX support will be enabled for this endpoint. See Jetty JMX support for more details.

disableStreamCache

false

Determines whether or not the raw input stream from Jetty is cached or not (Camel will read the stream into a in memory/overflow to file, Stream Caching ) cache. By default Camel will cache the Jetty input stream to support reading it multiple times to ensure it Camel can retrieve all data from the stream. However you can set this option to true when you for example need to access the raw stream, such as streaming it directly to a file or other persistent store. DefaultHttpBinding will copy the request input stream into a stream cache and put it into message body if this option is false to support reading the stream multiple times. If you use [Jetty] to bridge/proxy an endpoint then consider enabling this option to improve performance, in case you do not need to read the message payload multiple times.

throwExceptionOnFailure

true

Option to disable throwing the HttpOperationFailedException in case of failed responses from the remote server. This allows you to get all responses regardles of the HTTP status code.

transferException

false

Camel 2.6: If enabled and an Exchange failed processing on the consumer side, and if the caused Exception was send back serialized in the response as a application/x-java-serialized-object content type. On the producer side the exception will be deserialized and thrown as is, instead of the HttpOperationFailedException. The caused exception is required to be serialized.

bridgeEndpoint

false

If the option is true, HttpProducer will ignore the Exchange.HTTP_URI header, and use the endpoint's URI for request. You may also set the throwExceptionOnFailure to be false to let the HttpProducer send all the fault response back. If the option is true, HttpProducer and CamelServlet will skip the gzip processing if the content-encoding is "gzip". Also consider setting *disableStreamCache* to true to optimize when bridging.

enableMultipartFilter

true

Whether Jetty org.eclipse. jetty.servlets. MultiPartFilter is enabled or not. You should set this value to false when bridging endpoints, to ensure multipart requests is proxied/bridged as well.

multipartFilterRef

null

Allows using a custom multipart filter. Note: setting multipartFilterRef forces the value of enableMultipartFilter to true .

filtersRef

null

Allows using a custom filter which is put into a list and can be found in the Registry

continuationTimeout

null

Allows to set a timeout in milliseconds when using Camel Component: Jetty as consumer (server). By default Jetty uses 30000. You can use a value of <= 0 to never expire. If a timeout occurs then the request will be expired and Jetty will return back a http error 503 to the client. This option is only in use when using Camel Component: Jetty with the Asynchronous Routing Engine .

useContinuation

true

Whether or not to use Jetty continuations for the Jetty Server.

sslContextParametersRef

null

Reference to an org.apache.camel.util.jsse. SSLContextParameters object in the Camel Registry. This reference overrides any configured SSLContextParameters at the component level.

traceEnabled

false

Specifies whether to enable HTTP TRACE for this Jetty consumer. By default TRACE is turned off.

headerFilterStrategy

null

Starting with Camel 2.11: Reference to a instance of HeaderFilterStrategy in the Registry. It will be used to apply the custom headerFilterStrategy on the new create HttpJettyEndpoint.

urlRewrite

null

*Camel 2.11:* *Producer only* Refers to a custom UrlRewrite which allows you to rewrite urls when you bridge/proxy endpoints.

responseBufferSize

null

Camel 2.12: To use a custom buffer size on the javax.servlet.ServletResponse.

proxyHost

null

Camel 2.11:Producer only The http proxy Host url which will be used by Jetty client.

proxyPort

null

Camel 2.11:Producer only The http proxy port which will be used by Jetty client.

sendServerVersion

true

Camel 2.13: if the option is true, jetty will send the server header with the jetty version information to the client which sends the request. NOTE please make sure there is no any other camel-jetty endpoint is share the same port, otherwise this option may not work as expected.

SendDateHeader

false

Camel 2.14: if the option is true, jetty server will send the date header to the client which sends the request. NOTE please make sure there is no any other camel-jetty endpoint is share the same port, otherwise this option may not work as expected.