public interface TransportManager
Modifier and Type | Field and Description |
---|---|
static String |
TRANSPORT_ERROR_APPLICATION
String representation of application error code.
|
static String |
TRANSPORT_ERROR_CONNECTION
String representation of connection error code.
|
static String |
TRANSPORT_ERROR_GENERIC
String representation of generic error code
|
static String |
TRANSPORT_ERROR_THROTTLING_EXPIRED
String representation of a transport error due to throttling.
|
static String |
TRANSPORT_ERROR_THROTTLING_OVERLOAD
String representation of a transport error due to throttling.
|
static String |
TRANSPORT_ERROR_THROTTLING_QUEUE
String representation of a transport error due to throttling.
|
static String |
TRANSPORT_RESOURCE_NAME
internal name used by monitoring subsystem
|
static int |
TRANSPORT_STATUS_APPLICATION_ERROR
transport specific status code that indicates application error
|
static int |
TRANSPORT_STATUS_CONNECTION_ERROR
transport specific status code that indicates connection error
|
static int |
TRANSPORT_STATUS_ERROR
transport specific status code that indicates generic error
|
static int |
TRANSPORT_STATUS_OK
transport specific status code that indicates success
|
Modifier and Type | Method and Description |
---|---|
Transformer |
getTransformer() |
void |
receiveMessage(InboundTransportMessageContext ctx, TransportOptions options)
Processes an inbound message: the caller is the transport endpoint implementation, and transport manager passes the message context down to the router manager, which sends the incoming message down the request pipeline.
|
void |
registerProvider(TransportProvider p, Transformer t)
Registers a new provider with the transport manager.
|
static final int TRANSPORT_STATUS_OK
static final int TRANSPORT_STATUS_ERROR
static final int TRANSPORT_STATUS_APPLICATION_ERROR
static final int TRANSPORT_STATUS_CONNECTION_ERROR
static final String TRANSPORT_RESOURCE_NAME
static final String TRANSPORT_ERROR_GENERIC
static final String TRANSPORT_ERROR_APPLICATION
static final String TRANSPORT_ERROR_THROTTLING_OVERLOAD
static final String TRANSPORT_ERROR_THROTTLING_EXPIRED
static final String TRANSPORT_ERROR_THROTTLING_QUEUE
static final String TRANSPORT_ERROR_CONNECTION
void registerProvider(TransportProvider p, Transformer t) throws TransportException
p
- new tramsport provider to be registered with OSB subsystemt
- transformer for those provider that support custom sources and tranbsformations. Maybe null.TransportException
- if an exception occurred.void receiveMessage(InboundTransportMessageContext ctx, TransportOptions options) throws TransportException
ctx
- message context created by transport provideroptions
- provider-supplied directives on processing the message, e.g. desired quality of serviceTransportException
- if an exception occurred.Transformer getTransformer()
TransportSender.getTransformer()