Merge pull request #4269 from abpframework/liangshiwei/patch-1

Upgrade RabbitMQ.Client to 6.1.0
pull/4317/head
maliming 5 years ago committed by GitHub
commit 87237b18ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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>

Loading…
Cancel
Save