|
Oracle Fusion Middleware Java API Reference for Oracle Service Bus 11g Release 1 (11.1.1.4.0) E15033-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TransportSendListener
This is the callback object supplied to the outbound transport allowing him to signal to the system that response processing can proceed. This callback object should be invoked on a separate thread from the request message
Method Summary | |
---|---|
void |
onError(OutboundTransportMessageContext ctx, java.lang.String errorCode, java.lang.String errorMessage) Called by the transport provider when an internal system error occurs within the transport provider that prevents it from receiving a response (e.g. |
void |
onReceiveResponse(OutboundTransportMessageContext ctx) Called by the transport provider when a response is received from an external (business) service to give the response back to OSB for processing. |
Method Detail |
---|
void onReceiveResponse(OutboundTransportMessageContext ctx)
ctx
- reference to outbound message context object which OSB runtime can use to extract response payload, meta data, etcvoid onError(OutboundTransportMessageContext ctx, java.lang.String errorCode, java.lang.String errorMessage)
ctx
- reference to outbound message context object which OSB runtime can use to extract response payload, meta data, etcerrorCode
- provider-specific error code, will be put into the errorCode section of $fault variable in OSB pipeline contexterrorMessage
- rpvider-specific error message, will be put into the errorMessage section of $fault variable in OSB pipeline context
|
Oracle Fusion Middleware Java API Reference for Oracle Service Bus 11g Release 1 (11.1.1.4.0) E15033-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |