Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-2918

Have the ActiveMQ broker configured from an external configuration file by default

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 1.2
    • 1.2
    • ActiveMQ
    • Security Level: public (Regular issues)
    • None

    Description

      Currently, the org.apache.activemq.gbean.BrokerServiceGBeanImpl GBean is configured in the activemq-broker config and is thus built into a serialized configuration during the build process. Looking at the plan.xml, there is a commented-out section that specifies an external configuration file to be used. Enabling this section allows for the broker to be configured by an external file.

      This configuration should be changed so that the activemq-broker configuration refers to an external file by default, rather than being internally configured in the plan. This external file can exist somewhere in the geronimo folder hieracy (e.g. var/config/activemq.xml). This external file should contain the same minimal configuration that is currently specified in the GBean descriptor in the plan.xml.

      The benefit of having an external file by default is that the activemq broker can be configured without having to rebuild Geronimo. This makes the ActiveMQ configuration much easier.

      Attachments

        1. activemq-config.patch
          5 kB
          Aman Nanner

        Activity

          People

            djencks David Jencks
            ananner Aman Nanner
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: