Apache camel 特定字段的正文空检查失败
这是我的apache camel路由,其中我对特定的 字段,但我得到了一个Apache camel 特定字段的正文空检查失败,apache-camel,Apache Camel,这是我的apache camel路由,其中我对特定的 字段,但我得到了一个SimpleAllegalSyntaxException <choice> <when> <simple>${body} != null</simple> <log message="body field is not null" /> </when>
SimpleAllegalSyntaxException
<choice>
<when>
<simple>${body} != null</simple>
<log message="body field is not null" />
</when>
<otherwise>
<log message="body field is null" />
</otherwise>
</choice>
如何在日志中获取
的值
我正在尝试从表中获取一行
,并检查提取的行中的特定字段是否为空。是否确实在该行周围有空格!=操作人员您使用的是什么版本的Camel?您确定您的周围有空间吗!=操作人员你用什么版本的骆驼?
org.apache.camel.language.simple.types.SimpleIllegalSyntaxException:
expected symbol whiteSpace