public interface ExchangeHandler
Modifier and Type | Method and Description |
---|---|
void |
handleFault(Exchange exchange)
Called when a fault is generated while processing an exchange.
|
void |
handleMessage(Exchange exchange)
Called when a message is sent through an exchange.
|
void handleMessage(Exchange exchange) throws HandlerException
exchange
- an Exchange
instance containing a message to be
processedHandlerException
- when handling of the message event fails (e.g.
invalid request message).void handleFault(Exchange exchange)
exchange
- an Exchange
instance containing a message to be
processedCopyright © 2013–2019 JBoss by Red Hat. All rights reserved.