Skip to content

Commit

Permalink
Merge pull request #422 from K-Society/experimental
Browse files Browse the repository at this point in the history
Fix in DefaultRabbitMqPersistentConnection
  • Loading branch information
maniglia authored Feb 29, 2024
2 parents 57832f7 + 0a8f122 commit f8f907e
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 @@ -172,7 +172,7 @@ await Task.Run(() =>
//_logger.LogTrace("RabbitMQ CreateConnection StackTrace: {0}", System.Environment.StackTrace);
this._connection = this._connectionFactory
.CreateConnection(); //ToDo
}, this._closeToken);
}, this._closeToken).ConfigureAwait(false);

}).ConfigureAwait(false);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ public async ValueTask SubscribeClient<TIntegrationRpcClientHandler, TIntegratio

if (this.EventBus.TryAdd(eventBusName + "_Client", eventBus))
{
((IEventBusRpcClient<TIntegrationEventReply>)this.EventBus[eventBusName + "_Client"]).Initialize();//.Initialize();
((IEventBusRpcClient<TIntegrationEventReply>)this.EventBus[eventBusName + "_Client"]).Initialize();

await ((IEventBusRpcClient<TIntegrationEventReply>)this.EventBus[eventBusName + "_Client"])
.SubscribeRpcClient<TIntegrationRpcClientHandler>(replyRoutingKey)
Expand Down

0 comments on commit f8f907e

Please sign in to comment.