Closed chanikag closed 3 days ago
Usually, we do not have to specify, these implementation level details in the product documentation. As we have already done, what we have to do is we have to mention what to configure when we add a particular property (ie. the content type should be set to application/binary if enableStreaming is set to true.). That is already there in the documentation.
Description
When set enableStreaming to true in file connector configuration it gives following error
According to the source code [1] the builder is not a type of DataSourceMessageBuilder, which is why the above error is thrown.
We haven't classified which message builders are DataSourceMessageBuilders. Therefore, it would be better if we could update the MI documentation [2] with these classifications. As this issue can occur when setting up file connector, it is better to add a note in file connector docs too.
[1] https://github.com/wso2-extensions/esb-connector-file/blob/a5a7293080dccb864443f80334728ddb2861c694/src/main/java/org/wso2/carbon/connector/operations/ReadFile.java#L590 [2] https://mi.docs.wso2.com/en/latest/install-and-setup/setup/message-builders-formatters/message-builders-and-formatters/
Steps to reproduce
Affected version(s)
Related issue(s) (optional)
Suggested label(s) (optional)
Suggested assignee(s) (optional)