Re: A basic query with using Direct Component

2014-06-19 Thread Chirag Dewan
try and use an empty string suffix for the consumer route so that it does not ignore files. Thanks for the assistance. Chirag From: Claus Ibsen To: "users@camel.apache.org" Sent: Thursday, 19 June 2014 12:16 PM Subject: Re: A basic query with us

Re: A basic query with using Direct Component

2014-06-18 Thread Claus Ibsen
ails and .opened file is still > there on HDFS. Is there any option through which I can skip creating .opened > file? > > > Chirag > > > > > > > > > > > > From: Claus Ibsen > To: "users@camel.apache.org&q

Re: A basic query with using Direct Component

2014-06-18 Thread Chirag Dewan
: Claus Ibsen To: "users@camel.apache.org" Sent: Thursday, 19 June 2014 11:37 AM Subject: Re: A basic query with using Direct Component On Thu, Jun 19, 2014 at 7:11 AM, Chirag Dewan wrote: > Hi All, > > I have a route with direct as following : > > from("direct:abc&q

Re: A basic query with using Direct Component

2014-06-18 Thread Claus Ibsen
On Thu, Jun 19, 2014 at 7:11 AM, Chirag Dewan wrote: > Hi All, > > I have a route with direct as following : > > from("direct:abc").to("hdfs2:x?splitStrategy=MESSAGE"); > > I use the route write files in HDFS. I use the producer template to send a > OutputStream to direct: > > producerTemplat

A basic query with using Direct Component

2014-06-18 Thread Chirag Dewan
Hi All, I have a route with direct as following : from("direct:abc").to("hdfs2:x?splitStrategy=MESSAGE"); I use the route write files in HDFS. I use the producer template to send a OutputStream to direct: producerTemplate,sendBody("direct:abc",OutputStream); Now HDFS producer creates an .