0

I'm working with apache camel V2.24.3,and I want to check if ${body} contains this 2 strings.

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

this code returns an error:

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

turik
  • 47
  • 10

1 Answers1

1

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

Sneharghya Pathak
  • 990
  • 1
  • 9
  • 19