You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Gary Tully (JIRA)" <ji...@apache.org> on 2013/10/25 11:46:32 UTC

[jira] [Resolved] (AMQ-4821) runtime config - add support for spring properties config with properties or bean factory

     [ https://issues.apache.org/jira/browse/AMQ-4821?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary Tully resolved AMQ-4821.
-----------------------------

    Resolution: Fixed

fix in http://git-wip-us.apache.org/repos/asf/activemq/commit/da45d994

> 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)