Consider the following setup:
Two A-MQ brokers, each with a half-duplex connector to the other.
AMQ1 has the following entry in users.properties:
admin=admin,admin,manager,viewer,Operator, Maintainer, Deployer, Auditor, Administrator, SuperUser
AMQ2 has the following entry in users.properties:
amqadmin=amqadmin,admin,manager,viewer,Operator, Maintainer, Deployer, Auditor, Administrator, SuperUser
AMQ1 has a network connector configured as a half-duplex connector to AMQ2:
<networkConnectors> <networkConnector name="NODE1toNODE2" userName="amqadmin" password="amqadmin" duplex="false" uri="static:(tcp://node12.dhawkins.redhat.com:61616)" networkTTL="3"/> </networkConnector>
AMQ2 has a network connector configured as a half-duplex connector to AMQ1:
<networkConnectors> <networkConnector name="NODE2toNODE1" userName="admin" password="admin" duplex="false" uri="static:(tcp://node11.dhawkins.redhat.com:61616)" networkTTL="3"/> </networkConnectors>
This seems as if it should work, however, it does not unless both users are added to both brokers - instead authentication failures are logged by each broker when trying to establish the NOB connection.
Is this expected behavior?