Methods
address
-
Returns string
close
- close(): PromiseLike<void>
- close(handler: ((res: AsyncResult<void>) => void) | Handler<AsyncResult<void>>): void
-
Returns PromiseLike<void>
-
Parameters
-
handler: ((res: AsyncResult<void>) => void) | Handler<AsyncResult<void>>
Returns void
connection
-
endHandler
- endHandler(endHandler: ((res: void) => void) | Handler<void> | null | undefined): AmqpReceiver
-
Parameters
-
endHandler: ((res: void) => void) | Handler<void> | null | undefined
exceptionHandler
- exceptionHandler(handler: ((res: Throwable) => void) | Handler<Throwable> | null | undefined): AmqpReceiver
-
Parameters
-
handler: ((res: Throwable) => void) | Handler<Throwable> | null | undefined
fetch
-
Parameters
handler
-
Parameters
pause
-
pipe
-
pipeTo
- pipeTo(dst: WriteStream<AmqpMessage>): PromiseLike<void>
- pipeTo(dst: WriteStream<AmqpMessage>, handler: ((res: AsyncResult<void>) => void) | Handler<AsyncResult<void>>): void
-
Parameters
Returns PromiseLike<void>
-
Parameters
-
-
handler: ((res: AsyncResult<void>) => void) | Handler<AsyncResult<void>>
Returns void
resume
-
unwrap
-
Returns any
Interface used to consume AMQP message as a stream of message. Back pressure is implemented using AMQP credits.