Hi All,
I have a requirement to read from csv and populate a table in
database. Currently i'm able to read from the csv using camelbindy
from("file:src/data?noop=true&delay=1")
.unmarshal().bindy(BindyType.Csv,
Thanks so much Stephane... its working fine now
--
View this message in context:
http://camel.465427.n5.nabble.com/File-Poller-tp4435442p4435740.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Yes, the file component does polling by default.
How do you run your application? If it is standalone (plain Java), after
having started the camel context, you must make the Thread to sleep
(otherwise the camel context initiates its shutdown).
You can do that with, Thread.sleep after having start
You mean to say it does polling by default?? In my case the context is just
shutting down without polling i tried delay option too but same
result.
--
View this message in context:
http://camel.465427.n5.nabble.com/File-Poller-tp4435442p4435709.html
Sent from the Camel - Users mailing lis
Hi Sumatheja,
I think what you need is the "delay" option, not "consumer.delay".
See the Consumer URI Options in http://camel.apache.org/file2.html :
delay (default 500) : Milliseconds before the next poll of the
file/directory
Stéphane
On Sat, May 28, 2011 at 9:12 PM, sumatheja wrote:
> Hi T
Hi Tarreq,
I'm directing the output to another end point everthing other
than the polling part is working fine find the complete route below
from("file:src/data?consumer.delay=1")
.unmarshal().bindy(
I'm not familiar with that option, looks strange, but otherwise you have a
consumer. Now to send the files either to another endpoint or process it. The
"getting started" link given before should help you further.
Also see http://camel.apache.org/file2.html
Taariq
On 28 May 2011, at 8:40 PM, su
Thanks for your reply... I went through the pdf... It says the same thing as
i was trying earlier I'm using the following code
from("file:src/data?consumer.delay=1")
Do I need to add anything else to this endpoint to poll the directory or
should I add some extra code.
Thanks in advance
The following resources should give you what you need.
http://camel.apache.org/getting-started.html
http://www.manning.com/ibsen/Camel_ch01_update.pdf
Hope this helps,
-Marcelo
On May 28, 2011, at 10:55 AM, sumatheja wrote:
> I'm completely new to Apache camel... Please help me with an example
I'm completely new to Apache camel... Please help me with an example for file
polling I want to poll a local directory and do some processing I
was unable to get much help from web Any help is much appreciated.
Thanks in Advance
--
View this message in context:
http://camel.465427.n5
Hi
Fell free to create a JIRA ticket for an improvement to the loop DSL
so we can add an option to control if looping should be from
- a copy of the input message
- continue looping the same message
http://camel.apache.org/support
On Fri, May 27, 2011 at 11:58 PM, Greg McFall wrote:
> I just tr
11 matches
Mail list logo