activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Pesochinskiy (JIRA)" <j...@apache.org>
Subject [jira] Created: (AMQ-1166) memoryManager configuration does not call PropertyPlaceholderConfigurer
Date Thu, 22 Feb 2007 00:47:02 GMT
memoryManager configuration does not call PropertyPlaceholderConfigurer
-----------------------------------------------------------------------

                 Key: AMQ-1166
                 URL: https://issues.apache.org/activemq/browse/AMQ-1166
             Project: ActiveMQ
          Issue Type: Bug
          Components: Broker
    Affects Versions: 4.1.0
         Environment: winxp
            Reporter: Vadim Pesochinskiy
             Fix For: 4.1.1


Following configuration throws exception because the placeholder is not replaced with system
property com.barra.activemq.MEMORY_SIZE. Spring placeholders work in all other places in the
configration, except the memory manager, because it is customized by AMQ.

<beans>   
    <bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/>
 <!-- Allows us to use system properties as variables in this configuration file -->
    <broker useJmx="true" deleteAllMessagesOnStartup="false" persistent="true" xmlns="http://activemq.org/config/1.0">
        <memoryManager>
            <usageManager id="memory-manager" limit="${com.barra.activemq.MEMORY_SIZE}
MB"/>
        </memoryManager>
        <managementContext>
            <managementContext connectorPort="${com.barra.activemq.jmx.PORT}" jmxDomainName="apache.activemq"/>

        </managementContext>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message