Property placeholder for ActiveMQ NFS v4 shared drive location

Solution In Progress - Updated -

Issue

I am using NFS v4 for KahaDB Persistence Store for JBoss A-MQ 6.0 standalone broker running as Windows service.

I want to keep the location of remote shared drive outside of activemq.xml configuration as I don't want to hard code it inside <persistenceAdapter> node in activemq.xml file. I tried to define it using below property in org.fusesource.mq.fabric.server-default.cfg file but it does not work.

data=\\\\IT12318099\\nfs_4_shared\\amq

I believe this data variable is being used in standard configuration where this variable is set as data={KARAF_DATA}/amq and activemq.xml for Kaha DB directory is as directory="${data}/kahadb. Can we use similar way?

Environment

  • JBoss A-MQ 6.0
  • JBoss A-MQ 6.1

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.