You could write your own consumer to do this if you wanted and nothing else
fit. Camel is very extensible so it allows you to do custom things and
transparently marry those things with EIP and camel routes.

*Robert Simmons Jr. MSc. - Lead Java Architect @ EA*
*Author of: Hardcore Java (2003) and Maintainable Java (2012)*
*LinkedIn: **http://www.linkedin.com/pub/robert-simmons/40/852/a39
<http://www.linkedin.com/pub/robert-simmons/40/852/a39>*


On Tue, Jan 7, 2014 at 6:10 AM, Chirag Dewan <[email protected]>wrote:

> Hi All,
>
> I am using Apache Camel 2.12.1. I have a use case where one of my thread
> is outputting data to a stream. I need a camel consumer which consumes this
> stream from that thread and produces a file using camel-file or camel-ftp.
>
> Looking at the components,I wonder what I can effectively use here? One
> way I can think of is using a producer template,which might be sending the
> stream of data to a queue consumer like SEDA or Disruptor and in turn use a
> file or ftp producer.
>
> I am not sure I got that right. Any other way I can consume Streams here?
>
> Any help will be appreciated.
>
> Thanks.
>
> CD

Reply via email to