(channel: Channel)
| 243 | } |
| 244 | |
| 245 | public async consumeChannel(channel: Channel) { |
| 246 | const noAck = this.getOptionsProp(this.options, 'noAck', RQM_DEFAULT_NOACK); |
| 247 | await channel.consume( |
| 248 | this.replyQueue, |
| 249 | (msg: ConsumeMessage | null) => |
| 250 | this.responseEmitter.emit(msg!.properties.correlationId, msg), |
| 251 | { |
| 252 | noAck, |
| 253 | }, |
| 254 | ); |
| 255 | } |
| 256 | |
| 257 | public registerErrorListener(client: AmqpConnectionManager): void { |
| 258 | client.addListener(RmqEventsMap.ERROR, (err: any) => |
no outgoing calls
no test coverage detected