<?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 Difference between setAsyncExecutorActivate and setAsyncExecutorEnabled method . in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/difference-between-setasyncexecutoractivate-and/m-p/243539#M196669</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What is the difference between setAsyncExecutorActivate and setAsyncExecutorEnabled method of ProcessEngineConfiguration class ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Nov 2016 06:01:41 GMT</pubDate>
    <dc:creator>piyush_kaizen</dc:creator>
    <dc:date>2016-11-03T06:01:41Z</dc:date>
    <item>
      <title>Difference between setAsyncExecutorActivate and setAsyncExecutorEnabled method .</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/difference-between-setasyncexecutoractivate-and/m-p/243539#M196669</link>
      <description>What is the difference between setAsyncExecutorActivate and setAsyncExecutorEnabled method of ProcessEngineConfiguration class ?</description>
      <pubDate>Thu, 03 Nov 2016 06:01:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/difference-between-setasyncexecutoractivate-and/m-p/243539#M196669</guid>
      <dc:creator>piyush_kaizen</dc:creator>
      <dc:date>2016-11-03T06:01:41Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between setAsyncExecutorActivate and setAsyncExecutorEnabled method .</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/difference-between-setasyncexecutoractivate-and/m-p/243540#M196670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In ProcessEngineConfigurationImpl.java there is a method: initAsyncExecutor&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;in this method if "isAsyncExecutorEnabled()" then a new asyncExecutor will be created (only if it is null) and then for this asyncExecutor is called:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; asyncExecutor.setAutoActivate(asyncExecutorActivate);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;later when a new process engine is created if there is a asyncExecutor which is also marked as "autoActivate" it will be automatically started.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(otherwise you should start the async executor manually)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;see: ProcessEngineImpl&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; if (asyncExecutor != null &amp;amp;&amp;amp; asyncExecutor.isAutoActivate()) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; asyncExecutor.start();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;so: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;setAsyncExecutorEnabled – allow creating an async executor.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;setAsyncExecutorActivate – will mark the async executor as autoActivate (to start automatically)&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Nov 2016 08:31:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/difference-between-setasyncexecutoractivate-and/m-p/243540#M196670</guid>
      <dc:creator>vasile_dirla</dc:creator>
      <dc:date>2016-11-03T08:31:09Z</dc:date>
    </item>
  </channel>
</rss>

