Uploaded image for project: 'ActiveMQ'
  1. ActiveMQ
  2. AMQ-6514

Property placeholders do not work in blueprint activemq config

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.14.1
    • 5.15.0, 5.14.2
    • OSGi/Karaf
    • None
    • OSGi, blueprint

    • Patch Available

    Description

      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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            cschneider Christian Schneider
            cschneider Christian Schneider
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment