Hello, I am struggling with multi-threading for a while and I have some problems with this. Currently I am trying to send a post commit event that gives the name of a document, which was moved to another folder, to a thread that uses it to retrieve this document. I do that because if I just give the name to that thread it can not find a document with such name in the new directory.
The problem is, after firing the event and finishing work in the main thread, it seems the event is not processed by the post commit event listener and the retrieving thread does not start work on this document in a timely manner. I think the problem is that the transaction stays opened for a while. My question is when a transaction is commited or rolled back? Of course if you have other explanations of the situation I will be glad to read them. Regards, Nikola Geneshki. -- Posted by "nikola.geneshki" at Nuxeo Discussions <http://nuxeo.org/discussions> View the complete thread: <http://www.nuxeo.org/discussions/thread.jspa?threadID=3960#12122> _______________________________________________ ECM mailing list [email protected] http://lists.nuxeo.com/mailman/listinfo/ecm To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm
