Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Micro Integrator need to support latest smooks version #3827

Open
GXXXL opened this issue Dec 13, 2024 · 0 comments
Open

Micro Integrator need to support latest smooks version #3827

GXXXL opened this issue Dec 13, 2024 · 0 comments

Comments

@GXXXL
Copy link

GXXXL commented Dec 13, 2024

Current Limitation

i have a requirement about fetch a csv file from ftp server, but i found that the csv file has not same columns each rows, such as the first line is 2 columns, the second line is 4 columns ,and so on.....
good news i found that the smooks is support this scenario, and shows like https://www.smooks.org/documentation/#csv with Multi-Record Field Definitions.
bad news mi is not support the smooks version. i found an error message as Error Message = Smooks Filtering operation failed. Caused by Smooks Filtering operation failed.
smooks config as below:


<csv:reader fields="record1[]|record2[]" recordElementName="record" rootElementName="records" separator="|" indent="true"/>

BTW, i find the jar "smooks_1.5.1.wso2v5.jar" which at directory "wso2mi-4.3.0\wso2\components\plugins" and open source code, it only support csv-1.1.xsd to csv-1.5.xsd.

Suggested Improvement

https://mvnrepository.com/artifact/org.wso2.orbit.org.milyn/smooks
smooks_1.5.1.wso2v4.jar -- to --> milyn-smooks-all-1.7.1.jar
So, i want to ask for how can i upgrade the smooks version for mi4.0 or mi4.3, TXs.

Version

Micro Integrator 4.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant