Annotation Interface SqsHandler
Methods that are from classes annotated with
SqsListener and are annotated with SqsHandler will be
marked as the target of the SQS message listener based on the message payload type.
Each payload type must have exactly one corresponding method.
If no method matches the payload type, a method marked as the default (using isDefault = true) will be
invoked. Only one method can be designated as the default.
- Author:
- José Iêdo
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanIndicates whether this method should be used as the default fallback method if no otherSqsHandlermethod matches the payload type.
-
Element Details
-
isDefault
boolean isDefaultIndicates whether this method should be used as the default fallback method if no otherSqsHandlermethod matches the payload type.- Returns:
trueif this is the default method,falseotherwise
- Default:
false
-