cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1953
Views
3
Helpful
3
Replies

Cisco Finesse Timeouts

mark.rennie1
Level 1
Level 1

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

3 Replies 3

dekwan
Cisco Employee
Cisco Employee

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

Hello Dekwan,
Can we increase Shindig which has a 5 second timeout for REST to 10 or 15 sec? instead of 5 sec can we increase? if so how can we do that please help!

dekwan
Cisco Employee
Cisco Employee

Hi,

 

Unfortunately this setting is not configurable.

 

Thanx,

Denise