79.3. 외부 리소스에서 상수 로드
상수를 외부화하고 "classpath:", "file:", "http:" 와 같은 리소스에서 Camel을 로드하도록 할 수 있습니다.
이 작업은 "resource:scheme:location" 구문을 사용하여 수행됩니다. "resource:scheme:location", eg to refer to a file on the classpath you can do:
.setHeader("myHeader").constant("resource:classpath:constant.txt")
.setHeader("myHeader").constant("resource:classpath:constant.txt")