-
Bug
-
Resolution: Done
-
Major
-
jboss-fuse-6.2.1
-
None
-
%
-
6.3 Sprint 2 (1-Feb - 26-Feb)
have verified, that the following snipped behaves differently, when running on EAP/Fuse and OSGi/Fuse
-------------
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/>
<bean id="envtest" class="com.mycompany.camel.spring.EnvPrinter">
<property name="variable" value="${JAVA_HOME}"/>
</bean>
<camelContext xmlns="http://camel.apache.org/schema/spring">
<route>
<from uri="file:src/data?noop=true"/>
<log message="dummy message"/>
</route>
</camelContext>
-------------
public class EnvPrinter {
public void setVariable(String var)
}
---------------
On OSGi/Fuse we get the expected behaviour of the value of $JAVA being printed to Stdout. On EAP/Fuse we do get '${JAVA_HOME}' as the output.
On https://github.com/PatrickSteiner/Environment_Test is a sample to reproduce the error.