Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
3.21.1, 4.1.0
-
None
-
Unknown
Description
DefaultPropertiesParser#parseUri ends up with DefaultPropertiesParser.java#L461 delegating to the #parseProperty implementation, even if the current found value comes from an override in DefaultPropertiesParser.java#L439 and DefaultPropertiesLookup.java#L74
An implementation like Spring's SpringPropertiesParser.java#L35 is not aware of where the value comes from and ignores it.
In our case this breaks functionality where we're doing context.getPropertiesComponent().setOverrideProperties(props) which we based on CamelTestSupport#useOverridePropertiesWithPropertiesComponent CamelTestSupport.java#L656 and CamelTestSupport.java#L487
If it helps any, this used to work "correctly" in Camel 3.7.1