You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use the shutdown function to exit gracefully but get the following exception:
TypeError: Cannot read property 'then' of undefined
at QueueWrapper.module.exports.QueueWrapper.unbind (/bas-router/node_modules/amqp-as-promised/lib/queue-wrapper.js:64:22)
at QueueWrapper.unbind (bas-router/node_modules/amqp-as-promised/lib/queue-wrapper.js:4:61)
at /bas-router/node_modules/amqp-as-promised/lib/amqp-client.js:184:18
To me it looks as if the queue-wrapper needs access to the amqp-client conn property. So I added the conn property to the exported object in amqp-client.js. But that results in another exception.
Here is how I am trying to get things done: I am thankful for any help,
Tobias
Hi! As far as I can tell, the queue-wrapper object already should hold a reference to amqpc.conn, and it doesn't look like it is ever deleted. Does the queue work correctly for you up until shutdown, or could it be some kind of trouble with the initialization?
I am trying to use the shutdown function to exit gracefully but get the following exception:
To me it looks as if the queue-wrapper needs access to the amqp-client conn property. So I added the conn property to the exported object in amqp-client.js. But that results in another exception.
Here is how I am trying to get things done: I am thankful for any help,
Tobias
The text was updated successfully, but these errors were encountered: