263.13. 간단한 언어의 예
이제 간단한 언어에서는 속성 자리 표시자 사용을 지원합니다(예: 아래 경로).
// properties cheese.quote=Camel rocks // route from("direct:start") .transform().simple("Hi ${body} do you think ${properties:cheese.quote}?");
간단한 언어로 위치를 지정할 수도 있습니다. 예를 들면 다음과 같습니다.
// bar.properties bar.quote=Beer tastes good // route from("direct:start") .transform().simple("Hi ${body}. ${properties:com/mycompany/bar.properties:bar.quote}.");