title: apache camel spring dsl check if body contains string
body: <p>I am trying to check :</p>
  
  <pre><code>&lt;simple&gt;${body} contains 'verification'&lt;/simple&gt;
  </code></pre>
  
  <p>Body is the json:</p>
  
  <pre><code>{"verification": {"email": "bb@wp.pl", "code": "1234"}}
  </code></pre>
  
  <p>But this condition doesn't work. I've tried as well:</p>
  
  <pre><code>&lt;simple&gt;${body} contains &amp;#39;verification&amp;#39;&lt;/simple&gt;
  &lt;simple&gt;${bodyAs(String)} contains 'verification'&lt;/simple&gt;
  &lt;simple&gt;${body.verification} != null&lt;/simple&gt;
  </code></pre>
  
  <p>Could you please suggest me something?</p>