Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Message deserialization fails for SQS backed SNS Topics #105

Open
nikolajbrinch opened this issue Apr 16, 2015 · 2 comments
Open

Message deserialization fails for SQS backed SNS Topics #105

nikolajbrinch opened this issue Apr 16, 2015 · 2 comments

Comments

@nikolajbrinch
Copy link

When publising to a SNS Topic and listening to an SQS queue bound to that topic, deserialization fails, as the messageformat is a topic message and not a queue message.
Messageformat needs to be detected (i.e. the message is non-base64/contains JSON chars), then it is probably a Topic message, and har to be deserialized as a Topic message, event though it is delivered on a NevadoQueue.
Alternatively I'm using Amazon AWS library JMS to listen to the queue with a Spring MessageConverter to do the deserialization with help form SerializeUtil in Nevado JMS.

@erm410
Copy link

erm410 commented May 28, 2015

I also ran into this issue. Have opened a pull request with the fix that I am using myself.

@nikolajbrinch
Copy link
Author

I use the Amazon JMS library for that part in my Grails plugin interfacing with Amazon. Which means that Nevado is used for publishing, and Amazon Client Library is used for subscription. That works. Maybe Nevado can use the Amazon implementation to fix this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants