node-amqp
node-amqp copied to clipboard
Problem with noDeclare and confirm
if connect to exchange with this options:
noDeclare: true, confirm: true
we have problem with Exchange.prototype._onMethod
first run case methods.channelOpenOk and after this run case methods.confirmSelectOk and emit event 'open' and call callback
but if confirm: true we need to wait case methods.confirmSelectOk and after this call callback.