public class SimpleJmsQueueConnector extends JmsConnector
connectionSerivce, embeddedConnectionFactory, failed, foreignConnection, foreignSideInitialized, inboundMessageConvertor, initialized, jndiLocalTemplate, jndiOutboundTemplate, localClientId, localConnection, localPassword, localSideInitialized, localUsername, outboundClientId, outboundMessageConvertor, outboundPassword, outboundUsername, preferJndiDestinationLookup, replyToBridges, replyToDestinationCacheSize, started| Constructor and Description |
|---|
SimpleJmsQueueConnector() |
addInboundBridge, addOutboundBridge, clearBridges, doConnectorInit, getForeignConnection, getInboundMessageConvertor, getJndiLocalTemplate, getJndiOutboundTemplate, getLocalClientId, getLocalConnection, getLocalPassword, getLocalUsername, getName, getOutboundClientId, getOutboundMessageConvertor, getOutboundPassword, getOutboundUsername, getReconnectionPolicy, getReplyToDestinationCacheSize, init, isConnected, isFailed, isPreferJndiDestinationLookup, removeInboundBridge, removeOutboundBridge, setBrokerService, setInboundMessageConvertor, setJndiLocalTemplate, setJndiOutboundTemplate, setLocalClientId, setLocalPassword, setLocalUsername, setName, setOutboundClientId, setOutboundMessageConvertor, setOutboundPassword, setOutboundUsername, setPreferJndiDestinationLookup, setReconnectionPolicy, setReplyToDestinationCacheSize, start, stoppublic SimpleJmsQueueConnector()
public InboundQueueBridge[] getInboundQueueBridges()
public void setInboundQueueBridges(InboundQueueBridge[] inboundQueueBridges)
inboundQueueBridges - The inboundQueueBridges to set.public OutboundQueueBridge[] getOutboundQueueBridges()
public void setOutboundQueueBridges(OutboundQueueBridge[] outboundQueueBridges)
outboundQueueBridges - The outboundQueueBridges to set.public QueueConnectionFactory getLocalQueueConnectionFactory()
public void setLocalQueueConnectionFactory(QueueConnectionFactory localConnectionFactory)
localQueueConnectionFactory - The localQueueConnectionFactory to
set.public QueueConnectionFactory getOutboundQueueConnectionFactory()
public String getOutboundQueueConnectionFactoryName()
public void setOutboundQueueConnectionFactoryName(String foreignQueueConnectionFactoryName)
outboundQueueConnectionFactoryName - The
outboundQueueConnectionFactoryName to set.public String getLocalConnectionFactoryName()
public void setLocalConnectionFactoryName(String localConnectionFactoryName)
localConnectionFactoryName - The localConnectionFactoryName to set.public QueueConnection getLocalQueueConnection()
public void setLocalQueueConnection(QueueConnection localQueueConnection)
localQueueConnection - The localQueueConnection to set.public QueueConnection getOutboundQueueConnection()
public void setOutboundQueueConnection(QueueConnection foreignQueueConnection)
outboundQueueConnection - The outboundQueueConnection to set.public void setOutboundQueueConnectionFactory(QueueConnectionFactory foreignQueueConnectionFactory)
outboundQueueConnectionFactory - The outboundQueueConnectionFactory
to set.protected void initializeForeignConnection() throws NamingException, JMSException
JmsConnector
This creates the initial connection to the foreign end of the JmsConnector
and then sets up all the destination bridges with the information needed to bridge
on the foreign side of the connection.
initializeForeignConnection in class JmsConnectorNamingExceptionJMSExceptionprotected void initializeLocalConnection() throws NamingException, JMSException
JmsConnector
This creates the initial connection to the local end of the JmsConnector
and then sets up all the destination bridges with the information needed to bridge
on the local side of the connection.
initializeLocalConnection in class JmsConnectorNamingExceptionJMSExceptionprotected void initializeInboundDestinationBridgesOutboundSide(QueueConnection connection) throws JMSException
JMSExceptionprotected void initializeInboundDestinationBridgesLocalSide(QueueConnection connection) throws JMSException
JMSExceptionprotected void initializeOutboundDestinationBridgesOutboundSide(QueueConnection connection) throws JMSException
JMSExceptionprotected void initializeOutboundDestinationBridgesLocalSide(QueueConnection connection) throws JMSException
JMSExceptionprotected Destination createReplyToBridge(Destination destination, Connection replyToProducerConnection, Connection replyToConsumerConnection)
createReplyToBridge in class JmsConnectorprotected Queue createActiveMQQueue(QueueSession session, String queueName) throws JMSException
JMSExceptionprotected Queue createForeignQueue(QueueSession session, String queueName) throws JMSException
JMSExceptionCopyright © 2005–2017 FuseSource, Corp.. All rights reserved.