Hi,
I'm using SubstitutingSourceProvider to read configuration from env
variables. How can I define a map with a variable number of entries?
For example, my config looks like this
activeMQConnections:
broker1:
brokerUrl: tcp://localhost:61616
broker2:
brokerUrl: tcp://anotherhost:61616
But I need to be able to read from the env variables similar to this:
activeMQConnections:
${broker1}:
brokerUrl: ${broker1Url}
brokerUsername: ${broker1Username}
pool:
maxConnections: ${broker1MaxConnections}
${broker2}:
brokerUrl: ${broker2Url}
......
......
${brokerN}:
brokerUrl: ${brokerNUrl}
--
You received this message because you are subscribed to the Google Groups
"dropwizard-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.