Uploaded image for project: 'Cloud Enablement'
  1. Cloud Enablement
  2. CLOUD-2802

[AMQ7] ENDPOINT_NAME hardcoded suffix in drain.sh script

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • None
    • AMQ72 1.0.0.GA
    • AMQ7
    • None
    • CLOUD Maintenance Sprint 27

      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
            dsimansk@redhat.com David Simansky
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: