You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This package contains libraries to author Azure Functions in Java.
4
+
5
+
### Usage
6
+
Use this package by including the following snippet in your `pom.xml`.
7
+
8
+
```xml
9
+
<dependency>
10
+
<groupId>com.microsoft.azure.serverless</groupId>
11
+
<artifactId>azure-function-java-core</artifactId>
12
+
<version>1.0-SNAPSHOT</version>
13
+
</dependency>
14
+
```
15
+
16
+
### Annotation for Triggers and Bindings
17
+
Instead of writing `function.json`, you can use annotations in code to specify triggers and bindings of your functions.
18
+
`function.json` can be automatically generated by [Maven Plugin for Azure Functions](https://github.com/Microsoft/azure-maven-plugins/tree/master/azure-functions-maven-plugin).
19
+
20
+
The following table lists the Java annotations for each binding type.
Service Bus | <ul><li>`ServiceBusQueueTrigger`</li><li>`ServiceBusQueueOutput`</li><li>`ServiceBusTopicTrigger`</li><li>`ServiceBusTopicOutput`</li></ul>
0 commit comments