Camel Hbase
Hi Team, I'm using Camel Hbase component to put data into remote hbase but data is getting inserted with value as null. *Route*: 001 54321 *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.
Re: Camel Hbase
I tried exploring the code and what I found was, The HBaseData from mappingStrategy is not having column name, column family details in HRow CellMappingStrategy mappingStrategy = endpoint.getCellMappingStrategyFactory().getStrategy(exchange.getIn()); HBaseData data = mappingStrategy.resolveModel(exchange.getIn()); and the HRow is again getting populated on for (HBaseRow hRow : data.getRows()) { hRow.apply(rowModel); if (HBaseConstants.PUT.equals(operation)) { putOperations.add(createPut(hRow)); } where column name, column family and value type are getting populated while CamelHBaseValue is not in it. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Hbase-tp5780953p5781022.html Sent from the Camel - Users mailing list archive at Nabble.com.
Camel-hbase : scan operation
Hello everybody, I'm new to camel. I'm using the camel-hbase component <http://camel.apache.org/hbase.html> and would like to perform a scan operation and get multiple rows with the producer. However I didn't find a way to do that with camel-hbase. If I create a route this way : I don't get anything in the output message (empty header, empty body). I tryed to add a CamelHBaseFamily and CamelHBaseQualifier value in the input header (the request should give the list of values from the column family:qualifier I choosed), however I only got 1 of the values of the list in the header. The body is always empty. I took a look at the source code of camel-hbase and what I got seems to be logical. Am I doing something wrong ? Did I miss something ? Then I looked at the camel-mongodb component to check if there was the same problem. In its producer MongoDbProducer <https://github.com/apache/camel/blob/master/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbProducer.java> , for a "findAll" request, it puts the results as an array in the body of the message : But I didn't find anything similar in camel-hbase. Thanks in advance, -- View this message in context: http://camel.465427.n5.nabble.com/Camel-hbase-scan-operation-tp5752732.html Sent from the Camel - Users mailing list archive at Nabble.com.
camel-hbase dependency inconsistency
Sorry for the cross-post, I'm not sure if this is a ServiceMix or Camel problem. I am working on some data routes that will push data to HBase within ServiceMix. My development environment depends on Apache Camel 2.13.2, specifically the camel-hbase component version 2.13.2 depends on avro 1.5.3. This is according to the dependency hierarchy that maven provides. I only have camel-base version 2.13.2 listed in my pom.xml and maven pulls in the dependencies. I'm not specifically including avro. When I deploy the camel-hbase feature in ServiceMix 5.1.2 I get an error saying that I must deploy avro >= 1.7.7. So it seems like the same version of the camel-hbase component relies on 2 different versions of avro: 1.5.3 for development and 1.7.7 for deployment within ServiceMix. Is there any way to fix this problem? Thanks, Mark
Problems of camel-hbase component
Hi All: I'm tring camel-hbase component, and I did follow the guide page http://camel.apache.org/hbase.html . I have some questions here: 1. Header Mapping Options for example, the 'rowId' options, the name should be 'CamelHBaseRowId' ,right (same for others)? 2. Examples it says we can specify multiple headers to put multiple values at once, the sample as below: ${in.body.id} ${in.body.id} ${in.body.value} ${in.body.othervalue} I don't understand how we can do that in camel, because the previous value will be overwrote if same header name comes. right? 3. Remove option I tried camel-hbase on consumer side, all scanned rows will be removed if we didn't specify option remove=false, however this option doesn't describe on the page 4. Family and Qualifier options On consumer part, it is said we can also use uri option and header option (I'm not sure how to use header option in this case). I tried to specify family and qualifier options, however, the returned value will always be null. I'm not sure they are forbidden or it's a bug. I created a bug and add details for it: https://issues.apache.org/jira/browse/CAMEL-7296 I appreciate to get some answers about these questions. Thanks. -- Best Regards GangLiu Mail: clevers...@gmail.com
Re: Camel-hbase : scan operation
Ok, I found the answer to my question. For people that might be asking the same, if there are multiple results, the header of the output message will contain all of them in its header with number suffixes (like CamelHBaseValue, CamelHBaseValue2, CamelHBaseValue3...). -- View this message in context: http://camel.465427.n5.nabble.com/Camel-hbase-scan-operation-tp5752732p5752743.html Sent from the Camel - Users mailing list archive at Nabble.com.
Re: camel-hbase dependency inconsistency
Hi Mark, did you try servicemix 5.14 to check if with camel 2.13.3 the problem is resolved ? Regards --Filippo 2014-11-18 15:09 GMT+01:00 Mark Webb : > Sorry for the cross-post, I'm not sure if this is a ServiceMix or Camel > problem. > > I am working on some data routes that will push data to HBase within > ServiceMix. My development environment depends on Apache Camel 2.13.2, > specifically the camel-hbase component version 2.13.2 depends on avro > 1.5.3. This is according to the dependency hierarchy that maven provides. > I only have camel-base version 2.13.2 listed in my pom.xml and maven pulls > in the dependencies. I'm not specifically including avro. > > When I deploy the camel-hbase feature in ServiceMix 5.1.2 I get an error > saying that I must deploy avro >= 1.7.7. So it seems like the same > version of the camel-hbase component relies on 2 different versions of > avro: 1.5.3 for development and 1.7.7 for deployment within ServiceMix. > > Is there any way to fix this problem? > > Thanks, > Mark
Re: camel-hbase dependency inconsistency
Hi Mark There was a problem with camel-avro included in ServiceMix 5.1.2 (https://issues.apache.org/jira/browse/CAMEL-7655). The same problem probably was for camel-hbase as it uses avro too. ServiceMix 5.1.4 includes the Camel version which fixes this problem. You should use the new version. But there is another known problem (https://issues.apache.org/jira/browse/SM-2323) with freeze while refreshing some bundles. I have tested installation of camel-hbase on 5.1.4 and I had this problem. You should add camel-hbase at the end of featuresBoot in org.apache.karaf.features.cfg to solve this problem. This problem will not occur in ServiceMix 5.3.x and later based on Karaf 2.4.x or Karaf 3.0.x If you still need to use ServiceMix 5.1.2 ther is a workaround described here https://issues.apache.org/jira/browse/SM-2346?focusedCommentId=14083772&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14083772 I hope it helps to solve you problem Regards Krzysztof On 18-Nov-2014 15:09, Mark Webb wrote: > Sorry for the cross-post, I'm not sure if this is a ServiceMix or Camel > problem. > > I am working on some data routes that will push data to HBase within > ServiceMix. My development environment depends on Apache Camel 2.13.2, > specifically the camel-hbase component version 2.13.2 depends on avro > 1.5.3. This is according to the dependency hierarchy that maven provides. > I only have camel-base version 2.13.2 listed in my pom.xml and maven pulls > in the dependencies. I'm not specifically including avro. > > When I deploy the camel-hbase feature in ServiceMix 5.1.2 I get an error > saying that I must deploy avro >= 1.7.7. So it seems like the same > version of the camel-hbase component relies on 2 different versions of > avro: 1.5.3 for development and 1.7.7 for deployment within ServiceMix. > > Is there any way to fix this problem? > > Thanks, > Mark > -- Krzysztof Sobkowiak JEE & OSS Architect | Technical Architect @ Capgemini | Committer @ ASF Capgemini <http://www.pl.capgemini.com/> | Software Solutions Center <http://www.pl.capgemini-sdm.com/> | Wroclaw e-mail: krzys.sobkow...@gmail.com <mailto:krzys.sobkow...@gmail.com> | Twitter: @KSobkowiak Calendar: http://goo.gl/yvsebC
Re: Problems of camel-hbase component
Hi Ad 2) Yeah that is a mistake on the example. You should have 2 as prefix on the header name, for the 2nd header, and 3 for the 3rd, and 4 for the 4th and so on. On Fri, Mar 14, 2014 at 9:51 AM, liugang594 Liu wrote: > Hi All: > > I'm tring camel-hbase component, and I did follow the guide page > http://camel.apache.org/hbase.html . I have some questions here: > > 1. Header Mapping Options > for example, the 'rowId' options, the name should be 'CamelHBaseRowId' > ,right (same for others)? > > 2. Examples > it says we can specify multiple headers to put multiple values at once, the > sample as below: > > > > > ${in.body.id} > > > > ${in.body.id} > > > > ${in.body.value} > > > > ${in.body.othervalue} > > > > > I don't understand how we can do that in camel, because the previous value > will be overwrote if same header name comes. right? > > 3. Remove option > I tried camel-hbase on consumer side, all scanned rows will be removed if > we didn't specify option remove=false, however this option doesn't describe > on the page > > 4. Family and Qualifier options > On consumer part, it is said we can also use uri option and header option > (I'm not sure how to use header option in this case). I tried to specify > family and qualifier options, however, the returned value will always be > null. I'm not sure they are forbidden or it's a bug. I created a bug and > add details for it: https://issues.apache.org/jira/browse/CAMEL-7296 > > I appreciate to get some answers about these questions. Thanks. > > -- > Best Regards > GangLiu > Mail: clevers...@gmail.com -- Claus Ibsen - Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen Make your Camel applications look hawt, try: http://hawt.io
Re: Problems of camel-hbase component
Ad 1) You can see the names in these classes https://github.com/apache/camel/blob/master/components/camel-hbase/src/main/java/org/apache/camel/component/hbase/HBaseConstants.java https://github.com/apache/camel/blob/master/components/camel-hbase/src/main/java/org/apache/camel/component/hbase/HbaseAttribute.java On Fri, Mar 14, 2014 at 9:51 AM, liugang594 Liu wrote: > Hi All: > > I'm tring camel-hbase component, and I did follow the guide page > http://camel.apache.org/hbase.html . I have some questions here: > > 1. Header Mapping Options > for example, the 'rowId' options, the name should be 'CamelHBaseRowId' > ,right (same for others)? > > 2. Examples > it says we can specify multiple headers to put multiple values at once, the > sample as below: > > > > > ${in.body.id} > > > > ${in.body.id} > > > > ${in.body.value} > > > > ${in.body.othervalue} > > > > > I don't understand how we can do that in camel, because the previous value > will be overwrote if same header name comes. right? > > 3. Remove option > I tried camel-hbase on consumer side, all scanned rows will be removed if > we didn't specify option remove=false, however this option doesn't describe > on the page > > 4. Family and Qualifier options > On consumer part, it is said we can also use uri option and header option > (I'm not sure how to use header option in this case). I tried to specify > family and qualifier options, however, the returned value will always be > null. I'm not sure they are forbidden or it's a bug. I created a bug and > add details for it: https://issues.apache.org/jira/browse/CAMEL-7296 > > I appreciate to get some answers about these questions. Thanks. > > -- > Best Regards > GangLiu > Mail: clevers...@gmail.com -- Claus Ibsen - Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen Make your Camel applications look hawt, try: http://hawt.io
Re: Problems of camel-hbase component
OK, thank you. BTW, how about Point 3 and Point 4? do you think they are problems or not? Thanks 2014-03-14 22:54 GMT+08:00 Claus Ibsen : > Ad 1) > You can see the names in these classes > > > https://github.com/apache/camel/blob/master/components/camel-hbase/src/main/java/org/apache/camel/component/hbase/HBaseConstants.java > > https://github.com/apache/camel/blob/master/components/camel-hbase/src/main/java/org/apache/camel/component/hbase/HbaseAttribute.java > > On Fri, Mar 14, 2014 at 9:51 AM, liugang594 Liu > wrote: > > Hi All: > > > > I'm tring camel-hbase component, and I did follow the guide page > > http://camel.apache.org/hbase.html . I have some questions here: > > > > 1. Header Mapping Options > > for example, the 'rowId' options, the name should be 'CamelHBaseRowId' > > ,right (same for others)? > > > > 2. Examples > > it says we can specify multiple headers to put multiple values at once, > the > > sample as below: > > > > > > > > > > ${in.body.id} > > > > > > > > ${in.body.id} > > > > > > > > ${in.body.value} > > > > > > > > ${in.body.othervalue} > > > > uri="hbase:mytable?opertaion=CamelHBasePut&family=myfamily& > > qualifier=myqualifier&family2=myfamily&qualifier2=myqualifier2"/> > > > > > > I don't understand how we can do that in camel, because the previous > value > > will be overwrote if same header name comes. right? > > > > 3. Remove option > > I tried camel-hbase on consumer side, all scanned rows will be removed if > > we didn't specify option remove=false, however this option doesn't > describe > > on the page > > > > 4. Family and Qualifier options > > On consumer part, it is said we can also use uri option and header option > > (I'm not sure how to use header option in this case). I tried to specify > > family and qualifier options, however, the returned value will always be > > null. I'm not sure they are forbidden or it's a bug. I created a bug and > > add details for it: https://issues.apache.org/jira/browse/CAMEL-7296 > > > > I appreciate to get some answers about these questions. Thanks. > > > > -- > > Best Regards > > GangLiu > > Mail: clevers...@gmail.com > > > > -- > Claus Ibsen > - > Red Hat, Inc. > Email: cib...@redhat.com > Twitter: davsclaus > Blog: http://davsclaus.com > Author of Camel in Action: http://www.manning.com/ibsen > Make your Camel applications look hawt, try: http://hawt.io > -- Best Regards GangLiu Mail: clevers...@gmail.com
Re: Problems of camel-hbase component
Hi Willem have added the docs for #3, and he is working on #4 On Mon, Mar 17, 2014 at 2:29 AM, liugang594 Liu wrote: > OK, thank you. > > BTW, how about Point 3 and Point 4? do you think they are problems or not? > > Thanks > > > 2014-03-14 22:54 GMT+08:00 Claus Ibsen : > >> Ad 1) >> You can see the names in these classes >> >> >> https://github.com/apache/camel/blob/master/components/camel-hbase/src/main/java/org/apache/camel/component/hbase/HBaseConstants.java >> >> https://github.com/apache/camel/blob/master/components/camel-hbase/src/main/java/org/apache/camel/component/hbase/HbaseAttribute.java >> >> On Fri, Mar 14, 2014 at 9:51 AM, liugang594 Liu >> wrote: >> > Hi All: >> > >> > I'm tring camel-hbase component, and I did follow the guide page >> > http://camel.apache.org/hbase.html . I have some questions here: >> > >> > 1. Header Mapping Options >> > for example, the 'rowId' options, the name should be 'CamelHBaseRowId' >> > ,right (same for others)? >> > >> > 2. Examples >> > it says we can specify multiple headers to put multiple values at once, >> the >> > sample as below: >> > >> > >> > >> > >> > ${in.body.id} >> > >> > >> > >> > ${in.body.id} >> > >> > >> > >> > ${in.body.value} >> > >> > >> > >> > ${in.body.othervalue} >> > >> > > uri="hbase:mytable?opertaion=CamelHBasePut&family=myfamily& >> > qualifier=myqualifier&family2=myfamily&qualifier2=myqualifier2"/> >> > >> > >> > I don't understand how we can do that in camel, because the previous >> value >> > will be overwrote if same header name comes. right? >> > >> > 3. Remove option >> > I tried camel-hbase on consumer side, all scanned rows will be removed if >> > we didn't specify option remove=false, however this option doesn't >> describe >> > on the page >> > >> > 4. Family and Qualifier options >> > On consumer part, it is said we can also use uri option and header option >> > (I'm not sure how to use header option in this case). I tried to specify >> > family and qualifier options, however, the returned value will always be >> > null. I'm not sure they are forbidden or it's a bug. I created a bug and >> > add details for it: https://issues.apache.org/jira/browse/CAMEL-7296 >> > >> > I appreciate to get some answers about these questions. Thanks. >> > >> > -- >> > Best Regards >> > GangLiu >> > Mail: clevers...@gmail.com >> >> >> >> -- >> Claus Ibsen >> - >> Red Hat, Inc. >> Email: cib...@redhat.com >> Twitter: davsclaus >> Blog: http://davsclaus.com >> Author of Camel in Action: http://www.manning.com/ibsen >> Make your Camel applications look hawt, try: http://hawt.io >> > > > > -- > Best Regards > GangLiu > Mail: clevers...@gmail.com -- Claus Ibsen - Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen Make your Camel applications look hawt, try: http://hawt.io
Re: Problems of camel-hbase component
Got it. Thanks. 2014-03-17 16:24 GMT+08:00 Claus Ibsen : > Hi > > Willem have added the docs for #3, and he is working on #4 > > On Mon, Mar 17, 2014 at 2:29 AM, liugang594 Liu > wrote: > > OK, thank you. > > > > BTW, how about Point 3 and Point 4? do you think they are problems or > not? > > > > Thanks > > > > > > 2014-03-14 22:54 GMT+08:00 Claus Ibsen : > > > >> Ad 1) > >> You can see the names in these classes > >> > >> > >> > https://github.com/apache/camel/blob/master/components/camel-hbase/src/main/java/org/apache/camel/component/hbase/HBaseConstants.java > >> > >> > https://github.com/apache/camel/blob/master/components/camel-hbase/src/main/java/org/apache/camel/component/hbase/HbaseAttribute.java > >> > >> On Fri, Mar 14, 2014 at 9:51 AM, liugang594 Liu > >> wrote: > >> > Hi All: > >> > > >> > I'm tring camel-hbase component, and I did follow the guide page > >> > http://camel.apache.org/hbase.html . I have some questions here: > >> > > >> > 1. Header Mapping Options > >> > for example, the 'rowId' options, the name should be 'CamelHBaseRowId' > >> > ,right (same for others)? > >> > > >> > 2. Examples > >> > it says we can specify multiple headers to put multiple values at > once, > >> the > >> > sample as below: > >> > > >> > > >> > > >> > > >> > ${in.body.id} > >> > > >> > > >> > > >> > ${in.body.id} > >> > > >> > > >> > > >> > ${in.body.value} > >> > > >> > > >> > > >> > ${in.body.othervalue} > >> > > >> > >> uri="hbase:mytable?opertaion=CamelHBasePut&family=myfamily& > >> > > qualifier=myqualifier&family2=myfamily&qualifier2=myqualifier2"/> > >> > > >> > > >> > I don't understand how we can do that in camel, because the previous > >> value > >> > will be overwrote if same header name comes. right? > >> > > >> > 3. Remove option > >> > I tried camel-hbase on consumer side, all scanned rows will be > removed if > >> > we didn't specify option remove=false, however this option doesn't > >> describe > >> > on the page > >> > > >> > 4. Family and Qualifier options > >> > On consumer part, it is said we can also use uri option and header > option > >> > (I'm not sure how to use header option in this case). I tried to > specify > >> > family and qualifier options, however, the returned value will always > be > >> > null. I'm not sure they are forbidden or it's a bug. I created a bug > and > >> > add details for it: https://issues.apache.org/jira/browse/CAMEL-7296 > >> > > >> > I appreciate to get some answers about these questions. Thanks. > >> > > >> > -- > >> > Best Regards > >> > GangLiu > >> > Mail: clevers...@gmail.com > >> > >> > >> > >> -- > >> Claus Ibsen > >> - > >> Red Hat, Inc. > >> Email: cib...@redhat.com > >> Twitter: davsclaus > >> Blog: http://davsclaus.com > >> Author of Camel in Action: http://www.manning.com/ibsen > >> Make your Camel applications look hawt, try: http://hawt.io > >> > > > > > > > > -- > > Best Regards > > GangLiu > > Mail: clevers...@gmail.com > > > > -- > Claus Ibsen > - > Red Hat, Inc. > Email: cib...@redhat.com > Twitter: davsclaus > Blog: http://davsclaus.com > Author of Camel in Action: http://www.manning.com/ibsen > Make your Camel applications look hawt, try: http://hawt.io > -- Best Regards GangLiu Mail: clevers...@gmail.com
Camel-hbase : problem with qualifier "id"
Hello, I'm not sure if this is a bug or an "undocumented" feature so I put this here. When using camel-hbase's producer, if you want to use an HBase qualifier with the value "id", it doesn't work. For example : I have an HBase table "registrations" with a family "token" and a qualifier "id". To scan it, I use this route : However the result doesn't give the database values. I tryed with another qualifier and it worked fine. I found out that when the producer tries to resolve the input parameters, this instruction goes wrong : This should get a String with the value "id", but instead it gets the value of the breadcrumbID header which is "ID-L83577-52983-1403687981986-0-1". Thanks -- View this message in context: http://camel.465427.n5.nabble.com/Camel-hbase-problem-with-qualifier-id-tp5752781.html Sent from the Camel - Users mailing list archive at Nabble.com.
Re: Camel-hbase : problem with qualifier "id"
I can confirm this issue. I have raised a JIRA [1] and work on a fix. [1] https://issues.apache.org/jira/browse/CAMEL-7547 Best, Christian - Software Integration Specialist Apache Member V.P. Apache Camel | Apache Camel PMC Member | Apache Camel committer Apache Incubator PMC Member https://www.linkedin.com/pub/christian-mueller/11/551/642 On Wed, Jun 25, 2014 at 11:33 AM, A577127 wrote: > Hello, > > I'm not sure if this is a bug or an "undocumented" feature so I put this > here. > > When using camel-hbase's producer, if you want to use an HBase qualifier > with the value "id", it doesn't work. > > For example : I have an HBase table "registrations" with a family "token" > and a qualifier "id". To scan it, I use this route : > > > > However the result doesn't give the database values. I tryed with another > qualifier and it worked fine. > > I found out that when the producer tries to resolve the input parameters, > this instruction goes wrong : > > > > This should get a String with the value "id", but instead it gets the value > of the breadcrumbID header which is "ID-L83577-52983-1403687981986-0-1". > > Thanks > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-hbase-problem-with-qualifier-id-tp5752781.html > Sent from the Camel - Users mailing list archive at Nabble.com. >
Re: Camel-hbase : problem with qualifier "id"
The "issue" in your route is: setHeader("CamelHBaseQualifier", simple("id", String.class)) try: setHeader("CamelHBaseQualifier", constant("id", String.class)) because: simple("id", String.class) is evaluated to the input message id as described at [1]. [1] http://camel.apache.org/simple.html Best, Christian - Software Integration Specialist Apache Member V.P. Apache Camel | Apache Camel PMC Member | Apache Camel committer Apache Incubator PMC Member https://www.linkedin.com/pub/christian-mueller/11/551/642 On Wed, Jun 25, 2014 at 11:33 AM, A577127 wrote: > Hello, > > I'm not sure if this is a bug or an "undocumented" feature so I put this > here. > > When using camel-hbase's producer, if you want to use an HBase qualifier > with the value "id", it doesn't work. > > For example : I have an HBase table "registrations" with a family "token" > and a qualifier "id". To scan it, I use this route : > > > > However the result doesn't give the database values. I tryed with another > qualifier and it worked fine. > > I found out that when the producer tries to resolve the input parameters, > this instruction goes wrong : > > > > This should get a String with the value "id", but instead it gets the value > of the breadcrumbID header which is "ID-L83577-52983-1403687981986-0-1". > > Thanks > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-hbase-problem-with-qualifier-id-tp5752781.html > Sent from the Camel - Users mailing list archive at Nabble.com. >
Re: Camel-hbase : problem with qualifier "id"
Checkout the unit test, if you want: https://git-wip-us.apache.org/repos/asf?p=camel.git;a=commit;h=5e97f9238fc292cc6fde3d75d8b98d4b26b7e66d Best, Christian - Software Integration Specialist Apache Member V.P. Apache Camel | Apache Camel PMC Member | Apache Camel committer Apache Incubator PMC Member https://www.linkedin.com/pub/christian-mueller/11/551/642 On Fri, Jun 27, 2014 at 12:44 PM, Christian Müller < christian.muel...@gmail.com> wrote: > The "issue" in your route is: > setHeader("CamelHBaseQualifier", simple("id", String.class)) > > try: > setHeader("CamelHBaseQualifier", constant("id", String.class)) > > because: > simple("id", String.class) is evaluated to the input message id as > described at [1]. > > [1] http://camel.apache.org/simple.html > > Best, > > Christian > - > > Software Integration Specialist > > Apache Member > V.P. Apache Camel | Apache Camel PMC Member | Apache Camel committer > Apache Incubator PMC Member > > https://www.linkedin.com/pub/christian-mueller/11/551/642 > > > On Wed, Jun 25, 2014 at 11:33 AM, A577127 > wrote: > >> Hello, >> >> I'm not sure if this is a bug or an "undocumented" feature so I put this >> here. >> >> When using camel-hbase's producer, if you want to use an HBase qualifier >> with the value "id", it doesn't work. >> >> For example : I have an HBase table "registrations" with a family "token" >> and a qualifier "id". To scan it, I use this route : >> >> >> >> However the result doesn't give the database values. I tryed with another >> qualifier and it worked fine. >> >> I found out that when the producer tries to resolve the input parameters, >> this instruction goes wrong : >> >> >> >> This should get a String with the value "id", but instead it gets the >> value >> of the breadcrumbID header which is "ID-L83577-52983-1403687981986-0-1". >> >> Thanks >> >> >> >> -- >> View this message in context: >> http://camel.465427.n5.nabble.com/Camel-hbase-problem-with-qualifier-id-tp5752781.html >> Sent from the Camel - Users mailing list archive at Nabble.com. >> > >
[Blog] I wrote a tutorial for Camel HBase, Stargate and Yahoo
Hello I'm a beginner at Camel so I wrote a little tutorial on how to use it with HBase and Stargate to integrate Yahoo Finance. Hope it will be usefull as a starter http://tech.robbieone.com/post/15341612892/combine-yahoo-finance-and-hbase-using-camel-and-rest http://tech.robbieone.com/post/15341612892/combine-yahoo-finance-and-hbase-using-camel-and-rest Robbie -- View this message in context: http://camel.465427.n5.nabble.com/Blog-I-wrote-a-tutorial-for-Camel-HBase-Stargate-and-Yahoo-tp5122411p5122411.html Sent from the Camel - Users mailing list archive at Nabble.com.
Re: [Blog] I wrote a tutorial for Camel HBase, Stargate and Yahoo
Hi Robbie, Thanks for sharing your tutorial with us! Babak Von meinem iPhone gesendet Am 05.01.2012 um 12:28 schrieb Sol Ido : > Hello > > I'm a beginner at Camel so I wrote a little tutorial on how to use it with > HBase and Stargate to integrate Yahoo Finance. > > Hope it will be usefull as a starter > > http://tech.robbieone.com/post/15341612892/combine-yahoo-finance-and-hbase-using-camel-and-rest > http://tech.robbieone.com/post/15341612892/combine-yahoo-finance-and-hbase-using-camel-and-rest > > > Robbie > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Blog-I-wrote-a-tutorial-for-Camel-HBase-Stargate-and-Yahoo-tp5122411p5122411.html > Sent from the Camel - Users mailing list archive at Nabble.com.
Re: [Blog] I wrote a tutorial for Camel HBase, Stargate and Yahoo
Hi Robbie This is a good blog post, with nice explanation of the code, line by line. I like that. I took the liberty by adding a link to your blog post to the Camel articles collection: https://cwiki.apache.org/confluence/display/CAMEL/Articles The static web site takes some hours to be updated. On Thu, Jan 5, 2012 at 12:28 PM, Sol Ido wrote: > Hello > > I'm a beginner at Camel so I wrote a little tutorial on how to use it with > HBase and Stargate to integrate Yahoo Finance. > > Hope it will be usefull as a starter > > http://tech.robbieone.com/post/15341612892/combine-yahoo-finance-and-hbase-using-camel-and-rest > http://tech.robbieone.com/post/15341612892/combine-yahoo-finance-and-hbase-using-camel-and-rest > > Robbie > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Blog-I-wrote-a-tutorial-for-Camel-HBase-Stargate-and-Yahoo-tp5122411p5122411.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen - FuseSource Email: cib...@fusesource.com Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/
Re: [Blog] I wrote a tutorial for Camel HBase, Stargate and Yahoo
Hi Claus, You make me proud and complete my objectif to get back knowledge to the community. I've learn a lot from your official book on Camel. Can you publish the link under my real name Robert Felker please ? Thank you ! -- View this message in context: http://camel.465427.n5.nabble.com/Blog-I-wrote-a-tutorial-for-Camel-HBase-Stargate-and-Yahoo-tp5122411p5122950.html Sent from the Camel - Users mailing list archive at Nabble.com.
Re: [Blog] I wrote a tutorial for Camel HBase, Stargate and Yahoo
On Thu, Jan 5, 2012 at 4:28 PM, Sol Ido wrote: > Hi Claus, > > You make me proud and complete my objectif to get back knowledge to the > community. > I've learn a lot from your official book on Camel. > Can you publish the link under my real name Robert Felker please ? > Hi Robert Sure thing. I have changed your name. Glad the book was a help for you. Looking forward to the next blog ;) > Thank you ! > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Blog-I-wrote-a-tutorial-for-Camel-HBase-Stargate-and-Yahoo-tp5122411p5122950.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen - FuseSource Email: cib...@fusesource.com Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/