httpClientConfig

Version

Sample

<httpClientConfig maxRetries="5" adjustHostHeader="true">
<connection timeout="10000"/>
<proxy host="proxy.example.com" port="3128"/>
<authentication type="basic" user="user" password="pass"/>
<ssl keystoreLocation="classpath:client.jks" keystorePassword="secret"/>
</httpClientConfig>
<httpClientConfig maxRetries="5" adjustHostHeader="true">
    <connection timeout="10000"/>
    <proxy host="proxy.example.com" port="3128"/>
    <authentication type="basic" user="user" password="pass"/>
    <ssl keystoreLocation="classpath:client.jks" keystorePassword="secret"/>
</httpClientConfig>

Attributes

NameRequiredDefaultDescriptionExamples
maxRetriesfalse5Determines how often Membrane tries to send a message to a target before it gives up and returns an error message to the client. All tries to all servers count together. For example if you have 2 targets, and a RoundRobin strategy, then the number 5 means it tries, in this order: one, two, one, two, one. NOTE: the word "retries" is used incorrectly throughout this project. The current meaning is "tries". The first attempt, which is semantically not a "re"-try, counts as one already.-
useExperimentalHttp2false---

Child Elements

ElementDescriptionCardinality
authentication0..1
connection0..1
proxy0..1
sslConfigures inbound or outbound SSL connections.0..1

Can be used in