262.8. Java DSL での設定

次のような名前の propertiesPropertiesComponent を作成して登録する必要があります。

PropertiesComponent pc = new PropertiesComponent();
pc.setLocation("classpath:com/mycompany/myprop.properties");
context.addComponent("properties", pc);