activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johan Stenberg (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ARTEMIS-1884) ActiveMQ 5 like message-level authorization
Date Thu, 24 May 2018 10:28:00 GMT
Johan Stenberg created ARTEMIS-1884:
---------------------------------------

             Summary: ActiveMQ 5 like message-level authorization
                 Key: ARTEMIS-1884
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1884
             Project: ActiveMQ Artemis
          Issue Type: New Feature
          Components: Broker
    Affects Versions: 2.6.0
            Reporter: Johan Stenberg


In ActiveMQ 5 we have [MessageAuthorizationPolicy|https://activemq.apache.org/maven/apidocs/org/apache/activemq/security/MessageAuthorizationPolicy.html].
We would need a similar feature in Artemis to being able to migrate to it.

In Artemis exists the [ActiveMQServerPlugin#beforeDeliver|https://github.com/apache/activemq-artemis/blob/master/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/plugin/ActiveMQServerPlugin.java#L502]
callback method were we probably could prevent message delivery by throwing an exception but
using exceptions for flow control feels like a very wrong thing to do here.




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message