I'm working with Apache Camel and JBoss Fuse 6.3 on JBoss EAP 6.4. I'd like to access environment properties via Spring DSL (like for example the JBoss Fuse home location) but I'm getting an error: with the following code
<camel:setProperty id="_setProperty1" propertyName="provaProp">
<camel:simple>${env:JBOSS_FUSE_HOME}</camel:simple>
</camel:setProperty>
I'm getting this error
Caused by: org.apache.camel.language.simple.types.SimpleIllegalSyntaxException: Unknown function: env:JBOSS_FUSE_HOME at location 0
Changing JBOSS_FUSE_HOME
in JBOSS_EAP
home doens't solve
<camel:setProperty id="_setProperty1" propertyName="provaProp">
<camel:simple>${env:JBOSS_EAP_HOME}</camel:simple>
</camel:setProperty>
Caused by: org.apache.camel.language.simple.types.SimpleIllegalSyntaxException: Unknown function: env:JBOSS_EAP_HOME at location 0
What is the problem?