Oracle Fusion Middleware User Messaging Service 11.1.1.7.0 Java API Reference
E14011-05

oracle.sdp.messaging.filter
Class MessageFilterFactory

java.lang.Object
  extended by oracle.sdp.messaging.filter.MessageFilterFactory

Deprecated. Use MessagingFactory instead

@Deprecated
public class MessageFilterFactory
extends java.lang.Object

Factory class to create MessageFilter objects

Since:
11.1.1.0.0

Constructor Summary
MessageFilterFactory()
          Deprecated.  
 
Method Summary
static MessageFilter createBlacklistFilter(java.lang.String pattern)
          Deprecated. Use MessagingFactory.createBlacklistFilter(String) instead
static MessageFilter createMessageFilter(java.lang.String pattern, MessageFilter.FieldType field, java.lang.String fieldName, MessageFilter.Action action)
          Deprecated. Use MessagingFactory.createMessageFilter(String, MessageFilter.FieldType, String, MessageFilter.Action) instead
static MessageFilter createWhitelistFilter(java.lang.String pattern)
          Deprecated. Use MessagingFactory.createWhitelistFilter(String) instead
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageFilterFactory

public MessageFilterFactory()
Deprecated. 
Method Detail

createMessageFilter

@Deprecated
public static MessageFilter createMessageFilter(java.lang.String pattern,
                                                           MessageFilter.FieldType field,
                                                           java.lang.String fieldName,
                                                           MessageFilter.Action action)
Deprecated. Use MessagingFactory.createMessageFilter(String, MessageFilter.FieldType, String, MessageFilter.Action) instead

Create a new MessageFilter.

Parameters:
pattern - The pattern to match the incoming message against. The pattern should be a Java Pattern. For example:
To match the substring "foo" anywhere within the specified field, the correct pattern is .*foo.*
To match a field starting with foo, the correct pattern is ^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.

createBlacklistFilter

@Deprecated
public static MessageFilter createBlacklistFilter(java.lang.String pattern)
Deprecated. Use MessagingFactory.createBlacklistFilter(String) instead

Create a "blacklist" filter. Matches against an incoming message's sender address, and rejects the message if the sender matches the given pattern. As above, the pattern should be a Java Pattern.


createWhitelistFilter

@Deprecated
public static MessageFilter createWhitelistFilter(java.lang.String pattern)
Deprecated. Use MessagingFactory.createWhitelistFilter(String) instead

Create a "whitelist" filter. Matches against an incoming message's sender address, and accepts the message if the sender matches the given pattern.


Oracle Fusion Middleware User Messaging Service 11.1.1.7.0 Java API Reference
E14011-05

Copyright © 2009, 2013 Oracle and/or its affiliates. All rights reserved.