@Singleton @Primary public class DefaultPubSubMessageReceiverExceptionHandler extends java.lang.Object implements PubSubMessageReceiverExceptionHandler
PubSubListener
that do not
implement PubSubMessageReceiverExceptionHandler
interface.
Only logs the error. Messages will not be acked and will be redelivered for as long the subscription configuration
is set for message retries.Constructor and Description |
---|
DefaultPubSubMessageReceiverExceptionHandler() |
Modifier and Type | Method and Description |
---|---|
void |
handle(PubSubMessageReceiverException exception) |
public DefaultPubSubMessageReceiverExceptionHandler()
public void handle(PubSubMessageReceiverException exception)
handle
in interface io.micronaut.core.exceptions.ExceptionHandler<PubSubMessageReceiverException>