Class ErrorHandlingTaskExecutor
java.lang.Object
org.springframework.integration.util.ErrorHandlingTaskExecutor
- All Implemented Interfaces:
Executor,TaskExecutor
A
TaskExecutor implementation that wraps an existing Executor
instance in order to catch any exceptions. If an exception is thrown, it
will be handled by the provided ErrorHandler.
After invoking ErrorHandler, the current observation scope will be closed.
- Author:
- Jonas Partner, Mark Fisher, Gary Russell, Artem Bilan
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ErrorHandlingTaskExecutor
-
-
Method Details
-
isSyncExecutor
public boolean isSyncExecutor() -
execute
- Specified by:
executein interfaceExecutor- Specified by:
executein interfaceTaskExecutor
-