-
Notifications
You must be signed in to change notification settings - Fork 13
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
Groovy client - sendMessage - error #1
Comments
thanks, we'll fix it here, and also build this to maven central soon. |
Great! thanks! |
That's not an error, it's just that we expect String message body, not JsonObject. Write your json as a String, you can use JsonObject().encode() ot JsonObject.toString() for that. I should probably write about that in the readme file. |
Yeah, it really doesn't make sense, but the error happens even when I try to call this:
I am not with my notebook now, but asap I will check the groovy generated code, but probably it's wrapping the messaging in a JsonObject (since I got something like this using a different codec) |
We could add an override for JsonObject |
Using the groovy client we face an error:
I 'fixed' that here, but it's probably not a real fixing (I change the Message to Message at SqsQueueProducerVerticle.kt:33
The text was updated successfully, but these errors were encountered: