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
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumAn 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:
trueto continue processing messages, orfalseto close the subscriber.
-