Rest Response attachment stream for large files of size 500 MB gives java heap space error, can we choose the location to write file instead of stream to a property in response, similar to OOTB CMIS GetContentStream
CMIS request to get the document from the content management system, let us take an example of Alfresco.
If we use OOTB CMIS GetContentStream we get the stream response back to Pega Server from Alfresco server and this is created as a file in Pega Server location.
Example response of OOTB CMIS GetContentStream
CMIS request to get the document from the content management system, let us take an example of Alfresco.
If we use OOTB CMIS GetContentStream we get the stream response back to Pega Server from Alfresco server and this is created as a file in Pega Server location.
Example response of OOTB CMIS GetContentStream
Hi,
Could you please let me know is there any reason for not using base64 encoded string.If you would not use encoded value then If your file contains special character or non english character then it will get corrupted or It can cause exceptions while downloading.Therefore we always use encoded value in content stream.
You are able to download it using alfresco ,We can use two types of server while configuring CMIS rule from prpc.
1.Atom
2.SOAP
You can try using SOAP server If it fulfills your requirement.
Thanks,
Abhinav