Re: Using Environment Variables in Activemq.xml

2018-03-23 Thread bwa
Hello all. How can I set ${xxx} variables from windows environment. Typically ${log.dir} = %LOG_DIR% from windows /bwa -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: Using Environment Variables in Activemq.xml

2018-02-16 Thread Tim Bain
I think (haven't tried it) you should be able to reference environment variables too, you'd just have to use Spring's syntax for it in SPEL: #{systemProperties['key']} On Feb 16, 2018 6:10 AM, "Thiago Veronezi" wrote: > You can use the -D option to copy your environment variables to > System.pro

Re: Using Environment Variables in Activemq.xml

2018-02-16 Thread Thiago Veronezi
You can use the -D option to copy your environment variables to System.properties via "bin/env". For example: ACTIVEMQ_OPTS="$ACTIVEMQ_OPTS_MEMORY -Djava.util.logging.config.file=logging.properties -Djava.security.auth.login.config=$ACTIVEMQ_CONF/login.config -Dmy.network.connector=$MY_NC_ENV_VALU

Using Environment Variables in Activemq.xml

2018-02-15 Thread jason_pacino
Is it possible to use environment variables in the activemq.xml file? For anything that is specific to my cluster. Broker name, Lockdb location and user, persistence db location etc? -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html