camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Schneider <>
Subject [Discuss] Remove generics and special message from file component
Date Wed, 31 Aug 2011 13:28:33 GMT
Currently the file component uses a special message GenericFile to send 
files into camel routes.
This is bad as several other parts of camel need to deal with this type. 
It is already a bit better now that I introduced WrappedFile as an 
abstraction of GenericFile so other parts of camel do not have to know 
details about the file component.

The big question is though can we get rid of this completely?

So my proposal is:

- Send files as File objects in the body of a regular DefaultMessage. We 
could also think about sending a FileInputStream
- Send other details as headers
- Also get rid of FileBinding

So what are your thoughts about that?


Christian Schneider

Open Source Architect
Talend Application Integration Division

View raw message