camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smilevasu6 <srinivas.thu...@gmail.com>
Subject camel - hbase
Date Wed, 12 Nov 2014 07:01:20 GMT
Hi,

I am working on camel-hbase. fetching the data from oracle table and store
in hbase.

I am not able to write the data into hbase using camel.

I am getting the result in console but not in hbase table.

This is my router,

from("timer://foo?period=60000").
		   setBody(constant("SELECT * FROM prasad_hive_tab")).
		   to("jdbc:datasource?readSize=100")
		   
		 // .convertBodyTo(String.class)  
		 
.to("hbase:mytable?operation=CamelHBasePut&family=cf1&qualifier=ID&family=cf1&qualifier=NAME")

		  .end();


Please help.



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

Mime
View raw message