Re: Problems of camel-hbase component

2014-03-17 Thread liugang594 Liu
Got it. Thanks. 2014-03-17 16:24 GMT+08:00 Claus Ibsen claus.ib...@gmail.com: 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 clevers...@gmail.com wrote: OK, thank you. BTW, how about Point 3 and Point 4? do you think

Re: Problems of camel-hbase component

2014-03-16 Thread liugang594 Liu
/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 clevers...@gmail.com wrote: Hi All: I'm tring camel-hbase

Re: does camel-hdfs(2.12.3) component support latest hadoop 2.3.0

2014-03-14 Thread liugang594 Liu
, 2014 at 5:00 AM, liugang594 Liu clevers...@gmail.com wrote: Hi All: I'd like to know if camel-hdfs component supports latest hadoop 2.3.0? I saw the dependency of camel-hdfs is hadoop-core-1.2.1.jar, however if I write pure java code to operate hdfs (hadoop 2.3.0) based

Problems of camel-hbase component

2014-03-14 Thread liugang594 Liu
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

does camel-hdfs(2.12.3) component support latest hadoop 2.3.0

2014-03-10 Thread liugang594 Liu
Hi All: I'd like to know if camel-hdfs component supports latest hadoop 2.3.0? I saw the dependency of camel-hdfs is hadoop-core-1.2.1.jar, however if I write pure java code to operate hdfs (hadoop 2.3.0) based on this library, I will get error: Exception in thread main

Re: Set CxfEndpoint Property Dynamicly

2013-09-10 Thread liugang594 Liu
: willemjiang Weibo: 姜宁willem On Tuesday, September 10, 2013 at 9:20 AM, liugang594 Liu wrote: Yap, seems not possible for now, it's great if we can support it somehow in future. Anyway, Thanks alot. 2013/9/9 Claus Ibsen claus.ib...@gmail.com (mailto: claus.ib...@gmail.com) Hi

Re: Set CxfEndpoint Property Dynamicly

