We have azure webjob which is being triggered from service bus message.So for all messages my webjob function are getting triggered sequentially. There is no priority order to process the message. It treat every message as same priority.
How can I implement a webjob which will process messages as per their priority order.
How to control the number of function instance to run. for example Higher priority messages are allowed to be processed at a faster speed than the lower priority messages.As long as we have higher priority messages , it will be processed at higher rate than lower priority messages. Once higher priority messages are processed completely, then all the function instances can be used to process all lower priority message
Thanks,