Browse Source
Merge pull request #4269 from abpframework/liangshiwei/patch-1
Upgrade RabbitMQ.Client to 6.1.0
pull/4316/head
maliming
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
5 additions and
5 deletions
-
framework/src/Volo.Abp.BackgroundJobs.RabbitMQ/Volo/Abp/BackgroundJobs/RabbitMQ/JobQueue.cs
-
framework/src/Volo.Abp.EventBus.RabbitMQ/Volo/Abp/EventBus/RabbitMq/RabbitMqDistributedEventBus.cs
-
framework/src/Volo.Abp.RabbitMQ/Volo.Abp.RabbitMQ.csproj
|
|
|
@ -181,7 +181,7 @@ namespace Volo.Abp.BackgroundJobs.RabbitMQ |
|
|
|
var context = new JobExecutionContext( |
|
|
|
scope.ServiceProvider, |
|
|
|
JobConfiguration.JobType, |
|
|
|
Serializer.Deserialize(ea.Body, typeof(TArgs)) |
|
|
|
Serializer.Deserialize(ea.Body.ToArray(), typeof(TArgs)) |
|
|
|
); |
|
|
|
|
|
|
|
try |
|
|
|
@ -210,4 +210,4 @@ namespace Volo.Abp.BackgroundJobs.RabbitMQ |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
@ -83,7 +83,7 @@ namespace Volo.Abp.EventBus.RabbitMq |
|
|
|
return; |
|
|
|
} |
|
|
|
|
|
|
|
var eventData = Serializer.Deserialize(ea.Body, eventType); |
|
|
|
var eventData = Serializer.Deserialize(ea.Body.ToArray(), eventType); |
|
|
|
|
|
|
|
await TriggerHandlersAsync(eventType, eventData); |
|
|
|
} |
|
|
|
@ -237,4 +237,4 @@ namespace Volo.Abp.EventBus.RabbitMq |
|
|
|
return false; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
@ -15,7 +15,7 @@ |
|
|
|
</PropertyGroup> |
|
|
|
|
|
|
|
<ItemGroup> |
|
|
|
<PackageReference Include="RabbitMQ.Client" Version="5.1.2" /> |
|
|
|
<PackageReference Include="RabbitMQ.Client" Version="6.1.0" /> |
|
|
|
<ProjectReference Include="..\Volo.Abp.Json\Volo.Abp.Json.csproj" /> |
|
|
|
<ProjectReference Include="..\Volo.Abp.Threading\Volo.Abp.Threading.csproj" /> |
|
|
|
</ItemGroup> |
|
|
|
|