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 2023/12/30 15:15:18 UTC

(camel) 21/25: CAMEL-19749: Add variables as concept to Camel

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

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

commit e079301501fe588969918efc276b9d9083df1464
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Sat Dec 30 14:06:39 2023 +0100

    CAMEL-19749: Add variables as concept to Camel
---
 .../org/apache/camel/impl/engine/DefaultVariableRepositoryFactory.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultVariableRepositoryFactory.java b/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultVariableRepositoryFactory.java
index 5353c4ac3fd..2190fc9242a 100644
--- a/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultVariableRepositoryFactory.java
+++ b/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultVariableRepositoryFactory.java
@@ -79,7 +79,8 @@ public class DefaultVariableRepositoryFactory extends ServiceSupport implements
     protected void doStart() throws Exception {
         super.doStart();
 
-        VariableRepository repo = CamelContextHelper.lookup(camelContext, GLOBAL_VARIABLE_REPOSITORY_ID, VariableRepository.class);
+        VariableRepository repo
+                = CamelContextHelper.lookup(camelContext, GLOBAL_VARIABLE_REPOSITORY_ID, VariableRepository.class);
         if (repo != null) {
             LOG.info("Using VariableRepository: {} as global repository", repo.getId());
             global = repo;