Dynamic Configuration

You may use dynamic expressions in your configurations in order to reduce post installation configurations for different runtime environments. To do so, you can add dynamic references to Variables into properties or URIs. As an example, for an endpoint URI defined as ${ivy.var.myVariable}/resource the value of the variable called myVariable will be injected at runtime into the URI.

Furthermore, we provide a set of expressions that can be used to refer to the currently running Axon Ivy Engine Application in oder to simplify calls from an Ivy process to it’s own backend.

Expression Reference

Expression

Example runtime value

${ivy.var.myVar}

myVarValue

${ivy.app.baseurl}

http://myHost:8080/myContext/myApp

${ivy.app.name}

myApp

${ivy.engine.baseurl}

http://myHost:8080/myContext

${ivy.engine.host}

myHost

${ivy.engine.http.port}

8080

${ivy.engine.context}

myContext (empty by default)