Package org.awsutils.sqs.annotations
Annotation Interface HandlerMethod
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionAny SqsMessage that has a type used in the annotation would automatically be assigned to the handler annotated.String[]Issue types for which retries are to be suppressed.Exception types for which retries are to be suppressed.
-
Element Details
-
messageType
String messageTypeAny SqsMessage that has a type used in the annotation would automatically be assigned to the handler annotated.- Returns:
- Type
- Default:
- ""
-
skipRetryFor
String[] skipRetryForIssue types for which retries are to be suppressed. This will only for exceptions which are a sub class of ServiceException- Returns:
- Issue types
- Default:
- {}
-
skipRetryForExceptions
Exception types for which retries are to be suppressed.- Returns:
- Array of exception classes
- Default:
- {}
-