<?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 Is it possible to configure JobExecutor? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/is-it-possible-to-configure-jobexecutor/m-p/58599#M35880</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Before I go off and implement some crazy thing, is it possible to configure the JobExecutor?&amp;nbsp; Looking through the JavaDocs it appears that you can only turn it on and off, but not change things like ThreadPool size, etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In particular, we would like to increase the max number of threads from 10 in anticipation of a heavy load on Activiti.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tried the hint &lt;/SPAN&gt;&lt;A href="http://forums.activiti.org/en/viewtopic.php?f=6&amp;amp;t=2274&amp;amp;hilit=jobexecutor" rel="nofollow noopener noreferrer"&gt;outlined here&lt;/A&gt;&lt;SPAN&gt;, and it seems to work:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;((ProcessEngineImpl) engine).getProcessEngineConfiguration().getJobExecutor().setMaxPoolSize(threads);&lt;BR /&gt;((ProcessEngineImpl) engine).getProcessEngineConfiguration().getJobExecutor().setQueueSize(queueSize);&lt;BR /&gt;((ProcessEngineImpl) engine).getProcessEngineConfiguration().getJobExecutor().start();&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;but I would prefer to do this more cleanly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-dan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Dec 2011 20:57:28 GMT</pubDate>
    <dc:creator>blezek</dc:creator>
    <dc:date>2011-12-27T20:57:28Z</dc:date>
    <item>
      <title>Is it possible to configure JobExecutor?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/is-it-possible-to-configure-jobexecutor/m-p/58599#M35880</link>
      <description>Before I go off and implement some crazy thing, is it possible to configure the JobExecutor?&amp;nbsp; Looking through the JavaDocs it appears that you can only turn it on and off, but not change things like ThreadPool size, etc.In particular, we would like to increase the max number of threads from 10 in an</description>
      <pubDate>Tue, 27 Dec 2011 20:57:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/is-it-possible-to-configure-jobexecutor/m-p/58599#M35880</guid>
      <dc:creator>blezek</dc:creator>
      <dc:date>2011-12-27T20:57:28Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to configure JobExecutor?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/is-it-possible-to-configure-jobexecutor/m-p/58600#M35881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;these can be set in the config file as wel… If the entries are not already there, just figure out the correct bean names and properties.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Dec 2011 21:31:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/is-it-possible-to-configure-jobexecutor/m-p/58600#M35881</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2011-12-27T21:31:10Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to configure JobExecutor?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/is-it-possible-to-configure-jobexecutor/m-p/58601#M35882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;these can be set in the config file as wel… If the entries are not already there, just figure out the correct bean names and properties.&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;Ok, looks like this should be possible using Spring, which is good, however, we are embedding Activiti and wanted to have our code configure it.&amp;nbsp; This all works well, but not every method is available in the ProcessEngineConfiguration interface.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks much!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-dan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2011 16:12:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/is-it-possible-to-configure-jobexecutor/m-p/58601#M35882</guid>
      <dc:creator>blezek</dc:creator>
      <dc:date>2011-12-28T16:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to configure JobExecutor?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/is-it-possible-to-configure-jobexecutor/m-p/58602#M35883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If not everything is configurable, describe your usecase, creae a patch and file a jira…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Dec 2011 11:15:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/is-it-possible-to-configure-jobexecutor/m-p/58602#M35883</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2011-12-29T11:15:41Z</dc:date>
    </item>
  </channel>
</rss>

