title: apache camel: replace function
body: <p>I want to use replace function in apache camel but have trouble with this. here is my code:</p>
  
  <pre><code>"firstName" : "aaa",
  "lastName" : []
  </code></pre>
  
  <p>and  my desire output is like this:</p>
  
  <pre><code>"firstName" : "aaa",
  "lastName" : ""
  </code></pre>
  
  <p>I use this code for transform:</p>
  
  <pre><code>&lt;transform&gt; 
  &lt;simple&gt;${body.replace("[]","")}&lt;/simple&gt; 
  &lt;/transform&gt;
  </code></pre>
  
  <p>but the problem is not showing double quotation, actually I get this:</p>
  
  <pre><code>"firstName" : "aaa",
  "lastName" :
  </code></pre>
  
  <p>I used &amp;quot  also, but do not work. Thanks in advance</p>