Oracle Fusion Middleware
Oracle WebLogic Server API Reference
12c Release 1 (12.1.1)

Part Number E24391-02

weblogic.wsee.connection.transport.jms
Class JmsTransport

java.lang.Object
  extended by weblogic.wsee.connection.transport.jms.JmsTransport
All Implemented Interfaces:
weblogic.wsee.connection.transport.ClientTransport, weblogic.wsee.connection.transport.Transport

public class JmsTransport
extends Object
implements weblogic.wsee.connection.transport.ClientTransport

JMS Client Binding based on


Constructor Summary
JmsTransport()
          creates a JMS transport
 
Method Summary
 void confirmOneway()
          Confirms a oneway send/receive.
 void connect(String destination, weblogic.wsee.connection.transport.TransportInfo info)
          Connects to the target
 String getEndpointAddress()
          Gets the address of the endpoint targeted by this transport
 String getName()
          Gets the name of the transport
 String getServiceURI()
          Gets the URI of the service targeted by this transport
 boolean isBlocking()
          Called to query if this transport is blocking or non-blocking
 InputStream receive(MimeHeaders headers)
          Receives a message
 OutputStream send(MimeHeaders headers)
          Sends a message
 OutputStream sendFault(MimeHeaders headers)
           
 void setConnectionTimeout(int millis)
          sets time out
 void setReadTimeout(int millis)
           
 void setResponseListener(weblogic.wsee.connection.ResponseListener listener)
          Sets the response listener, which fires when the transport relpy is available
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JmsTransport

public JmsTransport()
creates a JMS transport

Method Detail

connect

public void connect(String destination,
                    weblogic.wsee.connection.transport.TransportInfo info)
             throws IOException
Description copied from interface: weblogic.wsee.connection.transport.ClientTransport
Connects to the target

Specified by:
connect in interface weblogic.wsee.connection.transport.ClientTransport
Parameters:
destination - The target address
Throws:
IOException

setResponseListener

public void setResponseListener(weblogic.wsee.connection.ResponseListener listener)
Description copied from interface: weblogic.wsee.connection.transport.ClientTransport
Sets the response listener, which fires when the transport relpy is available

Specified by:
setResponseListener in interface weblogic.wsee.connection.transport.ClientTransport
Parameters:
listener - The response listener

isBlocking

public boolean isBlocking()
Description copied from interface: weblogic.wsee.connection.transport.ClientTransport
Called to query if this transport is blocking or non-blocking

Specified by:
isBlocking in interface weblogic.wsee.connection.transport.ClientTransport
Returns:
The blocking value

setConnectionTimeout

public void setConnectionTimeout(int millis)
Description copied from interface: weblogic.wsee.connection.transport.ClientTransport
sets time out

Specified by:
setConnectionTimeout in interface weblogic.wsee.connection.transport.ClientTransport
Parameters:
millis - milli secound

setReadTimeout

public void setReadTimeout(int millis)
Specified by:
setReadTimeout in interface weblogic.wsee.connection.transport.ClientTransport

getName

public String getName()
Description copied from interface: weblogic.wsee.connection.transport.Transport
Gets the name of the transport

Specified by:
getName in interface weblogic.wsee.connection.transport.Transport
Returns:
The name of the transport

getServiceURI

public String getServiceURI()
Description copied from interface: weblogic.wsee.connection.transport.Transport
Gets the URI of the service targeted by this transport

Specified by:
getServiceURI in interface weblogic.wsee.connection.transport.Transport
Returns:
The URI of the service targeted by this transport

getEndpointAddress

public String getEndpointAddress()
Description copied from interface: weblogic.wsee.connection.transport.Transport
Gets the address of the endpoint targeted by this transport

Specified by:
getEndpointAddress in interface weblogic.wsee.connection.transport.Transport
Returns:
The address of the endpoint targeted by this transport

send

public OutputStream send(MimeHeaders headers)
                  throws IOException
Description copied from interface: weblogic.wsee.connection.transport.Transport
Sends a message

Specified by:
send in interface weblogic.wsee.connection.transport.Transport
Parameters:
headers - The headers to be written to the message
Returns:
An output stream for writing the message body
Throws:
IOException

sendFault

public OutputStream sendFault(MimeHeaders headers)
                       throws IOException
Throws:
IOException

receive

public InputStream receive(MimeHeaders headers)
                    throws IOException
Description copied from interface: weblogic.wsee.connection.transport.Transport
Receives a message

Specified by:
receive in interface weblogic.wsee.connection.transport.Transport
Parameters:
headers - The headers, populated from the message
Returns:
An input stream for reading the message body
Throws:
IOException

confirmOneway

public void confirmOneway()
                   throws IOException
Description copied from interface: weblogic.wsee.connection.transport.Transport
Confirms a oneway send/receive. Server transports implement this to send acknowledgements, return status codes, etc. Client transports implement this to verify acknowledgements, status codes, etc.

Specified by:
confirmOneway in interface weblogic.wsee.connection.transport.Transport
Throws:
IOException

Copyright 1996, 2011, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Oracle WebLogic Server API Reference
12c Release 1 (12.1.1)

Part Number E24391-02