We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c52d494 + 15df360 commit 9b391c8Copy full SHA for 9b391c8
1 file changed
packages/microservices/server/server-rmq.ts
@@ -79,7 +79,7 @@ export class ServerRMQ extends Server implements CustomTransportStrategy {
79
80
public createClient<T = any>(): T {
81
const socketOptions = this.getOptionsProp(this.options, 'socketOptions');
82
- return rqmPackage.connect(this.urls, socketOptions);
+ return rqmPackage.connect(this.urls, { connectionOptions: socketOptions });
83
}
84
85
public async setupChannel(channel: any, callback: Function) {
0 commit comments