You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2021/02/25 06:29:44 UTC

[camel-examples] branch master updated: Use pooled exchange factory in this example

This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-examples.git


The following commit(s) were added to refs/heads/master by this push:
     new 1851acd  Use pooled exchange factory in this example
1851acd is described below

commit 1851acdc278e93947d786f44f8e15d74a7151780
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Thu Feb 25 07:13:44 2021 +0100

    Use pooled exchange factory in this example
---
 .../camel-example-main-tiny/src/main/resources/application.properties  | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/examples/camel-example-main-tiny/src/main/resources/application.properties b/examples/camel-example-main-tiny/src/main/resources/application.properties
index e88274c..800e93a 100644
--- a/examples/camel-example-main-tiny/src/main/resources/application.properties
+++ b/examples/camel-example-main-tiny/src/main/resources/application.properties
@@ -29,6 +29,9 @@ camel.main.beanIntrospectionLoggingLevel=INFO
 # run in lightweight mode to be tiny as possible
 camel.main.lightweight = true
 
+camel.main.exchange-factory = pooled
+camel.main.exchange-factory-statistics-enabled = true
+
 # can be used to not start the route
 # camel.main.auto-startup = false