Is it possible to add or define user or custom properties for service bus topic message in azure function app code in python

Viewed 26

Currently we are working with python azure function service bus topic trigger

Our case is we have one topic and in that we have 3 subscriptions , So we want to send the mgs to particular subscription that why is have add sql filter to that subscription

So when we send mgs in azure portal service bus with custom properties its working

No we need to add the custom properties in azure function service bus topic trigger python code So that we Only send mgs from service bus without any custom properties in portal because the property will be add already in function app code and the mgs will be sent to that particular subscription has the filter condition satisfy.

We are trying to add custom properties but couldn't find a way. Is there any other way or you mention that sender needs to set custom property right any Idea how to set custom property in azure function app python code

0 Answers
Related