Closed victor-homyakov closed 8 years ago
Given example causes an error
bus.listen('my.event', { ack: true }, function (event) { event.handle.acknowledge(); // acknowledge a message event.handle.ack(); // short hand is also available event.handle.reject(); // reject a message });
because there is no event.handle
event.handle
ack/reject requires the https://github.com/mateodelnorte/servicebus-retry middleware, which is mentioned in the note above the example. I'll make that more clear.
Given example causes an error
because there is no
event.handle