I follow https://camel.apache.org/running-camel-standalone-and-have-it-keep-running.html
and use main.setPropertyPlaceholderLocations("example.properties"); to set my property file. but I run into Error: java: setPropertyPlaceholderLocations(java.lang.String) has protected access in org.apache.camel.main.Main also, I currently use propertyPrefix to set the prefix for environment. I don't see a way to set that? alternatively, can I just do PropertiesComponent pc = new PropertiesComponent(); pc.setLocation("example.properties"); pc.setPropertyPrefix("dev."); main.bind("properties", pc); Thanks -- Omnem crede diem tibi diluxisse supremum.