noodlefrenzy / node-amqp10

amqp10 is a promise-based, AMQP 1.0 compliant node.js client
MIT License
134 stars 56 forks source link

AmqpError: Out of available 0 channels #296

Open mfisch04 opened 7 years ago

mfisch04 commented 7 years ago

The server I'm connecting to has a channel max of 0, which appears to mean unlimited. This throws an OverCapacityError.

amqp10:connection Connected with params { maxFrameSize= 32768 , channelMax= 0 , idleTimeout= 120000 , remoteIdleTimeout= 120000 } +0ms

https://github.com/noodlefrenzy/node-amqp10/blob/master/lib/connection.js#L341

mbroadst commented 7 years ago

@mfisch04 what server are you connecting to? The spec makes no mention of a special case for 0, this sounds like something that needs to be shoehorned into a policy