|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TransportManager
A singleton object that provides the main point of centralization for managing different transport providers, endpoint registration, control, processing of inbound and outbound messages, etc
Field Summary | |
---|---|
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 |
Method Summary | |
---|---|
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. |
Field Detail |
---|
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
Method Detail |
---|
void registerProvider(TransportProvider p, Transformer t) throws TransportException
p
- new tramsport provider to be registered with ALSB 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 service
TransportException
- if an exception occurred.Transformer getTransformer()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |