CMIS service wrapper

If I define my own CMIS Service wrapper and override the the createDocument method - if a document cannot be saved due to a listener throwing, I would like the CMIS handler to update another document elsewhere in the repository and then propagate the exception upwards. To do this - I would need to get a separate session and somehow ensure that updates on that separate session don't get rolled back when my method throws. Is this possible? Is there a code snippet I can clone? Thanks.

0 votes

0 answers

1539 views

ANSWER