Hello Community,
I am working with IBM FileNet CMIS and need to retrieve multiple file contents in a single request. Currently, I am using getContentStream
to fetch file content, but it only supports one file per request.
What I Have Tried:
-
CMIS Query (SELECT cmis:objectId, cmis:name FROM cmis:document WHERE IN_FOLDER('xyz')
)
- This helps fetch multiple file object IDs, but I still need to call
getContentStream
separately for each file.
-
Parallel Requests for getContentStream
- This works, but I am looking for a way to get multiple file contents in one request to optimize performance.
-
Custom Web Service Approach
- Considering a middleware solution (e.g., IBM API Connect) to batch requests, but wondering if there's a built-in CMIS method for this.
My Question:
- Is there a native way in CMIS/FileNet to retrieve multiple file contents in a single request?
- Does FileNet CMIS support MTOM/XOP batch retrieval for multiple files?
- Any best practices or recommendations for handling bulk content retrieval efficiently?
Appreciate any insights
------------------------------
------------------------------
Thanks & Regards,
Ahmed Alsareti
------------------------------
------------------------------