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
Copy file name to clipboardExpand all lines: sdk/servicebus/Microsoft.Azure.WebJobs.Extensions.ServiceBus/README.md
+29Lines changed: 29 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -201,6 +201,35 @@ public static async Task Run(
201
201
}
202
202
```
203
203
204
+
### Session triggers
205
+
206
+
To receive messages from a session enabled queue or topic, you can set the `IsSessionsEnabled`
207
+
property on the `ServiceBusTrigger` attribute. When working with sessions, you can bind to the `SessionMessageActions` to get access to the message settlement methods in addition to session-specific functionality.
There may be times when you want to bind to the same `ServiceBusClient` that the trigger is using. This can be useful if you need to dynamically create a sender based on the message that is received.
0 commit comments