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/11/22 09:08:58 UTC

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

Christian Schneider created AMQ-6514:
----------------------------------------

             Summary: 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)