Take a look at the plugin API for Artemis: https://activemq.apache.org/components/artemis/documentation/latest/broker-plugins.html
Specifically you can implement your own ActiveMQServerPlugin (which extends many other plugin interfaces) and has a ton of hooks into the broker to do what you need. ActiveMQServerConsumerPlugin probably has the methods you need. https://github.com/apache/activemq-artemis/blob/master/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/plugin/ActiveMQServerConsumerPlugin.java On Thu, Feb 13, 2020 at 9:59 AM David Martin <dav...@qoritek.com> wrote: > Hi everyone, > > Decided to switch to Artemis which is not going to be difficult in the main > but not sure of my best option to migrate a broker plugin which overrides > *addConsumer()* to set a new destination and a message selector using > broker-side business logic based on the user credentials. It looks like I > might be able to do this as a plugin or as an interceptor and not sure what > to override on either of these interfaces? > > Any help/pointers appreciated. > > Thanks, > > Dave >