Issue Details (XML | Word | Printable)

Key: AMQ-1166
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Vadim Pesochinskiy
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
ActiveMQ

memoryManager configuration does not call PropertyPlaceholderConfigurer

Created: 21/Feb/07 04:45 PM   Updated: 07/Mar/07 06:40 AM
Return to search
Component/s: Broker
Affects Version/s: 4.1.0
Fix Version/s: 4.1.1

Time Tracking:
Not Specified

Environment: winxp


 Description  « Hide
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>



 All   Comments   Work Log   Change History   Subversion Commits   FishEye   Crucible      Sort Order: Ascending order - Click to sort in descending order
No related commits found.