Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
5.14.1
-
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]
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.