In the official Microsoft documentation here there is a list of message metadata that can be used (or injected) into the azure function. However, there are no samples or documentation on how to do that. For example, doing the following results in an exception at runtime
@FunctionName("Process") public void run(@ServiceBusTopicTrigger( name = "req", topicName = TemplatedConstants.topicName, subscriptionName = TemplatedConstants.subscriptionName, connection = "ServiceBusConnectionString") String message, final ExecutionContext context, Integer deliveryCount) {
In the official Microsoft documentation here there is a list of message metadata that can be used (or injected) into the azure function. However, there are no samples or documentation on how to do that. For example, doing the following results in an exception at runtime
@FunctionName("Process") public void run(@ServiceBusTopicTrigger( name = "req", topicName = TemplatedConstants.topicName, subscriptionName = TemplatedConstants.subscriptionName, connection = "ServiceBusConnectionString") String message, final ExecutionContext context, Integer deliveryCount) {
because of the extra deliveryCount parameter