How to access environment variables defined in karaf file from blueprint?
Issue
- Can not use environment variable substitution in camel-context when running in karaf
- How to access environment variables defined in karaf file from blueprint?
- The available environment variables can't be reolved in the camel-context.xml. It is verified the env variables are set and contain the proper values
- I'm running an osgi-bundle in jboss fuse 6.2.0-.redhat-133. In the camel context, an datasource is declared with environment variable substitutions. When the application tries to access the datasource we get errors that database url username and pasword are invalid format. When we replace the substitution references with hard coded values, everything works fine.
Environment
- Red Hat JBoss Fuse
- 6.1.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.