...
In Camel 1.5 onwards the stream caching is default enabled, so adding streamCaching()
is not needed.
In Camel 2.0 we are storing the big (over than 64K by default) input stream into to a temp file by using CachedOutputStream(TODO need to add the java doc link), and when you close the input stream , the temp file will be deleted.
Creating a JBI Service Unit
...