Activemq native bridge connection error
Issue
- When we add a native bridge connection over tcp the bridge connection is not started and we see errors in our logs related to some security problem . Config looks this way
<bean id="xyz"
class="org.apache.activemq.ActiveMQConnectionFactory">
<property name="brokerURL" value="tcp://IP:PORT" />
<property name="userName" value="user"/>
<property name="password" value="pwd"/>
</bean>
JMS brige connector in our amq broker
<jmsBridgeConnectors>
<jmsQueueConnector outboundQueueConnectionFactory="#xyz">
<outboundQueueBridges>
<outboundQueueBridge outboundQueueName="abc" />
</outboundQueueBridges>
</jmsQueueConnector>
</jmsBridgeConnectors>
In the logs we can observe some strange behavior of creating vm:amq connectivity where is some security problem with password.
2015-09-29 14:04:21,617 | WARN | : vm://amq#575-1 | TransportConnection | ivemq.broker.TransportConnection 772 | 104 - org.apache.activemq.activemq-osgi - 5.8.0.redhat-60024 | Failed to add Connection ID:osi2532.de-prod.dk-54904-1443527973398-3:288, reason: java.lang.SecurityException: User name [null] or password is invalid.
Environment
- Red Hat JBoss A-MQ
- 6.0.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.