title: Apache Camel compare string with quotes using spring DSL, how to escape?
body: <p>How to compare the body content matching (<code>equals</code> or <code>startWith</code>) the value  </p>
  
  <p><code>{"status":"OK"}</code></p>
  
  <p>How do that?</p>
  
  <pre><code>&lt;camel:choice&gt;
   &lt;camel:when&gt;
    &lt;simple&gt;${in.body} == '{"status":"OK"}'&lt;/simple&gt;
    ...
   &lt;/camel:when&gt;
  &lt;/camel:choice&gt;
  </code></pre>
  
  <p>I try:</p>
  
  <p><code>'{"status":"OK"}'</code></p>
  
  <p><code>'{\x22status\x22:\x22OK\x22}'</code></p>
  
  <p><code>'\{"status":"OK"\}'</code></p>
  
  <p><code>'{"status":"OK"\}'</code></p>
  
  <p>...</p>
  
  <p>I can do this:</p>
  
  <pre><code>&lt;simple&gt;${in.body} contains '{"status":"OK"'&lt;/simple&gt;
  </code></pre>
  
  <p>But I need <code>equals</code> or <code>startWith</code> as rule operator.
  :(</p>
  
  <p>I'm using the version <code>apache-camel-2.20.1</code></p>