diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-07-25 20:04:15 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-07-25 20:04:15 +0200 |
| commit | da57e1b71cb55d968c3f10b81a1ff73fc51b805c (patch) | |
| tree | d3f4e5ea9f0760435abf7b9d6d0a79d4cb17a7ef | |
| parent | 58f2742a3069336fe925f5c38715552b463a68af (diff) | |
| download | processor-da57e1b71cb55d968c3f10b81a1ff73fc51b805c.tar.gz processor-da57e1b71cb55d968c3f10b81a1ff73fc51b805c.zip | |
forward msg type to failed queue
| -rw-r--r-- | worker.js | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -186,6 +186,7 @@ amqp.connect(RABBITMQ_URI).then(async (rabbit) => { await ch.nack(msg, false, false); await ch.sendToQueue(QUEUE + "_failed", msg.content, { persistent: true, + type: msg.properties.type, headers: msg.properties.headers }); } else { |
