<?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: IntermediateCatchEvent under 5 secondes working only once in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/intermediatecatchevent-under-5-secondes-working-only-once/m-p/159563#M113593</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Mathieu&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You are right. The minimum wait time for job executor to peek the next job is 5 seconds. That is the maximum resolution with the default job executor.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you need a finer grained resolution, you can extend the DefaultJobExecutor class, set its waitTimeInMillis property to whatever you want and inject it in process configuration.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope it helps you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You should not set it too low as it will increase overheads.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Feb 2014 08:58:19 GMT</pubDate>
    <dc:creator>smirzai</dc:creator>
    <dc:date>2014-02-18T08:58:19Z</dc:date>
    <item>
      <title>IntermediateCatchEvent under 5 secondes working only once</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/intermediatecatchevent-under-5-secondes-working-only-once/m-p/159561#M113591</link>
      <description>Hello,I am actually refactor my application which uses Activiti.I am encoutering some issues with IntermediateCatchEvent.In my workflow, I have an independant process which call a service every 2 second, so I use an intermediateCatchEvent inside :&amp;lt;intermediateCatchEvent id="timerintermediatecatch</description>
      <pubDate>Mon, 17 Feb 2014 14:28:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/intermediatecatchevent-under-5-secondes-working-only-once/m-p/159561#M113591</guid>
      <dc:creator>mathieum</dc:creator>
      <dc:date>2014-02-17T14:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: IntermediateCatchEvent under 5 secondes working only once</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/intermediatecatchevent-under-5-secondes-working-only-once/m-p/159562#M113592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Mathieu,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;JobExecutor has set wait time to 5s. Try to decrease it. It can affect activiti performance. Does it really make sense to execute job each 2 sec?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2014 07:53:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/intermediatecatchevent-under-5-secondes-working-only-once/m-p/159562#M113592</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2014-02-18T07:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: IntermediateCatchEvent under 5 secondes working only once</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/intermediatecatchevent-under-5-secondes-working-only-once/m-p/159563#M113593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Mathieu&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You are right. The minimum wait time for job executor to peek the next job is 5 seconds. That is the maximum resolution with the default job executor.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you need a finer grained resolution, you can extend the DefaultJobExecutor class, set its waitTimeInMillis property to whatever you want and inject it in process configuration.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope it helps you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You should not set it too low as it will increase overheads.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2014 08:58:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/intermediatecatchevent-under-5-secondes-working-only-once/m-p/159563#M113593</guid>
      <dc:creator>smirzai</dc:creator>
      <dc:date>2014-02-18T08:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: IntermediateCatchEvent under 5 secondes working only once</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/intermediatecatchevent-under-5-secondes-working-only-once/m-p/159564#M113594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Martin, Smirzai,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the tip, it fixed my issue perfectly fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;@Martin : In my application context, I must test the context every 2/3 seconds so I have no other choice.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mathieu&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2014 11:21:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/intermediatecatchevent-under-5-secondes-working-only-once/m-p/159564#M113594</guid>
      <dc:creator>mathieum</dc:creator>
      <dc:date>2014-02-18T11:21:06Z</dc:date>
    </item>
  </channel>
</rss>

