You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2024/02/26 12:53:53 UTC
(camel) 05/14: CAMEL-20459: documentation fixes for the threads EIP.
This is an automated email from the ASF dual-hosted git repository.
orpiske pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
commit de8b122591de708b995ac0db7861d666a7379ecc
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Mon Feb 26 12:59:43 2024 +0100
CAMEL-20459: documentation fixes for the threads EIP.
---
.../src/main/docs/modules/eips/pages/threads-eip.adoc | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/core/camel-core-engine/src/main/docs/modules/eips/pages/threads-eip.adoc b/core/camel-core-engine/src/main/docs/modules/eips/pages/threads-eip.adoc
index 729e1d5c256..c3e82c3b9a8 100644
--- a/core/camel-core-engine/src/main/docs/modules/eips/pages/threads-eip.adoc
+++ b/core/camel-core-engine/src/main/docs/modules/eips/pages/threads-eip.adoc
@@ -12,7 +12,7 @@ image::eip/MessagingAdapterIcon.gif[image]
Submit the message to a thread pool, which then is responsible for the continued routing of the message.
-In Camel this is implemented as the Threads EIP.
+In Camel, this is implemented as the Threads EIP.
== Options
@@ -28,7 +28,7 @@ include::partial$eip-exchangeProperties.adoc[]
== Using Threads EIP
-The example below will add a Thread pool with a pool size of 5 threads before sending to mock:result.
+The example below will add a Thread pool with a pool size of five threads before sending to `mock:result`.
[tabs]
====
@@ -124,13 +124,13 @@ IMPORTANT: The reject policy options `Discard` and `DiscardOldest` is deprecated
=== Default values
The Threads EIP uses the default values from the default xref:manual:ROOT:threading-model.adoc[Thread Pool Profile].
-If the profile has not been altered, then the default profile are as follows:
+If the profile has not been altered, then the default profile is as follows:
[width="100%",cols="25%,25%,50%",options="header",]
|===
| Option | Default | Description
-| *poolSize* | `10` | Sets the default core pool size (threads to keep minimum in pool)
-| *keepAliveTime* | `60` | Sets the default keep alive time (in seconds) for inactive threads
+| *poolSize* | `10` | Sets the default core pool size (minimum number of threads to keep in pool)
+| *keepAliveTime* | `60` | Sets the default keep-alive time (in seconds) for inactive threads
| *maxPoolSize* | `20` | Sets the default maximum pool size
| *maxQueueSize* | `1000` | Sets the default maximum number of tasks in the work queue. Use -1 for an unbounded queue.
| *allowCoreThreadTimeOut* | `true` | Sets default whether to allow core threads to timeout