Package io.micronaut.coherence.messaging
Interface SubscriberExceptionHandler
public interface SubscriberExceptionHandler
Interface that
CoherenceTopicListener
beans can implement to handle exceptions.- Since:
- 1.0
- Author:
- Jonathan Knight
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
An enumeration of possible actions to take after handling an exception. -
Method Summary
Modifier and TypeMethodDescriptionhandle
(CoherenceSubscriberException exception) Handle the given exception.
-
Method Details
-
handle
Handle the given exception.- Parameters:
exception
- The exception to handle- Returns:
true
to continue processing messages, orfalse
to close the subscriber.
-