I am writing an azure function in node.js which outputs a service bus message. How can I set the values of the brokered message such as ContentType, ReplyTo and custom properties? It seems like I can only set the message body.
Unfortunately you cannot via output binding in node.
As you need more control, I'd recommend using the service bus node sdk to create and send the sb messages inside your function instead of an output binding.
If you prefer the binding model, you could use C# which supports richer output types.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more