postwait / node-amqp

[UNMAINTAINED] node-amqp is an AMQP client for nodejs
MIT License
1.69k stars 357 forks source link

queue.subscribe max wait timeout #340

Open timfpark opened 10 years ago

timfpark commented 10 years ago

It doesn't appear that there is a way to specify a maximum wait for the next message and timeout such that you can trap this even if none are received. This is useful in the case where this should be considered an error condition and you need to take action.