Azure/azure-functions-java-library

Update documentation or provide samples on how to use Message Metadata for Service Bus queue / topic triggered azure functions

ashwinp88 opened this issue · 0 comments

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