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:
- Configurable, Destination, JMSTransport, MultiplexDestination, Observable
public class JMSDestination
- extends AbstractMultiplexDestination
- implements Configurable, JMSTransport
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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(Bus b,
ConduitInitiator ci,
EndpointInfo info)
throws java.io.IOException
- Throws:
java.io.IOException
getLogger
protected java.util.logging.Logger getLogger()
- Specified by:
getLogger in class AbstractObservable
- Returns:
- the logger to use
getInbuiltBackChannel
protected Conduit getInbuiltBackChannel(Message inMessage)
- Specified by:
getInbuiltBackChannel in class AbstractDestination
- Parameters:
inMessage - the incoming message
- Returns:
- the inbuilt backchannel
activate
public void activate()
- Description copied from class:
AbstractObservable
- Activate messages flow.
- Overrides:
activate in class AbstractObservable
deactivate
public void deactivate()
- Description copied from class:
AbstractObservable
- Deactivate messages flow.
- Overrides:
deactivate in class AbstractObservable
shutdown
public void shutdown()
- Description copied from class:
AbstractDestination
- Shutdown the Destination, i.e. stop accepting incoming messages.
- Specified by:
shutdown in interface Destination- Overrides:
shutdown in class AbstractDestination
getReplyToDestination
public javax.jms.Queue getReplyToDestination(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()
- 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)
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