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 2024/02/03 11:43:09 UTC

(camel) 10/11: CAMEL-20378: Languages should be thread-safe and be configured only via properties array, all in the same way.

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

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

commit f3bf370e0362e4ac7bd1dc8bf47affea4dbb2d38
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Sat Feb 3 12:29:04 2024 +0100

    CAMEL-20378: Languages should be thread-safe and be configured only via properties array, all in the same way.
---
 .../main/java/org/apache/camel/catalog/impl/AbstractCamelCatalog.java    | 1 +
 1 file changed, 1 insertion(+)

diff --git a/core/camel-core-catalog/src/main/java/org/apache/camel/catalog/impl/AbstractCamelCatalog.java b/core/camel-core-catalog/src/main/java/org/apache/camel/catalog/impl/AbstractCamelCatalog.java
index 93ed919158a..acd2447db37 100644
--- a/core/camel-core-catalog/src/main/java/org/apache/camel/catalog/impl/AbstractCamelCatalog.java
+++ b/core/camel-core-catalog/src/main/java/org/apache/camel/catalog/impl/AbstractCamelCatalog.java
@@ -1455,6 +1455,7 @@ public abstract class AbstractCamelCatalog {
                     } else {
                         instance.getClass().getMethod("validateExpression", String.class).invoke(instance, text);
                     }
+                    return answer;
                 } catch (NoSuchMethodException e) {
                     // ignore
                 }