camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From VinothKR <vinsmai...@gmail.com>
Subject Camel Hbase
Date Tue, 12 Apr 2016 23:40:03 GMT
Hi Team,
I'm using Camel Hbase component to put data into remote hbase but data is
getting inserted with value as null.

*Route*:
<route id="hbasePut">
<from uri="direct:hbasePut"/>
<setHeader headerName="CamelHBaseRowId">
<constant>001</constant>
</setHeader>
<setHeader headerName="CamelHBaseValue">
<constant>54321</constant>
</setHeader>
<to
uri="hbase:emp_details?operation=CamelHBasePut&amp;family=emp&amp;qualifier=empId"/>
<to uri="mock:result"/>
</route>

*Data stored in table*
 001                  column=emp:empId, timestamp=1460498530077, value=

*Camel Hbase version*: 2.13.2

The exchange headers are,
{breadcrumbId=ID-PHX2MYMV32-50125-1460498560942-0-1, CamelHBaseValue=54321,
CamelHBaseOperation=CamelHBasePut, CamelHBaseRowId=001,
CamelHBaseMaxScanResults=100}

Qualifier, Row Id and Column Name are properly inserted while column value
is having a null value. Please help in resolving the issue.

Thanks,
Vinoth.



--
View this message in context: http://camel.465427.n5.nabble.com/Camel-Hbase-tp5780953.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message