|
Oracle Fusion Middleware User Messaging Service 11.1.1.1.0 Java API Reference E14011-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.sdp.messaging.filter.MessageFilterFactory
public class MessageFilterFactory
Factory class to create MessageFilter objects
Constructor Summary | |
---|---|
MessageFilterFactory()
|
Method Summary | |
---|---|
static MessageFilter |
createBlacklistFilter(java.lang.String pattern)
Create a "blacklist" filter. |
static MessageFilter |
createMessageFilter(java.lang.String pattern,
MessageFilter.FieldType field,
java.lang.String fieldName,
MessageFilter.Action action)
Create a new MessageFilter. |
static MessageFilter |
createWhitelistFilter(java.lang.String pattern)
Create a "whitelist" filter. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MessageFilterFactory()
Method Detail |
---|
public static MessageFilter createBlacklistFilter(java.lang.String pattern)
Pattern
.
public static MessageFilter createMessageFilter(java.lang.String pattern, MessageFilter.FieldType field, java.lang.String fieldName, MessageFilter.Action action)
pattern
- The pattern to match the incoming message against. The
pattern should be a Java Pattern
.
For example:.*foo.*
^foo.*
field
- The part of the message to match against.fieldName
- If "field" is HEADER or METADATA, this parameter
determines which header or metadata entry to match against.action
- The action to take if the filter and message match.
The action is taken immediately, so no further filters will be
processed.public static MessageFilter createWhitelistFilter(java.lang.String pattern)
|
Oracle Fusion Middleware User Messaging Service 11.1.1.1.0 Java API Reference E14011-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |