Interface SubscriberExceptionHandler
-
public interface SubscriberExceptionHandler
Interface thatCoherenceTopicListener
beans can implement to handle exceptions.- Since:
- 3.0
- Author:
- Jonathan Knight
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
SubscriberExceptionHandler.Action
An enumeration of possible actions to take after handling an exception.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SubscriberExceptionHandler.Action
handle(CoherenceSubscriberException exception)
Handle the given exception.
-
-
-
Method Detail
-
handle
SubscriberExceptionHandler.Action handle(CoherenceSubscriberException exception)
Handle the given exception.- Parameters:
exception
- the exception to handle- Returns:
true
to continue processing messages, orfalse
to close the subscriber.
-
-