Specify max time limit for a single call

Questions and answers about Plum Fuse+

Moderators: admin, support

  • Author
  • Message
Offline

mushfek0001

  • Posts: 20
  • Joined: Wed Mar 14, 2018 1:31 am

Specify max time limit for a single call

PostSat Aug 25, 2018 8:20 am

Hi,

I was looking for any way to specify max time limit for a single call but couldn't find anywhere in the documentation. Is there a feature like that? I'd also like to know if there's any default settings that I can set when one of my REST backend service is down. Like setting a different prompt for that. Currently the default prompt says "An unexpected error has occurred" and then quits for any unhandled non 2xx response. How can I determine it was a timeout and put a more appropriate prompt in that case?

Thanks.
Offline

support

  • Posts: 3621
  • Joined: Mon Jun 02, 2003 3:47 pm
  • Location: Boston, MA

Re: Specify max time limit for a single call

PostMon Aug 27, 2018 9:29 am

Hi,

Currently there is not a max time limit for a single call, but if you would like to adjust your input timeout or webservice timeout settings, that can be found under the Application Settings tab in your application. There is also a transfer duration setting here you can set to allow a maximum amount of time for a transfer to last.

To use custom error handling on your REST modules, you can click the gear icon in the top right corner of the module and select Show Custom Errors; this will add a red branch to the module that you can then connect to other modules in whatever way you would like to handle the error. If you want to branch on webservice errors that are timeouts vs. non-2XX responses, you can branch off the shadow variables returned by your webservice module, name$.http_code, name$.headers, and name$.error, where name is the name of your module.

You can find more information on shadow variables in our documentation here: https://www.plumvoice.com/docs/fuse/shadow_variables

Regards,
Plum Support
Offline

mushfek0001

  • Posts: 20
  • Joined: Wed Mar 14, 2018 1:31 am

Re: Specify max time limit for a single call

PostTue Aug 28, 2018 4:54 am

Thanks. Shadow variables will be of great help but I needed one more clarification. By transfer you mean call transfer not data transfer during a webservice call, right?
Offline

support

  • Posts: 3621
  • Joined: Mon Jun 02, 2003 3:47 pm
  • Location: Boston, MA

Re: Specify max time limit for a single call

PostTue Aug 28, 2018 8:18 am

Hi,

Yes, you are correct - by transfer, we mean a call transfer.

Regards,
Plum Support

Return to Plum Fuse+ Q&A

Who is online

Users browsing this forum: No registered users and 1 guest

cron