public interface MessageFilter extends Serializable
| Modifier and Type | Interface and Description |
|---|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
MessageFilter |
and(MessageFilter f2)
Not supported at this time.
|
MessageFilter.Action |
getAction() |
String |
getFieldName() |
MessageFilter.FieldType |
getFieldType() |
String |
getPattern() |
boolean |
matches(Message msg) |
MessageFilter |
or(MessageFilter f2)
Not supported at this time.
|
String getPattern()
MessageFilter.FieldType getFieldType()
String getFieldName()
MessageFilter.Action getAction()
boolean matches(Message msg) throws MessagingException
MessagingExceptionMessageFilter and(MessageFilter f2) throws MessagingException
f2 - MessagingExceptionMessageFilter or(MessageFilter f2) throws MessagingException
f2 - MessagingExceptionCopyright © 2009,2013 Oracle and/or its affiliates. All rights reserved.