2013-09-09 Thread liugang594 Liu
. Though not sure if changing CXF properties at runtime is supported in camel-cxf. Though you can give it a try to see what happens. On Fri, Sep 6, 2013 at 11:37 AM, liugang594 Liu clevers...@gmail.com wrote: for example, if I have some route like: *from(uri) **[Step1]* *.setHeader(name

Re: CxfProducer cache problem on Camel

2013-09-06 Thread liugang594 Liu
different urls, so its 2 different endpoint instances. Or you can crate the cxf endpoints using java code, with the new constructor. On Fri, Sep 6, 2013 at 5:36 AM, liugang594 Liu clevers...@gmail.com wrote: Hi All: I found the CxfProducer object will be cached to reuse in Camel, however

Re: Set CxfEndpoint Property Dynamicly

2013-09-06 Thread liugang594 Liu
6, 2013 at 6:18 AM, liugang594 Liu clevers...@gmail.com wrote: Hi All: I'd like to know how can I set the properties of CxfEndpoint dynamicly, for example use simple expression to calculate and set the property value during running. Thanks alot Thanks GangLiu Mail: clevers

Re: CxfProducer cache problem on Camel

2013-09-06 Thread liugang594 Liu
to each request. 2013/9/6 liugang594 Liu clevers...@gmail.com but it's not a bug? because all endpoint have the same CxfBinding instance even I specified individually. 2013/9/6 Claus Ibsen claus.ib...@gmail.com Hi The url is the same in the endpoint(url) so you get the same instance

Re: Always got IndexOutOfBoundsException when customized id of wireTap component

2013-08-06 Thread liugang594 Liu
://www.fusesource.com | http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese) Twitter: willemjiang Weibo: 姜宁willem On Wednesday, August 7, 2013 at 9:48 AM, liugang594 Liu wrote

Re: Compatibility problem from camel 2.10.* (or may be older) to 2.11.*

2013-08-02 Thread liugang594 Liu
if no source code, seems not way to make it work on new version. :( 2013/8/2 Claus Ibsen claus.ib...@gmail.com Just add the new methods to the registry implementation and it works in both 2.10 and 2.11. On Fri, Aug 2, 2013 at 4:19 AM, liugang594 Liu clevers...@gmail.com wrote: Hi

Re: Compatibility problem from camel 2.10.* (or may be older) to 2.11.*

2013-08-02 Thread liugang594 Liu
: liugang594 Liu [mailto:clevers...@gmail.com] Sent: Freitag, 2. August 2013 09:47 To: users Subject: Re: Compatibility problem from camel 2.10.* (or may be older) to 2.11.* if no source code, seems not way to make it work on new version. :( 2013/8/2 Claus Ibsen claus.ib...@gmail.com Just

Compatibility problem from camel 2.10.* (or may be older) to 2.11.*

2013-08-01 Thread liugang594 Liu
Hi : I saw the interface org.apache.camel.spi.Registry has significant changes from 2.10.* to 2.11.* , which lead us some compatibility problem when changing the camel version to latest version (we defined some customized Registry implementation inside). Even it seems no way to keep downward

Re: id of wireTap will be overrided by the id of next node

2013-06-27 Thread liugang594 Liu
I found a way to make it works: change wireTap(direct:a).id(wireTapId) to wireTap(direct:a).id(wireTapId).end() , then it works. 2013/6/27 liugang594 Liu clevers...@gmail.com Hi All: I have below route: from(timer:foo).routeId(route1).setBody(constant(Hello)).id(setBodyID).wireTap(direct:a

id of wireTap will be overrided by the id of next node

2013-06-26 Thread liugang594 Liu
Hi All: I have below route: from(timer:foo).routeId(route1).setBody(constant(Hello)).id(setBodyID).wireTap(direct:a).id(wireTapId).process(new Processor(){...}).id(processId); When I'm trying to trace each node by id, I found the id of wireTap will be always processId. Seems all sub-classes of

Body type problem on CXF component with CXF_MESSAGE dataFormat`

2013-06-04 Thread liugang594 Liu
Hi All: I have a question about the expect body type of CXF compoent when using CXF_MESSAGE dataFormat. My CXF version is 2.7.5 and Camel version is 2.10.4. for example, I have a route:timer - setBody (constant string content) - CXF It works fine, if dataFormat of this cxf component is RAW, POJO

Re: NullPointerException throws from CXF Component (DataFormat is CXF_MESSAGE) when handle fault response

2013-05-29 Thread liugang594 Liu
Sorry to bothering you again, I'd like to know is there any progress on this issue? and I saw one bug is created related to it https://issues.apache.org/jira/browse/CAMEL-6404 . Thanks. 2013/5/29 liugang594 Liu clevers...@gmail.com If the required service with ws-addressing enable, and from

Re: NullPointerException throws from CXF Component (DataFormat is CXF_MESSAGE) when handle fault response

2013-05-29 Thread liugang594 Liu
://www.fusesource.com | http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese) Twitter: willemjiang Weibo: 姜宁willem On Thursday, May 30, 2013 at 9:51 AM, liugang594 Liu wrote

NullPointerException throws from CXF Component (DataFormat is CXF_MESSAGE) when handle fault response

2013-05-28 Thread liugang594 Liu
If the required service with ws-addressing enable, and from CXF component (dataFormat type is CXF_MESSAGE) sent a request msg without ws-addressing information inside. then got a NullPointerException, the error msg is: Exception in thread default-workqueue-1 java.lang.NullPointerException at

Re: NullPointerException throws from CXF Component (DataFormat is CXF_MESSAGE) when handle fault response

2013-05-28 Thread liugang594 Liu
: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese) Twitter: willemjiang Weibo: 姜宁willem On Wednesday, May 29, 2013 at 11:36 AM, liugang594 Liu wrote: If the required service with ws-addressing

How to add HTTP Basic and Digest Auth on CXF component

2013-03-15 Thread liugang594 Liu
Hi All: I'd like to know how I can put the HTTP Authorization Setting on CXF component. 1. On Consumer Side, I want to reuse the setting of Server 2. On Producer Side, I want to attach the Auth Info (username/password/auth type) when sending the request. Thanks in advance. -- Thanks GangLiu