Skip to content

Commit

Permalink
Merge pull request #14059 from v-sum/fix-disregarded-rmq-client-options
Browse files Browse the repository at this point in the history
fix(microservices): include discarded rmq client options
  • Loading branch information
kamilmysliwiec authored Nov 15, 2024
2 parents e64ab18 + 9cd4353 commit 491ed77
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/microservices/client/client-rmq.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,7 @@ export class ClientRMQ extends ClientProxy {

public createClient(): AmqpConnectionManager {
const socketOptions = this.getOptionsProp(this.options, 'socketOptions');
return rmqPackage.connect(this.urls, {
connectionOptions: socketOptions?.connectionOptions,
});
return rmqPackage.connect(this.urls, socketOptions);
}

public mergeDisconnectEvent<T = any>(
Expand Down

0 comments on commit 491ed77

Please sign in to comment.