Skip to content

Commit 491ed77

Browse files
Merge pull request #14059 from v-sum/fix-disregarded-rmq-client-options
fix(microservices): include discarded rmq client options
2 parents e64ab18 + 9cd4353 commit 491ed77

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/microservices/client/client-rmq.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,7 @@ export class ClientRMQ extends ClientProxy {
135135

136136
public createClient(): AmqpConnectionManager {
137137
const socketOptions = this.getOptionsProp(this.options, 'socketOptions');
138-
return rmqPackage.connect(this.urls, {
139-
connectionOptions: socketOptions?.connectionOptions,
140-
});
138+
return rmqPackage.connect(this.urls, socketOptions);
141139
}
142140

143141
public mergeDisconnectEvent<T = any>(

0 commit comments

Comments
 (0)