Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Service Bus
11g Release 1 (11.1.1.4.0)

E15033-02


com.bea.wli.sb.transports
Interface TransportSender

All Known Subinterfaces:
NoServiceTransportSender, ServiceTransportSender

public interface TransportSender

This interface needs to be implemented by those clients of TransportManager that wish to make outbound requests


Method Summary
 CredentialCallback getCredentialCallback()
           
 RequestMetaData getMetaData()
           
 Source getPayload()
          Important note: the transport provider is free to access the outbound payload source only within the scope of TransportProvider.sendMessageAsync(TransportSender, TransportSendListener, TransportOptions) call.
 Transformer getTransformer()
           

 

Method Detail

getMetaData

RequestMetaData getMetaData()
                            throws TransportException
Returns:
meta data for outbound request
Throws:
TransportException

getPayload

Source getPayload()
                  throws TransportException
Important note: the transport provider is free to access the outbound payload source only within the scope of TransportProvider.sendMessageAsync(TransportSender, TransportSendListener, TransportOptions) call. Any access of payload source after sendMessageAsync() returns can lead to unpredictable results and is generally unsafe.
Returns:
the source for the payload of the outbound message
Throws:
TransportException

getCredentialCallback

CredentialCallback getCredentialCallback()
Returns:
a callback object which the runtime can call to retrieve the username/password or private-key/certificate credential required for outbound authentication

getTransformer

Transformer getTransformer()
                           throws TransportException
Returns:
the transformer that the outbound transport can use for transformations of payload sources to desired type. This transformer may perform all transformations done by TransportManager.getTransformer() as well as those transformations that are aware of pipeline state (e.g. XmlObjectSource -> JavaObjectSource)
Throws:
TransportException

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Service Bus
11g Release 1 (11.1.1.4.0)

E15033-02


Copyright © 2008, 2010, Oracle. All rights reserved.