Syntax
<httpClient failOverOn5XX="[boolean]" keepAliveTimeout="[long]" /><httpClient failOverOn5XX="[boolean]" keepAliveTimeout="[long]" />
Sample
<beans>
<transport coreThreadPoolSize="20">
<ruleMatching />
<dispatching />
<userFeature />
<httpClient />
</transport>
</beans><beans> <transport coreThreadPoolSize="20"> <ruleMatching /> <dispatching /> <userFeature /> <httpClient /> </transport> </beans>
Attributes
| Name | Required | Default | Description | Examples |
|---|---|---|---|---|
| adjustHostHeader | false | true | Whether the HTTP "Host" header should be set before the response will be forwarded to its destination. Explanation: Set this to false, if the incoming HTTP "Host" header should not be modified. | - |
| failOverOn5XX | false | false | Whether to retry again (possibly the next node, when load balancing is active) after a HTTP status code 500<=x<600 was received. | - |
Child Elements
| Element | Description | Cardinality |
|---|---|---|
| httpClientConfig | Configuration container for Membrane's HTTP client. Allows defining proxy, connection, authentication, TLS, and retry behavior. Can be used as a reusable bean and referenced via . Most of its sub-elements are optional. | 0..1 |