You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ErrorHandler interface was added for TaskScheduler implementations in 3.0. However, the interface itself is completely generic and could also be used for handling uncaught errors (other than JMSExceptions, which are already handled by the JMS ExceptionListener) in a MessageListener container rather than logging only.
First, the ErrorHandler interface should be moved from the 'scheduling' package to 'util'.
This also required some changes to classes/methods that were previously package-protected, since the dependency is shared across multiple sub-packages under 'scheduling'.
Mark Fisher opened SPR-6142 and commented
The ErrorHandler interface was added for TaskScheduler implementations in 3.0. However, the interface itself is completely generic and could also be used for handling uncaught errors (other than JMSExceptions, which are already handled by the JMS ExceptionListener) in a MessageListener container rather than logging only.
First, the ErrorHandler interface should be moved from the 'scheduling' package to 'util'.
Referenced from: commits 616a48a, dedecf7
The text was updated successfully, but these errors were encountered: