camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From boday <>
Subject Re: Problem writing message to file
Date Thu, 19 May 2011 20:40:12 GMT
as Ashwin said, there are a few issues with your approach...notably, you
shouldn't define your route in a loop...

Also, if you need to poll from a queue every 300ms...then you can use poll enrich , like this...


rumpa wrote:
> Hi Aswin,
> The requirement is to have a standalone consumer that keeps polling every
> 300 ms. The message arrives the endpoint properly as i am able to print it
> in text. but its weird why am i not able to write it to a file. That too
> only the first message that arrives does not get written to the file. 
> The second message onwards it writes to file perfectly.

Ben O'Day
IT Consultant -

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message