Author: buildbot
Date: Thu Jun 26 22:18:00 2014
New Revision: 914021

Log:
Production update by buildbot for camel

Modified:
    websites/production/camel/content/cache/main.pageCache
    websites/production/camel/content/hbase.html

Modified: websites/production/camel/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.

Modified: websites/production/camel/content/hbase.html
==============================================================================
--- websites/production/camel/content/hbase.html (original)
+++ websites/production/camel/content/hbase.html Thu Jun 26 22:18:00 2014
@@ -117,7 +117,7 @@
             <setHeader headerName="CamelHBaseValue">
                 <el>${in.body.value}</el>
             </setHeader>
-            <to 
uri="hbase:mytable?opertaion=CamelHBasePut&family=myfamily&qualifier=myqualifier"/>
+            <to 
uri="hbase:mytable?operation=CamelHBasePut&family=myfamily&qualifier=myqualifier"/>
         </route>
 ]]></script>
 </div></div><p>The route above assumes that the message body contains an 
object that has an id and value property and will store the content of value in 
the HBase column myfamily:myqualifier in the row specified by id. If we needed 
to specify more than one column/value pairs we could just specify additional 
column mappings. Notice that you must use numbers from the 2nd header onwards, 
eg RowId2, RowId3, RowId4, etc. Only the 1st header does not have the number 
1.</p><div class="code panel pdl" style="border-width: 1px;"><div 
class="codeContent panelContent pdl">
@@ -139,7 +139,7 @@
             &lt;setHeader headerName=&quot;CamelHBaseValue2&quot;&gt;
                 &lt;el&gt;${in.body.othervalue}&lt;/el&gt;
             &lt;/setHeader&gt;
-            &lt;to 
uri=&quot;hbase:mytable?opertaion=CamelHBasePut&amp;amp;family=myfamily&amp;amp;qualifier=myqualifier&amp;amp;family2=myfamily&amp;amp;qualifier2=myqualifier2&quot;/&gt;
+            &lt;to 
uri=&quot;hbase:mytable?operation=CamelHBasePut&amp;amp;family=myfamily&amp;amp;qualifier=myqualifier&amp;amp;family2=myfamily&amp;amp;qualifier2=myqualifier2&quot;/&gt;
         &lt;/route&gt;
 ]]></script>
 </div></div><p>It is important to remember that you can use uri options, 
message headers or a combination of both. It is recommended to specify 
constants as part of the uri and dynamic values as headers. If something is 
defined both as header and as part of the uri, the header will be used.</p><h4 
id="hbase-GetOperations.">Get Operations.</h4><p>A Get Operation is an 
operation that is used to retrieve one or more values from a specified HBase 
row. To specify what are the values that you want to retrieve you can just 
specify them as part of the uri or as message headers.</p><div class="code 
panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
@@ -149,7 +149,7 @@
             &lt;setHeader headerName=&quot;CamelHBaseRowId&quot;&gt;
                 &lt;el&gt;${in.body.id}&lt;/el&gt;
             &lt;/setHeader&gt;
-            &lt;to 
uri=&quot;hbase:mytable?opertaion=CamelHBaseGet&amp;amp;family=myfamily&amp;amp;qualifier=myqualifier&amp;amp;valueType=java.lang.Long&quot;/&gt;
+            &lt;to 
uri=&quot;hbase:mytable?operation=CamelHBaseGet&amp;amp;family=myfamily&amp;amp;qualifier=myqualifier&amp;amp;valueType=java.lang.Long&quot;/&gt;
             &lt;to uri=&quot;log:out&quot;/&gt;
         &lt;/route&gt;
 ]]></script>
@@ -160,13 +160,13 @@
             &lt;setHeader headerName=&quot;CamelHBaseRowId&quot;&gt;
                 &lt;el&gt;${in.body.id}&lt;/el&gt;
             &lt;/setHeader&gt;
-            &lt;to 
uri=&quot;hbase:mytable?opertaion=CamelHBaseDelete&quot;/&gt;
+            &lt;to 
uri=&quot;hbase:mytable?operation=CamelHBaseDelete&quot;/&gt;
         &lt;/route&gt;
 ]]></script>
 </div></div><h4 id="hbase-ScanOperations.">Scan Operations.</h4><p>A scan 
operation is the equivalent of a query in HBase. You can use the scan operation 
to retrieve multiple rows. To specify what columns should be part of the result 
and also specify how the values will be converted to objects you can use either 
uri options or headers.</p><div class="code panel pdl" style="border-width: 
1px;"><div class="codeContent panelContent pdl">
 <script class="theme: Default; brush: xml; gutter: false" 
type="syntaxhighlighter"><![CDATA[        &lt;route&gt;
             &lt;from uri=&quot;direct:in&quot;/&gt;
-            &lt;to 
uri=&quot;hbase:mytable?opertaion=CamelHBaseScan&amp;amp;family=myfamily&amp;amp;qualifier=myqualifier&amp;amp;valueType=java.lang.Long&amp;amp;rowType=java.lang.String&quot;/&gt;
+            &lt;to 
uri=&quot;hbase:mytable?operation=CamelHBaseScan&amp;amp;family=myfamily&amp;amp;qualifier=myqualifier&amp;amp;valueType=java.lang.Long&amp;amp;rowType=java.lang.String&quot;/&gt;
             &lt;to uri=&quot;log:out&quot;/&gt;
         &lt;/route&gt;
 ]]></script>
@@ -199,7 +199,7 @@
             &lt;setHeader headerName=&quot;CamelHBaseQualifier3&quot;&gt;
                 &lt;constant&gt;country&lt;/constant&gt;
             &lt;/setHeader&gt;
-            &lt;to 
uri=&quot;hbase:mytable?opertaion=CamelHBaseScan&amp;amp;filters=#myFilterList&quot;/&gt;
+            &lt;to 
uri=&quot;hbase:mytable?operation=CamelHBaseScan&amp;amp;filters=#myFilterList&quot;/&gt;
         &lt;/route&gt;
 
         &lt;bean id=&quot;myFilters&quot; 
class=&quot;java.util.ArrayList&quot;&gt;


Reply via email to