mqtt message changed when routed using camel [message #1806088] |
Thu, 02 May 2019 08:14  |
Eclipse User |
|
|
|
I have two cloud services. One of them is local connection (artemis on kura) and other is remote connection (remote broker). I want mqtt message to route from local to remote broker. I have written below router code
from("cloudlocal:/myapp/topic").to("cloudremote:/myapp/topic");
same thing with xml
<from uri="coudlocal:/myapp/topic"/>
<to uri="cloudremote:myapp/topic"/>
I sent am mqtt message to local broker using mqtt client application in my mobile phone and I get the message from remote broker. My route has been successful but my message has changed. Always my messsage has extra "y" character. I sent "on" message but I recieved "y on". Why does my message always changed with "y" character. I know kura used protobuf encoding but all messages changes with "y" character.
How can I solve this issue.
Thanks for your helps.
|
|
|
|
Powered by
FUDForum. Page generated in 1.09085 seconds