diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-07-26 20:27:23 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-07-26 20:27:23 +0200 |
| commit | 7c78c7dacd397a35456fc76195fef5d1aadb5f12 (patch) | |
| tree | 4f3480687206e8a12bcb2712b10098ef03975ac8 | |
| parent | da57e1b71cb55d968c3f10b81a1ff73fc51b805c (diff) | |
| download | processor-7c78c7dacd397a35456fc76195fef5d1aadb5f12.tar.gz processor-7c78c7dacd397a35456fc76195fef5d1aadb5f12.zip | |
forward msg type to failed queue 2/2
| -rw-r--r-- | worker.js | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -289,6 +289,7 @@ amqp.connect(RABBITMQ_URI).then(async (rabbit) => { await Promise.map(msgs, async (m) => { await ch.sendToQueue(QUEUE + "_failed", m.content, { persistent: true, + type: msg.properties.type, headers: m.properties.headers }); await ch.nack(m, false, false); |
