Timeout when java-actions dont respond?

2
Hi everybody, Is there a way to set a time-out for a java-action? What I'd like to achieve is that - if a java-action that connects to a 3rd party system doesn't respond (for for e.g. 30 seconds), it stops trying and returns an exception (enabling the Microflow to execute the "errorhandler path" of the microflow And if that is possible, is that an application-wide setting or a setting that can be set per java-action or microflow?
asked
1 answers
3

There is no predefined way to do this, but you could simply program this in your Java action yourself, for instance you could create another thread for it and poll it, or use a TimerTask or maybe you can even set a connection timeout on the connection to the third party system.

answered