Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-4821

runtime config - add support for spring properties config with properties or bean factory

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.9.0
    • 5.9.1, 5.10.0
    • Broker
    • None

    Description

      PropertyPlaceholderConfigurer with property files (resources) works ok, but with a customer beanfactory or properties bean, they are ignored atm.
      This should be supported. eg:

      <tag0:beans xmlns:tag0="http://www.springframework.org/schema/beans"
                  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                  xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd http://activemq.apache.org/schema/core http://activemq.apache.org/schema/core/activemq-core.xsd">
        <tag0:bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
          <tag0:property name="properties">
            <tag0:bean class="org.apache.activemq.CustomPropertiesBean"/>
          </tag0:property>
        </tag0:bean>...

      Attachments

        Activity

          People

            gtully Gary Tully
            gtully Gary Tully
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: