Uses of Class
dk.cloudcreate.essentials.components.foundation.messaging.MessageDeliveryErrorHandlerBuilder
Packages that use MessageDeliveryErrorHandlerBuilder
-
Uses of MessageDeliveryErrorHandlerBuilder in dk.cloudcreate.essentials.components.foundation.messaging
Methods in dk.cloudcreate.essentials.components.foundation.messaging that return MessageDeliveryErrorHandlerBuilderModifier and TypeMethodDescriptionMessageDeliveryErrorHandlerBuilder.alwaysRetryOn(Class<? extends Exception>... exceptions) The resultingMessageDeliveryErrorHandlerwill keep retrying message redelivery no matter how many times message handling experiences an exception for in the list ofexceptions.
It will first attempt to match directly onExceptionclass, next it will attempt to match on hierarchy (i.e.MessageDeliveryErrorHandlerBuilder.alwaysRetryOn(List<Class<? extends Exception>> exceptions) The resultingMessageDeliveryErrorHandlerwill keep retrying message redelivery no matter how many times message handling experiences an exception for in the list ofexceptions.
It will first attempt to match directly onExceptionclass, next it will attempt to match on hierarchy (i.e.MessageDeliveryErrorHandler.builder()Create a new builder for a flexibleMessageDeliveryErrorHandlerwhich supports both alwaysRetryOnExceptions and stopRedeliveryOnExceptionsMessageDeliveryErrorHandlerBuilder.stopRedeliveryOn(Class<? extends Exception>... exceptions) The resultingMessageDeliveryErrorHandlerwill stop message redelivery in case message handling experiences an exception for in the list ofexceptions.
It will first attempt to match directly onExceptionclass, next it will attempt to match on hierarchy (i.e.MessageDeliveryErrorHandlerBuilder.stopRedeliveryOn(List<Class<? extends Exception>> exceptions) The resultingMessageDeliveryErrorHandlerwill stop message redelivery in case message handling experiences an exception for in the list ofexceptions.
It will first attempt to match directly onExceptionclass, next it will attempt to match on hierarchy (i.e.