Package org.apache.activemq.security
Interface MessageAuthorizationPolicy
-
public interface MessageAuthorizationPolicy
A plugin to allow custom message-level security checks to be performed before a message is consumed.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isAllowedToConsume(ConnectionContext context, Message message)
Returns true if the given message is able to be dispatched to the connection performing any user
-
-
-
Method Detail
-
isAllowedToConsume
boolean isAllowedToConsume(ConnectionContext context, Message message)
Returns true if the given message is able to be dispatched to the connection performing any user- Returns:
- true if the context is allowed to consume the message
-
-