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

Routing Device Messages with IoTHub to different Endpoints #22

Open
DanielT2408 opened this issue Apr 10, 2018 · 2 comments
Open

Routing Device Messages with IoTHub to different Endpoints #22

DanielT2408 opened this issue Apr 10, 2018 · 2 comments

Comments

@DanielT2408
Copy link

DanielT2408 commented Apr 10, 2018

Dear Ladies and Gentlemen
I have one Problem.
I want route a device Message to different Endpoints . I have a Routing rule with a specific query string.
But i need for my Query string the specific condition, wich is send with my data with Node-red.
This condition has to send in "appProperties" in a JSON format.
I have to add "systemProperties" with contentType and contentEncoding.

Where i have to add in the msg.payload Message this information?
Is it already possible to use this node to route messages to various endpoints?

Can someone help me with this problem?

Thank you
Best regards, Daniel

@maurert
Copy link

maurert commented Nov 15, 2018

Having the same problem. I think the source must be modified to set message.contentEncoding = 'utf-8'; and message.contentType = 'application/json'.

@jonathanhoss
Copy link

Where do I change the message.contentEncoding?

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

3 participants