Azure / Azure/Azure-Functions

The binding type(s) 'serviceBusTrigger' are not registered. Please ensure the type is correct and the binding extension is installed.[Premium]

Open
#1,295 1 comment 0 reactions 2 assignees Claimed by @jeffhollan View on GitHub
premium-plan
Dominant language
PowerShell
Stars
1.1k
Forks
215
Avg merge
4h 2m
Merged PRs (30d)
1

Description

I am working on developing azure function in java using the serviceBusTrigger. I have created a java class as,

public class ServiceBusTest {
@FunctionName("ServiceBusTest")
public void functionHandler(@ServiceBusTopicTrigger(name = "myTopicItem", topicName = "test", subscriptionName = "test", connection = "receiverConnection") String myTopicItem, final ExecutionContext executionContext) {
System.out.println("Service Bus Topic trigger input: " + myTopicItem);
}
}

where I have made the required mapping for "receiverConnection" in my local.settings.json. I have successfully build the project and when I execute the command "mvn azure-functions:run" I got the below exception,

ServiceBusTest: The binding type(s) 'serviceBusTrigger' are not registered. Please ensure the type is correct and the binding extension is installed.

Please help me to resolve this

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.