Question & Answer
Question
How do I configure the API Invoke policy persistent idle timeout?
Cause
There is no persistent idle timeout setting visible in the Invoke policy or in the knowledge center. I need to know what it is configured to by default and if I can change the invoke persistent timeout.
Answer
The Invoke policy endpoint when persistent connections are enabled will check and try to close the persistent idle connection after at most 32 seconds.
A persistent idle connection could be closed in as quickly as 16 seconds.
As in many other technotes, the suggestion is to allow the client side of the connection. In this case the Invoke policy running on the gateway is to close the connection first.
As in many other technotes, the suggestion is to allow the client side of the connection. In this case the Invoke policy running on the gateway is to close the connection first.
IF the endpoint has a low persistent timeout, then you can experience connection failures when the Invoke tries to reuse the connection only to find the server/endpoint trying to close.
Always have the server side persistent timeout greater than the client so that any Invoke endpoints using persistent connections should have an idle persistent timeout greater than 32 seconds.
[{"Type":"MASTER","Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSMNED","label":"IBM API Connect"},"ARM Category":[{"code":"a8m50000000CeCeAAK","label":"API Connect-\u003ENetworking (NT)-\u003EConnectivity"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]
Was this topic helpful?
Document Information
Modified date:
14 November 2023
UID
ibm17073503