Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.13.2
-
None
-
Unknown
Description
A BridgePropertyPlaceholderConfigurer configured to use a custom PropertiesParser like this:
<bean id="bridgePropertyPlaceholder" class="org.apache.camel.spring.spi.BridgePropertyPlaceholderConfigurer" p:location="classpath:application.properties" p:parser-ref="jasyptParser" />
fails to actually use the parser to parse properties.
It seems that org.apache.camel.spring.CamelContextFactoryBean#initPropertyPlaceholder, which is called from afterPropertiesSet, overwrites the custom parser with the default parser from the properties component (on line 279).