Test mirror between a main and replica brokers with default options but queue-creation="false" 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 --allow-anonymous ~/replica added to the config: an acceptor: tcp://0.0.0.0:6700?autoStart=true;tcpSendBufferSize=1048576;tcpReceiveBufferSize=1048576;protocols=AMQP;useEpoll=true;amqpCredits=1000;amqpLowCredits=300;amqpMinLargeMessageSize=102400;amqpDuplicateDetection=true ensure there is no queue or messages create on main broker: $ main/bin/artemis queue stat --url tcp://10.0.132.32:61616 Connection brokerURL = tcp://10.0.132.32:61616 |NAME |ADDRESS |CONSUMER_COUNT |MESSAGE_COUNT |MESSAGES_ADDED |DELIVERING_COUNT |MESSAGES_ACKED |SCHEDULED_COUNT |ROUTING_TYPE | |DLQ |DLQ |0 |0 |0 |0 |0 |0 |ANYCAST | |DRSite68f3d771-3768-41a4-92b7-e8f570fa8715|DRSite68f3d771-3768-41a4-92b7-e8f570fa8715|1 |0 |1011 |0 |1011 |0 |ANYCAST | |ExpiryQueue |ExpiryQueue |0 |0 |0 |0 |0 |0 |ANYCAST | |activemq.management.3cd5a033-5616-4fd6-aad7-13b0fd13afe7|activemq.management.3cd5a033-5616-4fd6-aad7-13b0fd13afe7|1 |0 |0 |0 |0 |0 |MULTICAST | ensure there is no queue or messages create on replica broker but the queue 'queues.A' exists $ main/bin/artemis queue stat --url tcp://10.0.134.16:61616 Connection brokerURL = tcp://10.0.134.16:61616 |NAME |ADDRESS |CONSUMER_COUNT |MESSAGE_COUNT |MESSAGES_ADDED |DELIVERING_COUNT |MESSAGES_ACKED |SCHEDULED_COUNT |ROUTING_TYPE | |activemq.management.4a362656-a060-4f51-83bd-f819fc2519c2|activemq.management.4a362656-a060-4f51-83bd-f819fc2519c2|1 |0 |0 |0 |0 |0 |MULTICAST | produce messages for on main broker: $ main/bin/artemis producer --url tcp://10.0.132.32:61616 --destination queue://MYQ Connection brokerURL = tcp://10.0.132.32:61616 Producer ActiveMQQueue[MYQ], thread=0 Started to calculate elapsed time ... Producer ActiveMQQueue[MYQ], thread=0 Produced: 1000 messages Producer ActiveMQQueue[MYQ], thread=0 Elapsed time in second : 2 s Producer ActiveMQQueue[MYQ], thread=0 Elapsed time in milli second : 2547 milli seconds ensure messages are on main broker in MYQ queue: $ main/bin/artemis queue stat --url tcp://10.0.132.32:61616 Connection brokerURL = tcp://10.0.132.32:61616 |NAME |ADDRESS |CONSUMER_COUNT |MESSAGE_COUNT |MESSAGES_ADDED |DELIVERING_COUNT |MESSAGES_ACKED |SCHEDULED_COUNT |ROUTING_TYPE | |DLQ |DLQ |0 |0 |0 |0 |0 |0 |ANYCAST | |DRSite68f3d771-3768-41a4-92b7-e8f570fa8715|DRSite68f3d771-3768-41a4-92b7-e8f570fa8715|1 |0 |2015 |0 |2015 |0 |ANYCAST | |ExpiryQueue |ExpiryQueue |0 |0 |0 |0 |0 |0 |ANYCAST | |MYQ |MYQ |0 |1000 |1000 |0 |0 |0 |ANYCAST | |activemq.management.ee171bc8-6c72-4234-b4d4-7d6960ee1a76|activemq.management.ee171bc8-6c72-4234-b4d4-7d6960ee1a76|1 |0 |0 |0 |0 |0 |MULTICAST | As the queue creation is disabled and the queue does not exist in the repica, the queue should not be replicated to replica broker: $ main/bin/artemis queue stat --url tcp://10.0.134.16:61616 Connection brokerURL = tcp://10.0.134.16:61616 |NAME |ADDRESS |CONSUMER_COUNT |MESSAGE_COUNT |MESSAGES_ADDED |DELIVERING_COUNT |MESSAGES_ACKED |SCHEDULED_COUNT |ROUTING_TYPE | |activemq.management.1e88ece3-0307-4591-a7e3-23f7c4859d3f|activemq.management.1e88ece3-0307-4591-a7e3-23f7c4859d3f|1 |0 |0 |0 |0 |0 |MULTICAST |