You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2019/12/06 17:42:17 UTC

[camel] branch master updated: CAMEL-14263 - Added a TODO note about setProperties for configuration copy

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 9599748  CAMEL-14263 - Added a TODO note about setProperties for configuration copy
9599748 is described below

commit 95997481c29f54426cbe14859ee2b247235703aa
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Dec 6 18:41:45 2019 +0100

    CAMEL-14263 - Added a TODO note about setProperties for configuration copy
---
 .../main/java/org/apache/camel/component/sparkrest/SparkComponent.java   | 1 +
 1 file changed, 1 insertion(+)

diff --git a/components/camel-spark-rest/src/main/java/org/apache/camel/component/sparkrest/SparkComponent.java b/components/camel-spark-rest/src/main/java/org/apache/camel/component/sparkrest/SparkComponent.java
index 49e983f..6446d1c 100644
--- a/components/camel-spark-rest/src/main/java/org/apache/camel/component/sparkrest/SparkComponent.java
+++ b/components/camel-spark-rest/src/main/java/org/apache/camel/component/sparkrest/SparkComponent.java
@@ -204,6 +204,7 @@ public class SparkComponent extends DefaultComponent implements RestConsumerFact
     @Override
     protected Endpoint createEndpoint(String uri, String remaining, Map<String, Object> parameters) throws Exception {
         SparkConfiguration config = getSparkConfiguration().copy();
+        //TODO: we need to remove the usage of setProperties for populating the copy of the configuration
         setProperties(config, parameters);
 
         SparkEndpoint answer = new SparkEndpoint(uri, this);