05-13-2016 05:52 AM
Hi,
We are building Finesse integration to our 3rd party CRM product using Java. We are using the REST API calls to make requests to Finesse and interpreting the responses from the notification service by creating an XMPP connection.
Do we need to worry about setting timeouts on the REST API calls in our code? If so has anyone else done this, or know what is the Cisco recommendation on timeouts?
E.g. If we make the REST API call to Sign a user in - do we need to time-out after X seconds? Or is it guaranteed that these will never timeout?
Similarly what if we fail to get a response from the notification service on XMPP. Should we have a timeout for receiving events back from this service? Has any one done this, or is the recommendation for how this should operate?
Thanks,
Mark
05-13-2016 09:57 AM
Hi,
It is best if you set the timeout on the REST API in your code because it not guaranteed that they will never time out.
In the Finesse out of the box UI, it uses Shindig which has a 5 second timeout for REST requests so I would recommend a 5 second timeout.
For the notifications, the Finesse out of the box UI waits 10 seconds for the event before it times out and displays an error.
Thanx,
Denise
10-04-2019 10:08 PM
10-09-2019 02:50 PM
Hi,
Unfortunately this setting is not configurable.
Thanx,
Denise
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide