Github user mbroadst commented on the issue: https://github.com/apache/qpid/pull/9 @grs here is the amqp10-based test case: ``` 'use strict'; const amqp = require('amqp10'), Policy = amqp.Policy, expect = require('chai').expect, config = { address: 'localhost' }; let test = {}; describe('modified', () => { afterEach(() => test.client.disconnect().then(() => { delete test.client; })); it('should respect undeliverable here', function(done) { test.client = new amqp.Client(Policy.Utils.RenewOnSettle(1, 1, Policy.Default)); return test.client.connect(config.address) .then(() => Promise.all([ test.client.createSender('test.disposition.queue'), test.client.createReceiver('test.disposition.queue')])) .spread((sender, receiver) => { let received = 0; receiver.on('message', msg => { expect(received).to.eql(0); received++; receiver.modify(msg, { undeliverableHere: true }); return test.client.createReceiver('test.disposition.queue') .then(receiver2 => { receiver2.on('message', msg => { expect(received).to.eql(1); done(); }); }); }); return sender.send('testing'); }); }); }); ```
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org