public interface MessageListener
message callbacks
. A MessageListener
can cancel delivery of a message.
If your goal is to implement security policies around messages to a
particular subject, org.jboss.errai.bus.client.api.BooleanRoutingRule
is a better choice than
MessageListener.
Modifier and Type | Method and Description |
---|---|
boolean |
handleMessage(Message message)
Called by the Message Bus before the given message is routed to any
MessageListeners.
|
boolean handleMessage(Message message)
message
- The message being processed by the bus.message
should be allowed to proceed;
false if message
must not be delivered.Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.