You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Christian Schneider (JIRA)" <ji...@apache.org> on 2016/12/19 13:06:58 UTC

[jira] [Assigned] (AMQ-6514) Property placeholders do not work in blueprint activemq config

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

Christian Schneider reassigned AMQ-6514:
----------------------------------------

    Assignee: Christian Schneider

> 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
>            Assignee: Christian Schneider
>             Fix For: 5.15.0, 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)