protected RouteBuilder createRouteBuilder() { // create the jasypt properties parser JasyptPropertiesParser jasypt = new JasyptPropertiesParser(); // and set the master password jasypt.setPassword("secret"); // configure the properties component PropertiesComponent pc = context.getComponent("properties", PropertiesComponent.class); pc.setLocation("classpath:org/apache/camel/itest/osgi/jasypt/myproperties.properties"); // and use the jasypt properties parser so we can decrypt values pc.setPropertiesParser(jasypt); return new RouteBuilder() { public void configure() { from("direct:start").to("{{cool.result}}"); } }; }