This is an automated email from the ASF dual-hosted git repository.
git-site-role pushed a commit to branch asf-staging
in repository https://gitbox.apache.org/repos/asf/struts-site.git
The following commit(s) were added to refs/heads/asf-staging by this push:
new 30b4dd40e Updates stage by Jenkins
30b4dd40e is described below
commit 30b4dd40eedf27433e669feafb6e1b2bf8888160
Author: jenkins <[email protected]>
AuthorDate: Sun Mar 26 12:20:29 2023 +0000
Updates stage by Jenkins
---
content/core-developers/execute-and-wait-interceptor.html | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/content/core-developers/execute-and-wait-interceptor.html
b/content/core-developers/execute-and-wait-interceptor.html
index 7e780851e..1aca01a79 100644
--- a/content/core-developers/execute-and-wait-interceptor.html
+++ b/content/core-developers/execute-and-wait-interceptor.html
@@ -206,17 +206,18 @@ process extension, extend <code class="language-plaintext
highlighter-rouge">Exe
<h2 id="using-executorprovider">Using ExecutorProvider</h2>
-<p>Since Struts 6.1.1 it is possible to use your own <code
class="language-plaintext highlighter-rouge">ExecutorProvider</code> to run
<em>background tasks</em>. To use your own executor
+<p>Since Struts 6.2.0 it is possible to use your own <code
class="language-plaintext highlighter-rouge">ExecutorProvider</code> to run
<em>background tasks</em>. To use your own executor
you must implement interface <code class="language-plaintext
highlighter-rouge">org.apache.struts2.interceptor.exec.ExecutorProvider</code>
and install the bean using <code class="language-plaintext
highlighter-rouge">struts.xml</code>
like follows:</p>
-<div class="language-xml highlighter-rouge"><div class="highlight"><pre
class="highlight"><code><span class="nt"><bean</span> <span
class="na">type=</span><span
class="s">"org.apache.struts2.interceptor.exec.ExecutorProvider"</span>
+<div class="language-xml highlighter-rouge"><div class="highlight"><pre
class="highlight"><code><span class="nt"><bean</span> <span
class="na">type=</span><span
class="s">"org.apache.struts2.interceptor.exec.ExecutorProvider"</span> <span
class="na">name=</span><span class="s">"myExecutor"</span>
<span class="na">class=</span><span
class="s">"com.company.MyExecutorProvider"</span><span class="nt">/></span>
-</code></pre></div></div>
-<p>Please take a look into example implementation in the Showcase App.</p>
+<span class="nt"><constant</span> <span class="na">name=</span><span
class="s">"struts.executor.provider"</span> <span class="na">value=</span><span
class="s">"muExecutor"</span><span class="nt">/></span>
+</code></pre></div></div>
-<p>If no custom executor is defined, Struts will use <code
class="language-plaintext
highlighter-rouge">org.apache.struts2.interceptor.exec.StrutsExecutorProvider</code>
by default.</p>
+<p>Please take a look into example implementation in the Showcase App. If no
custom executor has been defined,
+Struts will use <code class="language-plaintext
highlighter-rouge">org.apache.struts2.interceptor.exec.StrutsExecutorProvider</code>
by default.</p>
<h2 id="examples">Examples</h2>