MessagingFactory instead@Deprecated public class MessageFilterFactory extends Object
| Constructor and Description |
|---|
MessageFilterFactory()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static MessageFilter |
createBlacklistFilter(String pattern)
Deprecated.
Use
MessagingFactory.createBlacklistFilter(String)
instead |
static MessageFilter |
createMessageFilter(String pattern,
MessageFilter.FieldType field,
String fieldName,
MessageFilter.Action action)
|
static MessageFilter |
createWhitelistFilter(String pattern)
Deprecated.
Use
MessagingFactory.createWhitelistFilter(String)
instead |
@Deprecated public static MessageFilter createMessageFilter(String pattern, MessageFilter.FieldType field, String fieldName, MessageFilter.Action action)
MessagingFactory.createMessageFilter(String, MessageFilter.FieldType, String, MessageFilter.Action)
insteadpattern - 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.@Deprecated public static MessageFilter createBlacklistFilter(String pattern)
MessagingFactory.createBlacklistFilter(String)
insteadPattern.@Deprecated public static MessageFilter createWhitelistFilter(String pattern)
MessagingFactory.createWhitelistFilter(String)
insteadCopyright © 2006,2016 Oracle and/or its affiliates. All rights reserved.