Skip to content

Annotation driven endpoint for SNS subscription doesn't work with WebFlux #816

@bikerp

Description

@bikerp

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    component: snsSNS integration related issuetype: enhancementSmaller enhancement in existing integration

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions