Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-1928

ENDPOINT_NAME hardcoded suffix in drain.sh script

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Major Major
    • AMQ 7.5.0.GA
    • AMQ 7.2.0.GA
    • container image
    • None

      https://github.com/jboss-container-images/jboss-amq-7-broker-openshift-image/blob/amq-broker-72-dev/modules/amq-launch/added/drain.sh#L7

      ENDPOINT_NAME="${AMQ_NAME}-amq-tcp"
      

      This's pretty limiting configuration, because the user has to create the service with the appropriate suffix to have draining functioning correctly. Imho the variable should have default and should be allowed to be fully overwritten by defined env variable (e.g. AMQ_SERVICE_NAME).

              rhn-support-rkieley Roderick Kieley
              rhn-support-rkieley Roderick Kieley
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: