validation on sqs listener #532
Unanswered
nekperu15739
asked this question in
Q&A
Replies: 1 comment 2 replies
-
@nekperu15739 which Spring Cloud AWS version? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, im trying to validate the payload on a method with
@SqsListener
, however checking underhood looks like there is not an easy why to do it having in mind thatPayloadArgumentResolver
by default use aNoOpValidator
. could you share a way to do set a validator?NOTE:
similar question was asked here: stackoverflow however, those workarounds are not good enough because lose other functionalities.
Beta Was this translation helpful? Give feedback.
All reactions