camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoffry Roberts <geoffry.robe...@gmail.com>
Subject Re: Camel and Hadoop First Try
Date Fri, 05 Aug 2011 02:17:25 GMT
Christian,

My mistake, the "i" should be "in".

String in = "hdfs://qq000:5...";

prod.sendBody(in);

It doesn't work.

On 4 August 2011 15:32, Christian Müller <christian.mueller@gmail.com>wrote:

> Hello Geoffry!
>
> What is "i" in your code? I assume it's your payload which you send to your
> Hadoop file system...
>
> And in your code I miss something like:
> ctx.addRoutes(erb);
>
> Instead of:
> prod.sendBody(i);
>
> you should try:
> prod.sendBody(in, i);
>
> Otherwise Camel doesn't know where to send the message...
>
> Best,
> Christian
>



-- 
Geoffry Roberts

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message