public class SimpleJmsTopicConnector 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 |
|---|
SimpleJmsTopicConnector() |
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 SimpleJmsTopicConnector()
public InboundTopicBridge[] getInboundTopicBridges()
public void setInboundTopicBridges(InboundTopicBridge[] inboundTopicBridges)
inboundTopicBridges - The inboundTopicBridges to set.public OutboundTopicBridge[] getOutboundTopicBridges()
public void setOutboundTopicBridges(OutboundTopicBridge[] outboundTopicBridges)
outboundTopicBridges - The outboundTopicBridges to set.public TopicConnectionFactory getLocalTopicConnectionFactory()
public void setLocalTopicConnectionFactory(TopicConnectionFactory localConnectionFactory)
localTopicConnectionFactory - The localTopicConnectionFactory to set.public TopicConnectionFactory getOutboundTopicConnectionFactory()
public String getOutboundTopicConnectionFactoryName()
public void setOutboundTopicConnectionFactoryName(String foreignTopicConnectionFactoryName)
outboundTopicConnectionFactoryName - The outboundTopicConnectionFactoryName to set.public String getLocalConnectionFactoryName()
public void setLocalConnectionFactoryName(String localConnectionFactoryName)
localConnectionFactoryName - The localConnectionFactoryName to set.public TopicConnection getLocalTopicConnection()
public void setLocalTopicConnection(TopicConnection localTopicConnection)
localTopicConnection - The localTopicConnection to set.public TopicConnection getOutboundTopicConnection()
public void setOutboundTopicConnection(TopicConnection foreignTopicConnection)
outboundTopicConnection - The outboundTopicConnection to set.public void setOutboundTopicConnectionFactory(TopicConnectionFactory foreignTopicConnectionFactory)
outboundTopicConnectionFactory - The outboundTopicConnectionFactory 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(TopicConnection connection) throws JMSException
JMSExceptionprotected void initializeInboundDestinationBridgesLocalSide(TopicConnection connection) throws JMSException
JMSExceptionprotected void initializeOutboundDestinationBridgesOutboundSide(TopicConnection connection) throws JMSException
JMSExceptionprotected void initializeOutboundDestinationBridgesLocalSide(TopicConnection connection) throws JMSException
JMSExceptionprotected Destination createReplyToBridge(Destination destination, Connection replyToProducerConnection, Connection replyToConsumerConnection)
createReplyToBridge in class JmsConnectorprotected Topic createActiveMQTopic(TopicSession session, String topicName) throws JMSException
JMSExceptionprotected Topic createForeignTopic(TopicSession session, String topicName) throws JMSException
JMSExceptionCopyright © 2005–2015 The Apache Software Foundation. All rights reserved.