WrappedFile

2011-08-30 Thread Claus Ibsen
Hi The WrappedFile seems like when people create a facade for another facade. public interface WrappedFileT { T getFile(); } That WrappedFile is not specific for a File, it could in fact be anything. So I suggest to come up with a more generic name and API. I bet it could come handy

Re: WrappedFile

2011-08-30 Thread Christian Schneider
Hi Claus, technically you are correct. WrappedFile is rather a WrappedObject. But this is not the intent. The intent is to have an interface for the minimum part of GenericFile that is needed outside of the file component. This is necessary to avoid having other parts of camel know about