public static final class Filters.SubtypesOnly extends Object implements IMessageFilter
new Object()
Constructor and Description |
---|
SubtypesOnly() |
Modifier and Type | Method and Description |
---|---|
boolean |
accepts(Object message,
SubscriptionContext context)
Check whether the message matches some criteria
|
public boolean accepts(Object message, SubscriptionContext context)
IMessageFilter
accepts
in interface IMessageFilter
message
- The message to be handled by the handlercontext
- The context object containing a description of the message handler and the bus environmentCopyright © 2018. All rights reserved.