public interface MessageRestriction
Modifier and Type | Method and Description |
---|---|
boolean |
permitSend(String mtype,
Map subsInfo)
Indicates whether a message covered by a given MType subscription
may be sent.
|
boolean permitSend(String mtype, 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)Copyright © 2008–2024. All rights reserved.