Skip to content

Commit

Permalink
Merge pull request #1286 from JoaquimInGit/feat-update-rabbitmq
Browse files Browse the repository at this point in the history
Feat update rabbitmq
  • Loading branch information
danielgerlag authored Aug 14, 2024
2 parents 6a0cb88 + fd19caa commit b40d184
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public async Task<string> DequeueWork(QueueType queue, CancellationToken cancell
var msg = channel.BasicGet(_queueNameProvider.GetQueueName(queue), false);
if (msg != null)
{
var data = Encoding.UTF8.GetString(msg.Body);
var data = Encoding.UTF8.GetString(msg.Body.ToArray());
channel.BasicAck(msg.DeliveryTag, false);
return data;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
<PackageReference Include="RabbitMQ.Client" Version="4.1.3" />
<PackageReference Include="RabbitMQ.Client" Version="6.8.1" />
</ItemGroup>

</Project>

0 comments on commit b40d184

Please sign in to comment.