Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-1688

Cluster won't form when auto-create-addresses = false

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.4.0
    • 2.5.0
    • None
    • None

    Description

      If address auto-creation is disabled like so:

      <address-setting match="#">
         <auto-create-queues>false</auto-create-queues>
         <auto-create-addresses>false</auto-create-addresses>
      </address-setting>
      

      Then the cluster bridge will silently fail to connect because its notification consumer (see org.apache.activemq.artemis.core.server.cluster.impl.ClusterConnectionBridge#setupNotificationConsumer) will fail.

      To workaround this issue the management notifications address can be manually configured like so:

      <address name="activemq.notifications">
         <multicast/>
      </address>
      

      Attachments

        Activity

          People

            jbertram Justin Bertram
            jbertram Justin Bertram
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: