<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Signal/Cancel running process in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/signal-cancel-running-process/m-p/197075#M150205</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for your quick response!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I already thought about using database based locks, but I'm not sure how to handle asynchronous job execution. How can I make the job acquisition thread respect these locks? &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Aug 2014 11:23:30 GMT</pubDate>
    <dc:creator>mbonato</dc:creator>
    <dc:date>2014-08-19T11:23:30Z</dc:date>
    <item>
      <title>Signal/Cancel running process</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/signal-cancel-running-process/m-p/197073#M150203</link>
      <description>I'm trying to find a good/suitable process design for a 'cancelable' process that involves some asynchronous tasks and a message receive task. The process may be simplified to the process shown in the following figure. [img]http://snag.gy/BBBfQ.jpg[/img]What makes things complicated is concurrency.</description>
      <pubDate>Mon, 18 Aug 2014 09:15:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/signal-cancel-running-process/m-p/197073#M150203</guid>
      <dc:creator>mbonato</dc:creator>
      <dc:date>2014-08-18T09:15:37Z</dc:date>
    </item>
    <item>
      <title>Re: Signal/Cancel running process</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/signal-cancel-running-process/m-p/197074#M150204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Besides cluster-wide locks, i think there is no other decent solution technically.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Note that a cluster-wide lock is not as scary as you might think: it might be just an entry in a database table where one cluster node has to 'take ownership' of before it can execute the process instance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Solution 2 sounds like it will work, but it's a lot of work to get right I think.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2014 11:04:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/signal-cancel-running-process/m-p/197074#M150204</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-08-19T11:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: Signal/Cancel running process</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/signal-cancel-running-process/m-p/197075#M150205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for your quick response!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I already thought about using database based locks, but I'm not sure how to handle asynchronous job execution. How can I make the job acquisition thread respect these locks? &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2014 11:23:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/signal-cancel-running-process/m-p/197075#M150205</guid>
      <dc:creator>mbonato</dc:creator>
      <dc:date>2014-08-19T11:23:30Z</dc:date>
    </item>
    <item>
      <title>Re: Signal/Cancel running process</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/signal-cancel-running-process/m-p/197076#M150206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hmm, in that case , in your service task, you'd need to use another transaction probably (ie also another transaction manager) to do those locking.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Another option which migh be easier development wise (but a little bit heavier deployment-wise) is to use distributed locks like for example used in Hazelcast (and alternatives)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2014 14:51:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/signal-cancel-running-process/m-p/197076#M150206</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-08-20T14:51:39Z</dc:date>
    </item>
  </channel>
</rss>

