I don't think there's a way to cancel the delivery of a single message using a plugin. How would you want the message to be handled? Would it stay on the queue or be removed?
Justin On Wed, Sep 2, 2020 at 10:29 AM Ryan Yeats <ryan.ye...@octoconsulting.com> wrote: > My use case is that I want to extend Artemis to make policy decisions > based on the message properties and a user subject. This API seems like it > would be appropriate for this use case since there are touch points at each > stage in message delivery, it has access to the session/subject and the > message can be read and modified. However, I can't figure out how to > prevent message delivery of a message to a single consumer without > effecting other consumers. Is there a way to cancel deliver for a message > somewhere? I did not see anything in the MessageReference which would tell > Artemis to not deliver to the message. > > Regards, > > Ryan > [Octo | Emerging Technology. Human Impact.]< > https://www.octoconsulting.com/> >