org.apache.cxf.transport.jms
Class JMSConduit
java.lang.Object
org.apache.cxf.transport.AbstractObservable
org.apache.cxf.transport.AbstractConduit
org.apache.cxf.transport.jms.JMSConduit
- All Implemented Interfaces:
- Configurable, Conduit, JMSTransport, Observable
public class JMSConduit
- extends AbstractConduit
- implements Configurable, JMSTransport
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BASE_BEAN_NAME_SUFFIX
protected static final java.lang.String BASE_BEAN_NAME_SUFFIX
- See Also:
- Constant Field Values
base
protected final JMSTransportBase base
clientConfig
protected ClientConfig clientConfig
runtimePolicy
protected ClientBehaviorPolicyType runtimePolicy
address
protected AddressType address
sessionPool
protected SessionPoolType sessionPool
JMSConduit
public JMSConduit(Bus b,
EndpointInfo endpointInfo)
JMSConduit
public JMSConduit(Bus b,
EndpointInfo endpointInfo,
EndpointReferenceType target)
prepare
public void prepare(Message message)
throws java.io.IOException
- Description copied from interface:
Conduit
- Prepare the message for sending. This will typically involve setting
an OutputStream on the message, but it may do nothing at all.
- Specified by:
prepare in interface Conduit
- Parameters:
message - the message to be sent.
- Throws:
java.io.IOException
close
public void close()
- Description copied from class:
AbstractConduit
- Close the conduit.
- Specified by:
close in interface Conduit- Overrides:
close in class AbstractConduit
getLogger
protected java.util.logging.Logger getLogger()
- Specified by:
getLogger in class AbstractObservable
- Returns:
- the logger to use
connected
public void connected(javax.jms.Destination target,
javax.jms.Destination reply,
JMSSessionFactory factory)
- Description copied from interface:
JMSTransport
- Callback from the JMSProviderHub indicating the ClientTransport has
been sucessfully connected.
- Specified by:
connected in interface JMSTransport
getBeanName
public java.lang.String getBeanName()
- Description copied from interface:
Configurable
- Get the configurable object's Bean name
- Specified by:
getBeanName in interface Configurable
- Returns:
- the bean name
getJMSAddress
public AddressType getJMSAddress()
- Specified by:
getJMSAddress in interface JMSTransport
setJMSAddress
public void setJMSAddress(AddressType a)
getClientConfig
public ClientConfig getClientConfig()
setClientConfig
public void setClientConfig(ClientConfig clientConfig)
getRuntimePolicy
public ClientBehaviorPolicyType getRuntimePolicy()
setRuntimePolicy
public void setRuntimePolicy(ClientBehaviorPolicyType runtimePolicy)
getSessionPool
public SessionPoolType getSessionPool()
- Specified by:
getSessionPool in interface JMSTransport
setSessionPool
public void setSessionPool(SessionPoolType sessionPool)
Apache CXF is an effort undergoing incubation at the Apache Software Foundation(ASF) and sponsored by the Apache Incubator PMC.