public interface CarbonMessageProcessor
| Modifier and Type | Method and Description |
|---|---|
String |
getId() |
boolean |
receive(CarbonMessage msg,
CarbonCallback callback) |
void |
setClientConnector(ClientConnector clientConnector)
Method which sets the given client connector for this message processor instance which is used with
sending message via a response channel.
|
void |
setTransportSender(TransportSender sender)
Deprecated.
use
setClientConnector(ClientConnector) instead. |
boolean receive(CarbonMessage msg, CarbonCallback callback) throws Exception
msg - CarbopnMessage received for processing.callback - Callback received from transport layer to the CarbonMessageProcessor.Exception - Exception to signal any failure at the message processor.@Deprecated void setTransportSender(TransportSender sender)
setClientConnector(ClientConnector) instead.void setClientConnector(ClientConnector clientConnector)
clientConnector - client connector instance.String getId()
Copyright © 2017 WSO2. All rights reserved.