Discussion:
Change Connector's Reconnect ("Connection Errors") params
(too old to reply)
Alon Kendler
2018-11-07 12:13:36 UTC
Permalink
Hi All,
I'm trying to set an HTTPClient's "Connection Errors" params during the connector's "Before CallReply" hook.

I was able to read the param's value using thisConnector.connector.getConfiguration().getReconnectConfig().getDelay() but couldn't find a way to set it.

Any way to do it?

Alon
Eddie Hartman
2018-11-07 17:26:21 UTC
Permalink
Post by Alon Kendler
Hi All,
I'm trying to set an HTTPClient's "Connection Errors" params during the connector's "Before CallReply" hook.
I was able to read the param's value using thisConnector.connector.getConfiguration().getReconnectConfig().getDelay() but couldn't find a way to set it.
Any way to do it?
Alon
Not sure you can change this once the AL has been instantiated. Let me check and revert if I find any enlightenment.

/Eddie
Alon Kendler
2018-11-08 07:24:26 UTC
Permalink
as I got an answer in the IBM slack:
this is working
thisConnector.connector.getConfiguration().getReconnectConfig().setParameter("retryDelay", 100);
Loading...