Producer of WebLab resource default behavior lead to error in routes
The WebLab producer has a streaming option that is set to "false" by default.
In case this option isn't set to true, then the resource created is outputed as a "java.io.StringWriter". This lead to conversion error if one immediately call a WebLab service in a route without explicit conversion.
It sounds strange that
<to uri="weblab:create?type=Document&outputMethod=xml"/>
<to uri="weblab:analyser:AIRBUS-segmentationDetectionService"/>
lead to errors at runtime. Outputing a simple java.lang.String is probably a better idea.
Also, as it is recommended for performance reasons to stream everything, then setting the default behavior to streaming=true would be nice.
If it is really intended to returns a StringWritter for any reason, then update the documentation is required.