Hi Ryan,

I would suggest taking a look at the diverts[1]. They allow you to
transparently divert messages routed to one address to some other address
using a filter and they can also be configured to apply a Transformer[2] to
the diverted messages.

[1]
https://activemq.apache.org/components/artemis/documentation/latest/diverts.html
[2]
https://activemq.apache.org/components/artemis/documentation/latest/transformers.html

Regards,
Domenico

Il giorno mer 2 set 2020 alle ore 18:47 Ryan Yeats <
ryan.ye...@octoconsulting.com> ha scritto:

> 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 a message
> somewhere? I did not see anything in the MessageReference which would stop
> the delivery.
>
> Regards,
>
> Ryan
>
> [Octo | Emerging Technology. Human Impact.]<
> https://www.octoconsulting.com/>
>

Reply via email to