Author: buildbot Date: Thu Mar 21 16:24:26 2013 New Revision: 855445 Log: Production update by buildbot for camel
Modified: websites/production/camel/content/book-languages-appendix.html websites/production/camel/content/simple.html Modified: websites/production/camel/content/book-languages-appendix.html ============================================================================== --- websites/production/camel/content/book-languages-appendix.html (original) +++ websites/production/camel/content/book-languages-appendix.html Thu Mar 21 16:24:26 2013 @@ -1844,6 +1844,13 @@ simple(<span class="code-quote">"${body[ </div></div> <p>To assume the body is <tt>Map</tt> based and lookup the value with <tt>foo</tt> as key, and invoke the <tt>getName</tt> method on that value.</p> +<div class="panelMacro"><table class="infoMacro"><colgroup span="1"><col span="1" width="24"><col span="1"></colgroup><tr><td colspan="1" rowspan="1" valign="top"><img align="middle" src="https://cwiki.apache.org/confluence/images/icons/emoticons/information.gif" width="16" height="16" alt="" border="0"></td><td colspan="1" rowspan="1">If the key has space, then you <b>must</b> enclose the key with quotes, for example 'foo bar': +<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> +<pre class="code-java"> +simple(<span class="code-quote">"${body['foo bar'].name}"</span>) +</pre> +</div></div></td></tr></table></div> + <p>You can access the <tt>Map</tt> or <tt>List</tt> objects directly using their key name (with or without dots) :</p> <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> <pre class="code-java"> Modified: websites/production/camel/content/simple.html ============================================================================== --- websites/production/camel/content/simple.html (original) +++ websites/production/camel/content/simple.html Thu Mar 21 16:24:26 2013 @@ -150,6 +150,13 @@ simple(<span class="code-quote">"${body[ </div></div> <p>To assume the body is <tt>Map</tt> based and lookup the value with <tt>foo</tt> as key, and invoke the <tt>getName</tt> method on that value.</p> +<div class="panelMacro"><table class="infoMacro"><colgroup span="1"><col span="1" width="24"><col span="1"></colgroup><tr><td colspan="1" rowspan="1" valign="top"><img align="middle" src="https://cwiki.apache.org/confluence/images/icons/emoticons/information.gif" width="16" height="16" alt="" border="0"></td><td colspan="1" rowspan="1">If the key has space, then you <b>must</b> enclose the key with quotes, for example 'foo bar': +<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> +<pre class="code-java"> +simple(<span class="code-quote">"${body['foo bar'].name}"</span>) +</pre> +</div></div></td></tr></table></div> + <p>You can access the <tt>Map</tt> or <tt>List</tt> objects directly using their key name (with or without dots) :</p> <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> <pre class="code-java">