You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/12/14 16:41:58 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=15748805#comment-15748805 ] 

ASF GitHub Bot commented on AMQ-6514:
-------------------------------------

GitHub user cschneider opened a pull request:

    https://github.com/apache/activemq/pull/218

    [AMQ-6514] Adding test for activemq blueprint setup and xbean problem

    This pull request adds a test to create a broker using a blueprint.xml file.
    This test also covers the xbean problem of the above issue as it uses a config attribute in a bean.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/cschneider/activemq AMQ-6514

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/activemq/pull/218.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #218
    
----
commit bee0904b843129992b9dcbc035aa08f970728750
Author: Christian Schneider <ch...@die-schneider.net>
Date:   2016-12-14T16:18:20Z

    [AMQ-6514] Adding test for activemq blueprint setup and xbean problem

----


> 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.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)