12/24/2023 0 Comments Apache http clientThe time for connection to live, the time unit is millisecond, the default value is always keep alive.Ĭ-per-route A negative value is interpreted as undefined (system default).Ĭ-state-disabledĬ-time-to-live A timeout value of zero is interpreted as an infinite timeout. The timeout in milliseconds used when requesting a connection from the connection manager. A negative value is interpreted as undefined (system default).Ĭ-request-timeout The option is a .HttpClientConnectionManager type.ĭetermines the timeout in milliseconds until a connection is established. If this has been configured then this is always used for all endpoints created by this component. To use a custom and shared HttpClientConnectionManager to manage connections. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc.Ĭ-connection-manager This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which then gets configured on the component. If you enable this then be aware that Java will deserialize the incoming data from the request to Java and that can be a potential security risk.Ĭ-caching-disabledĬ-retries-disabledĭisables automatic request recovery and re-execution. Whether to allow java serialization when a request uses context-type=application/x-java-serialized-object. If setting this option to true, then the producers will not cache the response body stream but use the response stream as-is as the message body.Ĭ-java-serialized-object ![]() The http producer will by default cache the response body stream. If you use Servlet 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. 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. 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. By default Camel will cache the Servlet input stream to support reading it multiple times to ensure it Camel can retrieve all data from the stream. Determines whether or not the raw input stream from Servlet is cached or not (Camel will read the stream into a in memory/overflow to file, Stream caching) cache.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |