Azure / Azure/azure-functions-java-library
Update documentation or provide samples on how to use Message Metadata for Service Bus queue / topic triggered azure functions
- Dominant language
- Java
- Stars
- 45
- Forks
- 49
- PR merge metrics
- No merged PRs in 30d
Description
In the official Microsoft documentation [here](https://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-service-bus-trigger?tabs=java#example) 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
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.