<?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: Transaction driven events in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/transaction-driven-events/m-p/195702#M148832</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&amp;gt; In that case, is there any difference between the command context being closed and the transaction context being closed?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, the command context close happens after transaction commit, but just before the transaction context is closed &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt; Regarding the bug, shall I raise it in JIRA?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Not needed, already fixed it&amp;nbsp; today in&amp;nbsp; &lt;/SPAN&gt;&lt;A href="https://github.com/Activiti/Activiti/commit/a30b42bd423dc3ce4754bafa18adbcc6decd00fd" rel="nofollow noopener noreferrer"&gt;https://github.com/Activiti/Activiti/commit/a30b42bd423dc3ce4754bafa18adbcc6decd00fd&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Aug 2014 20:45:58 GMT</pubDate>
    <dc:creator>jbarrez</dc:creator>
    <dc:date>2014-08-19T20:45:58Z</dc:date>
    <item>
      <title>Transaction driven events</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/transaction-driven-events/m-p/195698#M148828</link>
      <description>Hi,A colleague of mine reported https://jira.codehaus.org/browse/ACT-2040 a while ago. I have recently attempted to address the issue myself and thought I'd report on my findings and see if I can get some feedback on the approach.As a quick summary, the issue was that although an ActivitiEvent may c</description>
      <pubDate>Thu, 14 Aug 2014 11:09:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/transaction-driven-events/m-p/195698#M148828</guid>
      <dc:creator>mishamo</dc:creator>
      <dc:date>2014-08-14T11:09:19Z</dc:date>
    </item>
    <item>
      <title>Re: Transaction driven events</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/transaction-driven-events/m-p/195699#M148829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I also realised that no events seem to be fired after a call to &amp;lt;code&amp;gt;taskService.unclaim(taskId)&amp;lt;/code&amp;gt;. Is that by design or an oversight? I suppose I would expect at least a TASK_ASSIGNED event to be fired.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Aug 2014 11:56:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/transaction-driven-events/m-p/195699#M148829</guid>
      <dc:creator>mishamo</dc:creator>
      <dc:date>2014-08-14T11:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: Transaction driven events</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/transaction-driven-events/m-p/195700#M148830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In Activiti 5.16, there is an easier way now: see &lt;/SPAN&gt;&lt;A href="https://github.com/Activiti/Activiti/blob/master/modules/activiti-engine/src/main/java/org/activiti/engine/impl/event/logger/EventLogger.java" rel="nofollow noopener noreferrer"&gt;https://github.com/Activiti/Activiti/blob/master/modules/activiti-engine/src/main/java/org/activiti/engine/impl/event/logger/EventLogger.java&lt;/A&gt;&lt;SPAN&gt; , the onEvent method. You can add stuff to the current command context and also get a close notification.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt; I also realised that no events seem to be fired after a call to taskService.unclaim(taskId)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That does sound like a bug to me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2014 09:50:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/transaction-driven-events/m-p/195700#M148830</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-08-19T09:50:31Z</dc:date>
    </item>
    <item>
      <title>Re: Transaction driven events</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/transaction-driven-events/m-p/195701#M148831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm assuming you're referring to the &amp;lt;code&amp;gt;CommandContextCloseListener&amp;lt;/code&amp;gt;. In that case, is there any difference between the command context being closed and the transaction context being closed?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regarding the bug, shall I raise it in JIRA?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2014 15:44:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/transaction-driven-events/m-p/195701#M148831</guid>
      <dc:creator>mishamo</dc:creator>
      <dc:date>2014-08-19T15:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: Transaction driven events</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/transaction-driven-events/m-p/195702#M148832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&amp;gt; In that case, is there any difference between the command context being closed and the transaction context being closed?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, the command context close happens after transaction commit, but just before the transaction context is closed &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt; Regarding the bug, shall I raise it in JIRA?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Not needed, already fixed it&amp;nbsp; today in&amp;nbsp; &lt;/SPAN&gt;&lt;A href="https://github.com/Activiti/Activiti/commit/a30b42bd423dc3ce4754bafa18adbcc6decd00fd" rel="nofollow noopener noreferrer"&gt;https://github.com/Activiti/Activiti/commit/a30b42bd423dc3ce4754bafa18adbcc6decd00fd&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2014 20:45:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/transaction-driven-events/m-p/195702#M148832</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-08-19T20:45:58Z</dc:date>
    </item>
  </channel>
</rss>

