| Package | Description |
|---|---|
| org.wso2.carbon.messaging | |
| org.wso2.carbon.messaging.handler |
| Modifier and Type | Class and Description |
|---|---|
class |
BinaryCarbonMessage
CarbonMessage type for Binary Messages. |
class |
ControlCarbonMessage
CarbonMessage for control messages. |
class |
DefaultCarbonMessage
Default implementation for carbon message.
|
class |
MapCarbonMessage
CarbonMessage type for Map message. |
class |
SerializableCarbonMessage
CarbonMessage serializable implementation. |
class |
StatusCarbonMessage
CarbonMessage type for Status Message. |
class |
StreamingCarbonMessage
CarbonMessage for streaming. |
class |
TextCarbonMessage
CarbonMessage type for Text Messages. |
| Modifier and Type | Method and Description |
|---|---|
static CarbonMessage |
MessageUtil.cloneCarbonMessageWithData(CarbonMessage carbonMessage)
Copy the Full carbon message with data
|
static CarbonMessage |
MessageUtil.cloneCarbonMessageWithOutData(CarbonMessage carbonMessage)
Copy Message properties and transport headers
|
| Modifier and Type | Method and Description |
|---|---|
static CarbonMessage |
MessageUtil.cloneCarbonMessageWithData(CarbonMessage carbonMessage)
Copy the Full carbon message with data
|
static CarbonMessage |
MessageUtil.cloneCarbonMessageWithOutData(CarbonMessage carbonMessage)
Copy Message properties and transport headers
|
void |
CarbonCallback.done(CarbonMessage cMsg)
Calls in response path to do work for response.
|
void |
ServerConnectorErrorHandler.handleError(Exception exception,
CarbonMessage carbonMessage,
CarbonCallback callback)
The error handling method which will be invoked by the application using the
ServerConnector
associated with this error handler. |
void |
FaultHandler.handleFault(String statusCode,
Throwable throwable,
CarbonMessage carbonMessage,
CarbonCallback carbonCallback) |
boolean |
CarbonMessageProcessor.receive(CarbonMessage msg,
CarbonCallback callback) |
boolean |
ClientConnector.send(CarbonMessage msg,
CarbonCallback callback)
Message sending logic to send message to a backend endpoint.
|
boolean |
TransportSender.send(CarbonMessage msg,
CarbonCallback callback)
Deprecated.
Should include the logic for handover messages to BE.
|
boolean |
ClientConnector.send(CarbonMessage msg,
CarbonCallback callback,
Map<String,String> parameters)
Message sending logic to send message to a backend endpoint.
|
void |
Writer.writeLastContent(CarbonMessage carbonMessage)
A method which is used to write Last content and flush to underlying IO channel directly.
|
| Modifier and Type | Method and Description |
|---|---|
void |
HandlerExecutor.executeAtSourceRequestReceiving(CarbonMessage carbonMessage) |
void |
HandlerExecutor.executeAtSourceRequestSending(CarbonMessage carbonMessage) |
void |
HandlerExecutor.executeAtSourceResponseReceiving(CarbonMessage carbonMessage) |
void |
HandlerExecutor.executeAtSourceResponseSending(CarbonMessage carbonMessage) |
void |
HandlerExecutor.executeAtTargetRequestReceiving(CarbonMessage carbonMessage) |
void |
HandlerExecutor.executeAtTargetRequestSending(CarbonMessage carbonMessage) |
void |
HandlerExecutor.executeAtTargetResponseReceiving(CarbonMessage carbonMessage) |
void |
HandlerExecutor.executeAtTargetResponseSending(CarbonMessage carbonMessage) |
boolean |
HandlerExecutor.executeRequestContinuationValidator(CarbonMessage carbonMessage,
CarbonCallback callback) |
void |
MessagingHandler.invokeAtSourceRequestReceiving(CarbonMessage carbonMessage)
Invoked when source request is started receiving at source handler.
|
void |
MessagingHandler.invokeAtSourceRequestSending(CarbonMessage carbonMessage)
Invoked when source request is started sending to the message processor.
|
void |
MessagingHandler.invokeAtSourceResponseReceiving(CarbonMessage carbonMessage)
Invoked when the response is received again to the transport level after being processed at message processor.
|
void |
MessagingHandler.invokeAtSourceResponseSending(CarbonMessage carbonMessage)
Invoked when the response is started sending to the client.
|
void |
MessagingHandler.invokeAtTargetRequestReceiving(CarbonMessage carbonMessage)
Invoked when the request is received again to the transport level after being processed at message processor.
|
void |
MessagingHandler.invokeAtTargetRequestSending(CarbonMessage carbonMessage)
Invoked when the request is started sending to the backend.
|
void |
MessagingHandler.invokeAtTargetResponseReceiving(CarbonMessage carbonMessage)
Invoked when target response is started receiving at target handler.
|
void |
MessagingHandler.invokeAtTargetResponseSending(CarbonMessage carbonMessage)
Invoked when target response is started sending to the message processor.
|
boolean |
MessagingHandler.validateRequestContinuation(CarbonMessage carbonMessage,
CarbonCallback callback)
Invoked when source request's headers are received at the source handler.
|
Copyright © 2017 WSO2. All rights reserved.