camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Reading from Zookeeper With Camel-Zookeeper
Date Mon, 02 Jun 2014 10:58:55 GMT
Hi

Not sure if you need to set repeat=true ?

On Mon, Jun 2, 2014 at 12:16 PM, Max Bridgewater
<max.bridgewater@gmail.com> wrote:
> Hi,
>
> My route is as follows:
>
>     <route id="zookeeper-consumer">
>             <from uri="zookeeper://localhost:2181/requests?create=true"/>
>              <log message="Message received from zookeeper:${body}"/>
>         </route>
>
> I am using Zookeeper 3.4.6 with Camel 2.13. This route picks up only the
> first message after starting the route. Is this the intended behavior?
> After that message, it goes completely silent.
>
> The zookeeper dependency is indeed 3.4.6. In debug mode, I see the
> zookeeper client polling Zookeeper. But I don't see that any message being
> collected. I have one single Zookeeper instance. So, no cluster. Running
> the Zookeeper client, I can see that messages are waiting in the node.
>
> What am I missing?
>
> Thanks.
> Max.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/

Mime
View raw message