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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content