Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

@NotificationMessageMapping handler cannot deserialize Chinese characters #645

Closed
jpthompson23 opened this issue Aug 21, 2020 · 0 comments
Closed
Labels
component: sns SNS integration related issue type: bug A general bug
Milestone

Comments

@jpthompson23
Copy link

Describe the bug
I publish a notification to SNS that contains a JSON object with Chinese characters in some of the fields, such as:
{ "documentTitle": "口廿竹十火 - new" }

And the NotificationMessageMapping handler deserializes this as:
{ "documentTitle": "????? - new" }

Sample

    // try this with an SNS message that contains Chinese characters:
    @NotificationMessageMapping
    public void handleNotification(@NotificationMessage JsonNode message, @NotificationSubject String subject) {
        System.out.println(message);
    }
@jpthompson23 jpthompson23 changed the title @NotificationMessageMapping cannot deserialize Chinese characters @NotificationMessageMapping handler cannot deserialize Chinese characters Aug 21, 2020
@maciejwalkowiak maciejwalkowiak added component: sns SNS integration related issue type: enhancement A general enhancement and removed waiting-for-triage labels Sep 16, 2020
@maciejwalkowiak maciejwalkowiak added this to the 2.3 milestone Sep 16, 2020
@maciejwalkowiak maciejwalkowiak added type: bug A general bug and removed type: enhancement A general enhancement labels Oct 6, 2020
MatejNedic added a commit to MatejNedic/spring-cloud-aws that referenced this issue Oct 22, 2020
MatejNedic added a commit to MatejNedic/spring-cloud-aws that referenced this issue Oct 23, 2020
maciejwalkowiak pushed a commit to awspring/spring-cloud-aws that referenced this issue Dec 19, 2020
juho9000 pushed a commit to juho9000/spring-cloud-aws that referenced this issue Apr 29, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
component: sns SNS integration related issue type: bug A general bug
Development

No branches or pull requests

3 participants