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
Data Format : Unable marshal LinkedHashMap to Protobuf #1983
Comments
Shouldn't this be |
I want to turn it into TransactionProtos$Transaction, so should be |
But your app is trying to convert a JSON string to a
So it should be using |
oh, that was just a test, I was playing with it. And accidentally pushed to github.
|
I think I see the issue. It's not really specific to camel-quarkus, it depends on which camel HTTP consumer you choose to use. They each set different types as the message body for the incoming HTTP payload:
|
Ah... Got it. Thanks! @jamesnetherton |
For people that might bump into the same problem: So directly casting the byte[] to Working example
|
Making a simple demo on format convert, but was getting error msg:
This works with java main, so I am assuming it's an Quarkus problem?
Project repo:
Java Main:
https://github.com/weimeilin79/avroprotobuf/tree/master/camel-demo-restprotobuf
Quarkus:
https://github.com/weimeilin79/avroprotobuf/tree/master/camel-quarkus-restprotobuf
The text was updated successfully, but these errors were encountered: