Hey, all - thanks in advance for your help!
I'm an experienced JavaScript/node developer, but very noob with Azure.
I have a function app built which is bound to a service bus trigger, rather than subscribing to the service bus. One of the reasons I'm taking this approach is that I hope to bind the same code to an HTTP trigger and use the same code for both REST api calls and asynchronous fire-and-forget service bus calls.
Some of the messages being processed are "catastrophic" errors and shouldn't ever be retried.
How do I tell the service bus listener that's triggering my app to dead-letter this message instead of retrying it?