...
Code Block |
---|
java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory java.naming.provider.url=tcp://<AMQ-IP-ADDRESS1>SERVER1>:61616 topic.OFBTopic=OFBTopic connectionFactoryNames=connectionFactory, queueConnectionFactory, topicConnectionFactory |
...
Code Block |
---|
java.naming.provider.url=tcp://<AMQ-IP-ADDRESS1>SERVER1>:61616 |
by
Code Block |
---|
java.naming.provider.url=failover:(tcp://<AMQ-IP-ADDRESS1>61616SERVER1>61616?soTimeout=60000,tcp://<AMQ-IP-ADDRESS2>61616SERVER2>61616?soTimeout=60000)?randomize=false |
...