Apache 骆驼简单运算符包含

Apache camel simple operators contains

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

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

此代码returns错误:

'The identity name must immediately follow the "&" character in the entity reference.'

尝试<simple>${body} contains 'adding' and ${body} contains 'modifying'</simple>