public interface MessageRestriction
Modifier and Type | Method and Description |
---|---|
boolean |
permitSend(java.lang.String mtype,
java.util.Map subsInfo)
Indicates whether a message covered by a given MType subscription
may be sent.
|
boolean permitSend(java.lang.String mtype, java.util.Map subsInfo)
mtype
- the MType string to be sentsubsInfo
- the annotation map corresponding to the MType
subscription (the value from the Subscriptions map
corresponding to the mtype
key)