-
Bug
-
Resolution: Done
-
Minor
-
7.2.1.GA
Set bridgeName while creating JMSBridge on server
When JMS bridge get reconnected after network issue the logs contains the default bridgeName i.e "N/A"
14:57:52,127 WARN [org.apache.activemq.artemis.jms.bridge] (Thread-100) AMQ342010: Failed to connect JMS Bridge N/A: javax.jms.JMSException: Failed to create session factory at org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnectionInternal(ActiveMQConnectionFactory.java:846) at org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:282) at org.apache.activemq.artemis.jms.bridge.impl.JMSBridgeImpl.createConnection(JMSBridgeImpl.java:999) at org.apache.activemq.artemis.jms.bridge.impl.JMSBridgeImpl.setupJMSObjects(JMSBridgeImpl.java:1165) at org.apache.activemq.artemis.jms.bridge.impl.JMSBridgeImpl.setupJMSObjectsWithRetry(JMSBridgeImpl.java:1268) at org.apache.activemq.artemis.jms.bridge.impl.JMSBridgeImpl.access$2500(JMSBridgeImpl.java:74) at org.apache.activemq.artemis.jms.bridge.impl.JMSBridgeImpl$FailureHandler.run(JMSBridgeImpl.java:1769) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: ActiveMQNotConnectedException[errorType=NOT_CONNECTED message=AMQ219007: Cannot connect to server(s). Tried with all available servers.] at org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl.createSessionFactory(ServerLocatorImpl.java:797) at org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnectionInternal(ActiveMQConnectionFactory.java:844) ... 9 more
And reconnect message
14:57:53,025 INFO [org.apache.activemq.artemis.jms.bridge] (Thread-100) AMQ341002: JMSBridge N/A succeeded in connecting to servers
bridgeName will be helpful to find the bridge having the issue in multi JMS Bridge scenario.
- clones
-
WFLY-12140 Set bridgeName while creating JMSBridge on server
- Closed