Uploaded image for project: 'AMQ Documentation'
  1. AMQ Documentation
  2. AMQDOC-3363

Incorrect broker name

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • 7.9.0.GA
    • Broker DOC
    • None

      AMQ 7.11.1 Docs

      The section [1] contains inaccurate information.  I suggests that the reader should deploy a broker using yaml provided in section 3.4.1. 
      apiVersion: broker.amq.io/v1beta1kind: ActiveMQArtemismetadata:name: ex-aao application: ex-aao-appspec:deploymentPlan:size: 1image: placeholder requireLogin: falsepersistenceEnabled: truejournalType: nio messageMigration: true
      Then it gives a curl command to retrieve one of the broker's attributes

       

      curl -k -u admin:admin http://console-broker.amq-demo.apps.example.com/console/jolokia/read/org.apache.activemq.artemis:broker=%22broker%22,component=addresses,address=%22TESTQUEUE%22,subcomponent=queues,routing-type=%22anycast%22,queue=%22TESTQUEUE%22/MaxConsumers
       
      

      The issue is that the yaml provided creates a broekr with name "amq-broker" where as the curl command uses broker name as "broker". This results in error.

       

       [1]https://access.redhat.com/documentation/en-us/red_hat_amq_broker/7.11/html-single/deploying_amq_broker_on_openshift/index#proc_br-monitoring-broker_broker-ocp

              jcliffor@redhat.com John Clifford
              rhn-support-toross Tom Ross
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: