Bläddra i källkod

Tweak some processors to visual for overwrite.

master
Savorboard 2 år sedan
förälder
incheckning
2a21bd7e7c
5 ändrade filer med 4 tillägg och 6 borttagningar
  1. +1
    -1
      src/DotNetCore.CAP.Pulsar/DotNetCore.CAP.Pulsar.csproj
  2. +0
    -2
      src/DotNetCore.CAP.Pulsar/PulsarConsumerClient.cs
  3. +1
    -1
      src/DotNetCore.CAP/Processor/IProcessor.Collector.cs
  4. +1
    -1
      src/DotNetCore.CAP/Processor/IProcessor.NeedRetry.cs
  5. +1
    -1
      src/DotNetCore.CAP/Processor/IProcessor.TransportCheck.cs

+ 1
- 1
src/DotNetCore.CAP.Pulsar/DotNetCore.CAP.Pulsar.csproj Visa fil

@@ -12,7 +12,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Pulsar.Client" Version="2.9.1" />
<PackageReference Include="Pulsar.Client" Version="2.10.0" />
</ItemGroup>

</Project>

+ 0
- 2
src/DotNetCore.CAP.Pulsar/PulsarConsumerClient.cs Visa fil

@@ -7,8 +7,6 @@ using System.Reflection;
using System.Threading;
using DotNetCore.CAP.Messages;
using DotNetCore.CAP.Transport;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Logging.Abstractions;
using Microsoft.Extensions.Options;
using Pulsar.Client.Api;
using Pulsar.Client.Common;


+ 1
- 1
src/DotNetCore.CAP/Processor/IProcessor.Collector.cs Visa fil

@@ -32,7 +32,7 @@ namespace DotNetCore.CAP.Processor
_tableNames = new[] { initializer.GetPublishedTableName(), initializer.GetReceivedTableName() };
}

public async Task ProcessAsync(ProcessingContext context)
public virtual async Task ProcessAsync(ProcessingContext context)
{
foreach (var table in _tableNames)
{


+ 1
- 1
src/DotNetCore.CAP/Processor/IProcessor.NeedRetry.cs Visa fil

@@ -33,7 +33,7 @@ namespace DotNetCore.CAP.Processor
_waitingInterval = TimeSpan.FromSeconds(options.Value.FailedRetryInterval);
}

public async Task ProcessAsync(ProcessingContext context)
public virtual async Task ProcessAsync(ProcessingContext context)
{
if (context == null)
{


+ 1
- 1
src/DotNetCore.CAP/Processor/IProcessor.TransportCheck.cs Visa fil

@@ -21,7 +21,7 @@ namespace DotNetCore.CAP.Processor
_waitingInterval = TimeSpan.FromSeconds(30);
}

public async Task ProcessAsync(ProcessingContext context)
public virtual async Task ProcessAsync(ProcessingContext context)
{
if (context == null)
{


Laddar…
Avbryt
Spara