Ldap ApacheCamel简单运算符包含

Ldap ApacheCamel简单运算符包含,ldap,apache-camel,blueprint,Ldap,Apache Camel,Blueprint,我正在使用ApacheCamel V2.24.3,我想检查${body}是否包含这两个字符串 <choice id="ldap_response"> <when id="ldap_response_adding"> <simple>${body} contains 'adding' &

我正在使用ApacheCamel V2.24.3,我想检查${body}是否包含这两个字符串

 <choice id="ldap_response">
                                <when id="ldap_response_adding">
                                    <simple>${body} contains 'adding' && 'modifying'</simple>
                                </when>
   </choice> 

${body}包含“添加”和“修改”
此代码返回一个错误:

'标识名必须紧跟在 实体引用。”

请尝试
${body}包含“添加”和${body}包含“修改”