My routes are using custom object trees which are being marshalled using a
custom DataFormat and outputted to file endpoints.

Contrary to my naiive expectation this does not lead to the DataFormat
directly outputting to the endpoints underlying OutputStream but always to
an intermediary ByteArrayOutputStream, thus manifesting in memory.

Due to various reasons (e.g. memory usage) this is undesired.

Is there a way to correlate endpoints and DataFormats directly so that
marshalling is able to directly output into the target stream?

Many thanks,
Lars



--
View this message in context: 
http://camel.465427.n5.nabble.com/Marshalling-directly-to-endpoints-OutputStream-tp5764013.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to