-
Notifications
You must be signed in to change notification settings - Fork 300
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5143 from Particular/fix-asq
- Loading branch information
Showing
76 changed files
with
64 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 2 additions & 6 deletions
8
...-queues/ASQ_10/Endpoint1/Endpoint1.csproj → ...queues/ASQN_10/Endpoint1/Endpoint1.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,16 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<TargetFrameworks>netcoreapp3.1;netcoreapp2.1;net48</TargetFrameworks> | ||
<OutputType>Exe</OutputType> | ||
<LangVersion>7.3</LangVersion> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Newtonsoft.Json" Version="12.*" /> | ||
<PackageReference Include="NServiceBus.Newtonsoft.Json" Version="3.0.0-*" /> | ||
<PackageReference Include="NServiceBus.Transport.AzureStorageQueues" Version="10.0.0-alpha.219" /> | ||
<PackageReference Include="NServiceBus.Transport.AzureStorageQueues" Version="10.0.0-alpha.221" /> | ||
<ProjectReference Include="..\Shared\Shared.csproj" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup Label="Force a later version of a transitive dependency"> | ||
<PackageReference Include="System.Net.NameResolution" Version="4.3.0" /> | ||
</ItemGroup> | ||
|
||
</Project> |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 2 additions & 6 deletions
8
...-queues/ASQ_10/Endpoint2/Endpoint2.csproj → ...queues/ASQN_10/Endpoint2/Endpoint2.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,16 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<TargetFrameworks>netcoreapp3.1;netcoreapp2.1;net48</TargetFrameworks> | ||
<OutputType>Exe</OutputType> | ||
<LangVersion>7.3</LangVersion> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Newtonsoft.Json" Version="12.*" /> | ||
<PackageReference Include="NServiceBus.Newtonsoft.Json" Version="3.0.0-*" /> | ||
<PackageReference Include="NServiceBus.Transport.AzureStorageQueues" Version="10.0.0-alpha.219" /> | ||
<PackageReference Include="NServiceBus.Transport.AzureStorageQueues" Version="10.0.0-alpha.221" /> | ||
<ProjectReference Include="..\Shared\Shared.csproj" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup Label="Force a later version of a transitive dependency"> | ||
<PackageReference Include="System.Net.NameResolution" Version="4.3.0" /> | ||
</ItemGroup> | ||
|
||
</Project> |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
.../ASQ_9/StorageReader/StorageReader.csproj → ...SQN_10/StorageReader/StorageReader.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 1 addition & 5 deletions
6
...e-queues/ASQ_9/Endpoint1/Endpoint1.csproj → ...-queues/ASQN_9/Endpoint1/Endpoint1.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,16 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<TargetFrameworks>netcoreapp3.1;netcoreapp2.1;net48</TargetFrameworks> | ||
<OutputType>Exe</OutputType> | ||
<LangVersion>7.3</LangVersion> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Newtonsoft.Json" Version="12.*" /> | ||
<PackageReference Include="NServiceBus.Newtonsoft.Json" Version="2.*" /> | ||
<PackageReference Include="NServiceBus.Transport.AzureStorageQueues" Version="9.*" /> | ||
<ProjectReference Include="..\Shared\Shared.csproj" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup Label="Force a later version of a transitive dependency"> | ||
<PackageReference Include="System.Net.NameResolution" Version="4.3.0" /> | ||
</ItemGroup> | ||
|
||
</Project> |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 1 addition & 5 deletions
6
...e-queues/ASQ_9/Endpoint2/Endpoint2.csproj → ...-queues/ASQN_9/Endpoint2/Endpoint2.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,16 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<TargetFrameworks>netcoreapp3.1;netcoreapp2.1;net48</TargetFrameworks> | ||
<OutputType>Exe</OutputType> | ||
<LangVersion>7.3</LangVersion> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Newtonsoft.Json" Version="12.*" /> | ||
<PackageReference Include="NServiceBus.Newtonsoft.Json" Version="2.*" /> | ||
<PackageReference Include="NServiceBus.Transport.AzureStorageQueues" Version="9.*" /> | ||
<ProjectReference Include="..\Shared\Shared.csproj" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup Label="Force a later version of a transitive dependency"> | ||
<PackageReference Include="System.Net.NameResolution" Version="4.3.0" /> | ||
</ItemGroup> | ||
|
||
</Project> |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...ASQ_10/StorageReader/StorageReader.csproj → ...ASQN_9/StorageReader/StorageReader.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
samples/azure/storage-queues/sample_queues_asqn_[9,).partial.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
![](images/sanitized-queues.png) |
7 changes: 0 additions & 7 deletions
7
samples/azure/storage-queues/sample_sanitization-source_asq_[9,).partial.md
This file was deleted.
Oops, something went wrong.
5 changes: 5 additions & 0 deletions
5
samples/azure/storage-queues/sample_sanitization-source_asqn_[9,).partial.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
|
||
|
||
## Sanitizer source code | ||
|
||
snippet: BackwardsCompatibleQueueNameSanitizer |
13 changes: 13 additions & 0 deletions
13
samples/azure/storage-queues/sample_sanitization_asqn_[9,).partial.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
|
||
|
||
#### Sanitization | ||
|
||
One of the endpoints is using a long name which needs to be sanitized. | ||
|
||
snippet: endpointname | ||
|
||
To remain backwards compatible with the older versions of the transport, `MD5` based sanitization is registered. The sample also includes `SHA1` based sanitization. This sanitizer is suitable for endpoints with the transport version 7.x used to shorten queue names with `SHA1` hashing algorithm. | ||
|
||
snippet: sanitization | ||
|
||
The full contents of the sanitization code is shown at the [end of this document](#sanitizer-source-code). |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Empty file removed
0
...re-storage-queues/delayed-delivery_disable-timeout-manager_asq_[10,).partial.md
Empty file.
File renamed without changes.
9 changes: 9 additions & 0 deletions
9
...-storage-queues/delayed-delivery_disable-timeout-manager_asqn_[9,10).partial.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
### Disabling the timeout manager | ||
|
||
To assist with the upgrade process, the timeout manager is still enabled by default, so any delayed messages already stored in the endpoint's persistence database before the upgrade will be sent when their timeouts expire. Any delayed messages sent after the upgrade will be sent through the delay infrastructure even though the timeout manager is enabled. | ||
|
||
Once an endpoint has no more delayed messages in its persistence database, there is no more need for the timeout manager. It can be disabled by calling: | ||
|
||
snippet: delayed-delivery-disable-timeoutmanager | ||
|
||
At this point, the `{endpoint}-timeouts` and `{endpoint}-timeoutsdispatcher` queues can be deleted from the storage account. In addition, the endpoint no longer requires timeout persistence, so those storage tables can be removed from the persistence database as well. |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters