应用程序:-Springboot apache camel应用程序
在我的申请属性中,我有以下几种声明:
hm.integration.output=file://C:/cloud/out?fileName=${headers.CamelFileName}
但是,当我运行这个应用程序时,应用程序上下文无法加载,因为它将${headers.CamelFileName}视为$属性,因为它以$开头。我怎样才能避免这种情况?
谢谢,
拉胡尔
发布于 2018-10-15 12:25:15
请参阅简单的替代语法(如您可以使用$simple{xxx} at:https://github.com/apache/camel/blob/master/core/camel-base/src/main/docs/simple-language.adoc )
hm.integration.output=file://C:/cloud/out?fileName=$simple{headers.CamelFileName}https://stackoverflow.com/questions/52816585
复制相似问题