org.apache.cxf.transport.jms
Class JMSDestination
java.lang.Object
org.apache.cxf.transport.AbstractObservable
org.apache.cxf.transport.AbstractDestination
org.apache.cxf.transport.AbstractMultiplexDestination
org.apache.cxf.transport.jms.JMSDestination
- All Implemented Interfaces:
- org.apache.cxf.configuration.Configurable, org.apache.cxf.transport.Destination, JMSTransport, org.apache.cxf.transport.MultiplexDestination, org.apache.cxf.transport.Observable
public class JMSDestination
- extends org.apache.cxf.transport.AbstractMultiplexDestination
- implements org.apache.cxf.configuration.Configurable, JMSTransport
| Nested classes/interfaces inherited from class org.apache.cxf.transport.AbstractDestination |
org.apache.cxf.transport.AbstractDestination.AbstractBackChannelConduit |
| Fields inherited from class org.apache.cxf.transport.AbstractDestination |
bus, endpointInfo, reference |
| Fields inherited from class org.apache.cxf.transport.AbstractObservable |
incomingObserver |
|
Constructor Summary |
JMSDestination(org.apache.cxf.Bus b,
org.apache.cxf.transport.ConduitInitiator ci,
org.apache.cxf.service.model.EndpointInfo info)
|
| Methods inherited from class org.apache.cxf.transport.AbstractMultiplexDestination |
getAddressWithId, getId |
| Methods inherited from class org.apache.cxf.transport.AbstractDestination |
getAddress, getBackChannel, getConduitInitiator, markPartialResponse |
| Methods inherited from class org.apache.cxf.transport.AbstractObservable |
getMessageObserver, getTargetReference, getTargetReference, setMessageObserver |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.cxf.transport.Destination |
getAddress, getBackChannel, getMessageObserver |
| Methods inherited from interface org.apache.cxf.transport.Observable |
setMessageObserver |
BASE_BEAN_NAME_SUFFIX
protected static final java.lang.String BASE_BEAN_NAME_SUFFIX
- See Also:
- Constant Field Values
serverConfig
protected ServerConfig serverConfig
runtimePolicy
protected ServerBehaviorPolicyType runtimePolicy
address
protected AddressType address
sessionPool
protected SessionPoolType sessionPool
JMSDestination
public JMSDestination(org.apache.cxf.Bus b,
org.apache.cxf.transport.ConduitInitiator ci,
org.apache.cxf.service.model.EndpointInfo info)
throws java.io.IOException
- Throws:
java.io.IOException
getLogger
protected java.util.logging.Logger getLogger()
- Specified by:
getLogger in class org.apache.cxf.transport.AbstractObservable
getInbuiltBackChannel
protected org.apache.cxf.transport.Conduit getInbuiltBackChannel(org.apache.cxf.message.Message inMessage)
- Specified by:
getInbuiltBackChannel in class org.apache.cxf.transport.AbstractDestination
- Parameters:
inMessage - the incoming message
- Returns:
- the inbuilt backchannel
activate
public void activate()
- Overrides:
activate in class org.apache.cxf.transport.AbstractObservable
deactivate
public void deactivate()
- Overrides:
deactivate in class org.apache.cxf.transport.AbstractObservable
shutdown
public void shutdown()
- Specified by:
shutdown in interface org.apache.cxf.transport.Destination- Overrides:
shutdown in class org.apache.cxf.transport.AbstractDestination
getReplyToDestination
public javax.jms.Queue getReplyToDestination(org.apache.cxf.message.Message inMessage)
throws javax.jms.JMSException,
javax.naming.NamingException
- Throws:
javax.jms.JMSException
javax.naming.NamingException
setReplyCorrelationID
public void setReplyCorrelationID(javax.jms.Message request,
javax.jms.Message reply)
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
incoming
protected void incoming(javax.jms.Message message)
throws java.io.IOException
- Throws:
java.io.IOException
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()
- Specified by:
getBeanName in interface org.apache.cxf.configuration.Configurable
getJMSAddress
public AddressType getJMSAddress()
- Specified by:
getJMSAddress in interface JMSTransport
setJMSAddress
public void setJMSAddress(AddressType a)
getRuntimePolicy
public ServerBehaviorPolicyType getRuntimePolicy()
setRuntimePolicy
public void setRuntimePolicy(ServerBehaviorPolicyType runtimePolicy)
getServerConfig
public ServerConfig getServerConfig()
setServerConfig
public void setServerConfig(ServerConfig serverConfig)
getSessionPool
public SessionPoolType getSessionPool()
- Specified by:
getSessionPool in interface JMSTransport
setSessionPool
public void setSessionPool(SessionPoolType sessionPool)
Apache CXF