activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Pesochinskiy (JIRA)" <>
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
             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.

    <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="">
            <usageManager id="memory-manager" limit="${com.barra.activemq.MEMORY_SIZE}
            <managementContext connectorPort="${com.barra.activemq.jmx.PORT}" jmxDomainName="apache.activemq"/>


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

View raw message