activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Tully (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMQ-4821) runtime config - add support for spring properties config with properties or bean factory
Date Thu, 24 Oct 2013 13:48:01 GMT
Gary Tully created AMQ-4821:
-------------------------------

             Summary: runtime config - add support for spring properties config with properties
or bean factory
                 Key: AMQ-4821
                 URL: https://issues.apache.org/jira/browse/AMQ-4821
             Project: ActiveMQ
          Issue Type: Improvement
          Components: Broker
    Affects Versions: 5.9.0
            Reporter: Gary Tully
            Assignee: Gary Tully
             Fix For: 5.10.0


PropertyPlaceholderConfigurer with property files (resources) works ok, but with a customer
beanfactory or  properties bean, they are ignored atm.
This should be supported. eg:
{code}<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>...{code}



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message