aleksandr-m commented on code in PR #187:
URL: https://github.com/apache/struts-site/pull/187#discussion_r1123676674


##########
source/core-developers/execute-and-wait-interceptor.md:
##########
@@ -61,6 +65,21 @@ for obtaining and releasing resources that the background 
process will need to e
 background
 process extension, extend `ExecuteAndWaitInterceptor` and implement the 
`getNewBackgroundProcess()` method.
 
+## Using ExecutorProvider
+
+Since Struts 6.1.1 it is possible to use your own `ExecutorProvider` to run 
_background tasks_. To use your own executor
+you must implement interface 
`org.apache.struts2.interceptor.exec.ExecutorProvider` and install the bean 
using `struts.xml`
+like follows:
+
+```xml
+<bean type="org.apache.struts2.interceptor.exec.ExecutorProvider" 
+      class="com.company.MyExecutorProvider"/>
+```
+
+Please a take look into example implementation in the Showcase App.

Review Comment:
   Please take a look



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@struts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to