77.9. 从外部资源载入脚本 您可以对脚本进行外部化,并使 Camel 从资源(如 "classpath:"、"file:" 或 "http:" )加载。这通过以下语法完成: "resource:scheme:location",例如: 是指您可以执行的类路径中的文件: .setHeader("myHeader").simple("resource:classpath:mysimple.txt") 前一个下一个