[ 
https://issues.apache.org/jira/browse/AMQ-6514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15686340#comment-15686340
 ] 

Gary Tully commented on AMQ-6514:
---------------------------------

it would be smashing to have an additional test in activemq-karaf-itest that 
validates and protects this sort of fix.

> Property placeholders do not work in blueprint activemq config
> --------------------------------------------------------------
>
>                 Key: AMQ-6514
>                 URL: https://issues.apache.org/jira/browse/AMQ-6514
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: OSGi/Karaf
>    Affects Versions: 5.14.1
>         Environment: OSGi, blueprint
>            Reporter: Christian Schneider
>             Fix For: 5.14.2
>
>
> User properties as a placeholder do not work in the blueprint activemq config.
> <policyEntry topic=">" optimizedDispatch="true" producerFlowControl="false" 
> memoryLimit="$example{perTopicMemoryLimit}">
> Java.lang.IllegalArgumentException: Could convert not to a memory size: 
> $example
> {perTopicMemoryLimit}
> at 
> org.apache.activemq.util.MemoryPropertyEditor.setAsText(MemoryPropertyEditor.java:63)[97:org.apache.activemq.activemq-osgi:5.10.0]
> See http://apaste.info/nSw3h
> This seems to be caused by an error in xbean-blueprint 3.x. Upgrading to 4.2 
> fixes the issue. I will create a PR for the change.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to