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: docs/database-engine/service-broker/conversation-priorities.md
+22-12Lines changed: 22 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -98,6 +98,7 @@ Service Broker assigns the conversation endpoint the priority level from the con
98
98
99
99
:::column-end:::
100
100
:::row-end:::
101
+
101
102
:::row:::
102
103
:::column span="1":::
103
104
Priority Contract
@@ -112,6 +113,7 @@ Service Broker assigns the conversation endpoint the priority level from the con
112
113
113
114
:::column-end:::
114
115
:::row-end:::
116
+
115
117
:::row:::
116
118
:::column span="1":::
117
119
Priority Contract
@@ -126,6 +128,7 @@ Service Broker assigns the conversation endpoint the priority level from the con
126
128
127
129
:::column-end:::
128
130
:::row-end:::
131
+
129
132
:::row:::
130
133
:::column span="1":::
131
134
Priority Contract
@@ -140,6 +143,7 @@ Service Broker assigns the conversation endpoint the priority level from the con
140
143
141
144
:::column-end:::
142
145
:::row-end:::
146
+
143
147
:::row:::
144
148
:::column span="1":::
145
149
ANY
@@ -154,6 +158,7 @@ Service Broker assigns the conversation endpoint the priority level from the con
154
158
155
159
:::column-end:::
156
160
:::row-end:::
161
+
157
162
:::row:::
158
163
:::column span="1":::
159
164
ANY
@@ -168,6 +173,7 @@ Service Broker assigns the conversation endpoint the priority level from the con
168
173
169
174
:::column-end:::
170
175
:::row-end:::
176
+
171
177
:::row:::
172
178
:::column span="1":::
173
179
ANY
@@ -182,20 +188,23 @@ Service Broker assigns the conversation endpoint the priority level from the con
182
188
183
189
:::column-end:::
184
190
:::row-end:::
191
+
185
192
:::row:::
186
-
:::column span="1":::
187
-
ANY
193
+
:::column span="1":::
194
+
ANY
188
195
189
-
:::column-end:::
190
-
:::column span="1":::
191
-
ANY
196
+
:::column-end:::
197
+
:::column span="1":::
198
+
ANY
192
199
193
-
:::column-end:::
194
-
:::column span="1":::
195
-
ANY
200
+
:::column-end:::
201
+
:::column span="1":::
202
+
ANY
196
203
197
-
:::column-end:::
198
-
:::row-end:::Service Broker first looks for a priority whose specified contract, local service, and remote service matches those used by the conversation endpoint. If one is not found, Service Broker then looks for a priority with a contract and local service that matches those used by the endpoint, and where the remote service was specified as ANY. This continues for all the variations listed in the precedence table. If no match is found, the endpoint is assigned the default priority of 5.
204
+
:::column-end:::
205
+
:::row-end:::
206
+
207
+
Service Broker first looks for a priority whose specified contract, local service, and remote service matches those used by the conversation endpoint. If one is not found, Service Broker then looks for a priority with a contract and local service that matches those used by the endpoint, and where the remote service was specified as ANY. This continues for all the variations listed in the precedence table. If no match is found, the endpoint is assigned the default priority of 5.
199
208
200
209
The Service Broker communication protocols do not transmit priority levels between conversation endpoints. Service Broker independently assigns a priority level to each endpoint. To have Service Broker assign priority levels to both the initiator and target conversation endpoints, you must ensure that both endpoints are covered by conversation priorities. If the initiator and target conversation endpoints are in separate databases, you must create conversation priorities in each database. If the initiator and target endpoints are in the same database:
201
210
@@ -255,9 +264,9 @@ This script specifies the priority level for the initiator conversation endpoint
255
264
256
265
This script specifies the priority level for the target conversation endpoint and its associated operations:
257
266
258
-
- The RECEIVE of the **RequestMessage** from the **TargetQueue**.
267
+
- The RECEIVE of the **RequestMessage** from the **TargetQueue**.
259
268
260
-
- The SEND of the **ReplyMessage** from the **TargetService** to the **InitiatorQueue**.
269
+
- The SEND of the **ReplyMessage** from the **TargetService** to the **InitiatorQueue**.
261
270
262
271
<!-- end list -->
263
272
```sql
@@ -319,6 +328,7 @@ Messages and message fragments may be sent out of priority order:
319
328
While individual messages or message fragments may be sent out of priority order, the effects should be small when considered across many message sends.
Copy file name to clipboardExpand all lines: docs/database-engine/service-broker/determining-the-dialog-security-type.md
+14-10Lines changed: 14 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,6 +58,7 @@ The following table lists the type of dialog security for each valid combination
58
58
59
59
:::column-end:::
60
60
:::row-end:::
61
+
61
62
:::row:::
62
63
:::column span="1":::
63
64
Service owner has a certificate
@@ -80,6 +81,7 @@ The following table lists the type of dialog security for each valid combination
80
81
81
82
:::column-end:::
82
83
:::row-end:::
84
+
83
85
:::row:::
84
86
:::column span="1":::
85
87
Service owner does not have a certificate
@@ -99,9 +101,9 @@ The following table lists the type of dialog security for each valid combination
99
101
:::column-end:::
100
102
:::column span="1":::
101
103
Dialog fails
102
-
103
-
:::column-end:::
104
+
:::column-end:::
104
105
:::row-end:::
106
+
105
107
:::row:::
106
108
:::column span="1":::
107
109
Service owner does not have a certificate
@@ -123,17 +125,19 @@ The following table lists the type of dialog security for each valid combination
123
125
Dialog fails
124
126
125
127
:::column-end:::
126
-
:::row-end::: - Dialog fails
127
-
SQL Server does not have the information required to provide the requested security. Service Broker ends the conversation and puts an error message on the queue for the initiating service.
128
+
:::row-end:::
129
+
130
+
- Dialog fails
131
+
SQL Server does not have the information required to provide the requested security. Service Broker ends the conversation and puts an error message on the queue for the initiating service.
128
132
129
-
- No dialog security
130
-
SQL Server does not provide dialog security for the dialog. Operations on behalf of the initiating service run as **public** in the target database. Messages are not encrypted for this dialog. Notice, however, that transport security may encrypt the message on the network.
133
+
- No dialog security
134
+
SQL Server does not provide dialog security for the dialog. Operations on behalf of the initiating service run as **public** in the target database. Messages are not encrypted for this dialog. Notice, however, that transport security may encrypt the message on the network.
131
135
132
-
- Anonymous security
133
-
SQL Server uses anonymous security. Messages outside of the instance are encrypted for this dialog. Because the target service cannot verify the identity of the initiating service, operations on behalf of the initiating service run as **public** in the target database.
136
+
- Anonymous security
137
+
SQL Server uses anonymous security. Messages outside of the instance are encrypted for this dialog. Because the target service cannot verify the identity of the initiating service, operations on behalf of the initiating service run as **public** in the target database.
134
138
135
-
- Full security
136
-
SQL Server uses full security. Messages outside of the instance are encrypted for this dialog. Operations on behalf of the initiating service run as the designated user in the target database.
139
+
- Full security
140
+
SQL Server uses full security. Messages outside of the instance are encrypted for this dialog. Operations on behalf of the initiating service run as the designated user in the target database.
0 commit comments