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: articles/azure-functions/functions-bindings-service-bus.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -83,8 +83,6 @@ Functions 1.x apps automatically have a reference to the [Microsoft.Azure.WebJob
83
83
"extensions": {
84
84
"serviceBus": {
85
85
"prefetchCount": 100,
86
-
"transportType": "amqpWebSockets",
87
-
"webProxy": "https://proxyserver:8080",
88
86
"messageHandlerOptions": {
89
87
"autoComplete": true,
90
88
"maxConcurrentCalls": 32,
@@ -111,8 +109,6 @@ If you have `isSessionsEnabled` set to `true`, the `sessionHandlerOptions` is ho
111
109
|Property |Default | Description |
112
110
|---------|---------|---------|
113
111
|prefetchCount|0|Gets or sets the number of messages that the message receiver can simultaneously request.|
114
-
| transportType| amqpTcp | The protocol and transport that is used for communicating with Service Bus. Available options: `amqpTcp`, `amqpWebSockets`|
115
-
| webProxy| n/a | The proxy to use for communicating with Service Bus over web sockets. A proxy cannot be used with the `amqpTcp` transport. |
116
112
|messageHandlerOptions.maxAutoRenewDuration|00:05:00|The maximum duration within which the message lock will be renewed automatically.|
117
113
|messageHandlerOptions.autoComplete|true|Whether the trigger should automatically call complete after processing, or if the function code will manually call complete.<br><br>Setting to `false` is only supported in C#.<br><br>If set to `true`, the trigger completes the message automatically if the function execution completes successfully, and abandons the message otherwise.<br><br>When set to `false`, you are responsible for calling [MessageReceiver](/dotnet/api/microsoft.azure.servicebus.core.messagereceiver) methods to complete, abandon, or deadletter the message. If an exception is thrown (and none of the `MessageReceiver` methods are called), then the lock remains. Once the lock expires, the message is re-queued with the `DeliveryCount` incremented and the lock is automatically renewed.<br><br>In non-C# functions, exceptions in the function results in the runtime calls `abandonAsync` in the background. If no exception occurs, then `completeAsync` is called in the background. |
118
114
|messageHandlerOptions.maxConcurrentCalls|16|The maximum number of concurrent calls to the callback that the message pump should initiate per scaled instance. By default, the Functions runtime processes multiple messages concurrently.|
@@ -138,6 +134,8 @@ The example host.json file below contains only the settings for version 5.0.0 an
138
134
"maxRetries": 3
139
135
},
140
136
"prefetchCount": 0,
137
+
"transportType": "amqpWebSockets",
138
+
"webProxy": "https://proxyserver:8080",
141
139
"autoCompleteMessages": true,
142
140
"maxAutoLockRenewalDuration": "00:05:00",
143
141
"maxConcurrentCalls": 16,
@@ -155,6 +153,8 @@ When using service bus extension version 5.x and higher, the following global co
155
153
|Property |Default | Description |
156
154
|---------|---------|---------|
157
155
|prefetchCount|0|Gets or sets the number of messages that the message receiver can simultaneously request.|
156
+
| transportType| amqpTcp | The protocol and transport that is used for communicating with Service Bus. Available options: `amqpTcp`, `amqpWebSockets`|
157
+
| webProxy| n/a | The proxy to use for communicating with Service Bus over web sockets. A proxy cannot be used with the `amqpTcp` transport. |
158
158
|autoCompleteMessages|true|Determines whether or not to automatically complete messages after successful execution of the function and should be used in place of the `autoComplete` configuration setting.|
159
159
|maxAutoLockRenewalDuration|00:05:00|The maximum duration within which the message lock will be renewed automatically. This setting only applies for functions that receive a single message at a time.|
160
160
|maxConcurrentCalls|16|The maximum number of concurrent calls to the callback that the should be initiate per scaled instance. By default, the Functions runtime processes multiple messages concurrently. This setting only applies for functions that receive a single message at a time.|
0 commit comments