You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Hartmut Lang <ha...@ericsson.com> on 2012/01/03 17:43:38 UTC

Zookeeper component documentation

Hi, 

for me it seems that the documentation for the zookeeper component is not correct: http://camel.apache.org/zookeeper.html.

The examples for "reading from a znode" seems more like a writing example.

But maybe i just don't get the point here.

Hartmut




Simplify the usage of Camel Header?

Posted by xuhb <xu...@tongtech.com>.
Hi:
    while using camel , we find the camel header has serveral kinds of usage:
    1) control camel component's logical: etc: "CamelBeanMethodName" controlling BeanProcessor
    2) control/descript protocol endpoint action: "operationName" of CamelCXF descript/control of cxf endpoint's operation; "CamelHttpMethod" descript/control jetty/http endpoint's method;
    3) protocol data:  jms header, http header, soap-header.

    In a words camel message's header can store data which intercharged between different extenrn system,  also store some information for controlling or descripion of  the camel component's natural; 
    
    How could we distinguish them easily to avoid treating the controlling headers as protocol data  unconsciously?
    
    Although HeaderFilterStrategy can works, but it's not easy for the end-user if the they doesn't examine every component they used carefully; 

    I think camel is always committed to simplify the end-user's usage as possible as it can, so have anyone ideas or is there any existing ways of camel can simplify the problem? Should some of controlling information be moved from header to  property?

Re: Zookeeper component documentation

Posted by Bilgin Ibryam <bi...@gmail.com>.
On 3 January 2012 16:43, Hartmut Lang <ha...@ericsson.com> wrote:
>
> Hi,
>
> for me it seems that the documentation for the zookeeper component is not correct: http://camel.apache.org/zookeeper.html.
>
> The examples for "reading from a znode" seems more like a writing example.

You are right Hartmut, reading should be in the format:

from("zookeeper://localhost:39913/camel?repeat=true").to("mock:zookeeper-data");

I updated the docs.
Thanks for letting us know.

Bilgin

>
> But maybe i just don't get the point here.
>
> Hartmut
>
>
>