Test broker connection invalid user and password options Main: created a broker with command: $ amq-broker-7.8.0/bin/artemis create main --user admin --password admin --allow-anonymous added to the config: Replica: created a broker with command: $ artemis create --user admin --password admin --require-login ~/replica added to the config: tcp://0.0.0.0:6700?autoStart=true;tcpSendBufferSize=1048576;tcpReceiveBufferSize=1048576;protocols=AMQP;useEpoll=true;amqpCredits=1000;amqpLowCredits=300;amqpMinLargeMessageSize=102400;amqpDuplicateDetection=true you should see an info in the main broker logs telling that authentication failed like below: 2020-12-04 12:42:39,676 INFO [org.apache.activemq.artemis.protocol.amqp.proton.handler.ProtonHandler] Outbound connection failed, authentication failure you should not see any session on replica broker: curl -s -H "Origin:http://10.0.132.32:8161" http://admin:admin@10.0.134.16:8161/console/jolokia/exec/org.apache.activemq.artemis:broker=\"0.0.0.0\"/listAllSessionsAsJSON\(\) | jq { "request": { "mbean": "org.apache.activemq.artemis:broker=\"0.0.0.0\"", "type": "exec", "operation": "listAllSessionsAsJSON()" }, "value": "[]", "timestamp": 1607103893, "status": 200 }