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}.");