Setting broker-id using karaf.name property causes JBoss Fuse to fail on boot

Solution Unverified - Updated -

Issue

We define broker-id in org.fusesource.mq.fabric.server-default.cfg as:

broker-id=${karaf.name}-${broker.id.suffix}-id

When we boot JBoss Fuse we get this root cause:

org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'org.apache.activemq.xbean.XBeanBrokerService#0' defined in file [/app/qa1/jboss-fuse/instances/fuse01/etc/activemq.xml]: Could
not resolve placeholder 'broker-id' in string value "${broker-id}"

When i do touch etc/activemq.xml the problem goes away.

Environment

Red Hat JBoss Fuse 6.0.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.