|
Oracle Fusion Middleware User Messaging Service 11.1.1.3.0 Java API Reference E14011-02 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MessageFilter
A MessageFilter is used by an application to exercise greater control over what messages are delivered to it. A MessageFilter contains a matching criterion and an action. An application can register a series of message filters; they will be applied in order against an incoming (received) message; if the criterion matches the message, the action is taken. For example an application can use MessageFilters to implement desired blacklists, by rejecting all messages from a given sender address.
Nested Class Summary | |
---|---|
static class |
MessageFilter.Action
The action to take if this filter matches a message. |
static class |
MessageFilter.FieldType
The set of possible message fields against which to match. |
Method Summary | |
---|---|
MessageFilter |
and(MessageFilter f2)
Not supported at this time. |
MessageFilter.Action |
getAction()
|
java.lang.String |
getFieldName()
|
MessageFilter.FieldType |
getFieldType()
|
java.lang.String |
getPattern()
|
boolean |
matches(Message msg)
|
MessageFilter |
or(MessageFilter f2)
Not supported at this time. |
Method Detail |
---|
MessageFilter and(MessageFilter f2) throws MessagingException
f2
-
MessagingException
MessageFilter.Action getAction()
java.lang.String getFieldName()
MessageFilter.FieldType getFieldType()
java.lang.String getPattern()
boolean matches(Message msg) throws MessagingException
MessagingException
MessageFilter or(MessageFilter f2) throws MessagingException
f2
-
MessagingException
|
Oracle Fusion Middleware User Messaging Service 11.1.1.3.0 Java API Reference E14011-02 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |