spring-cloud-aws
spring-cloud-aws copied to clipboard
Annotation driven endpoint for SNS subscription doesn't work with WebFlux
Type: Bug
Component:SNS
Annotation driven endpoint doesn't work with WebFlux When subscription request is received then error appears: No primary or single unique constructor found for interface io.awspring.cloud.sns.handlers.NotificationStatus I used code mentioned in documentation https://docs.awspring.io/spring-cloud-aws/docs/3.0.1/reference/html/index.html#spring-cloud-aws-sns
Used libraries SpringBoot 3.0.6 WebFlux Spring Cloud AWS 3.0.1 Localstack 1.4.0
I have checked the payload and http headers send by localstack and they are compliant witjh AWS specification https://docs.aws.amazon.com/sns/latest/dg/sns-message-and-json-formats.html#http-subscription-confirmation-json
When trying with standard MVC i.e. without WebFlux then it works
Hey @bikerp , thanks on reporting. it is not a bug but rather missing feature, we are aware of it. It was missing in 2.x as well.
Are you maybe willing to make a Contribution?
Hi @MatejNedic , I'd like to contribute but I think my knowledge is not enough for that