You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by lb...@apache.org on 2020/02/05 17:06:57 UTC

[camel-quarkus] branch camel-master updated (49ba9b0 -> 049dcd5)

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

lburgazzoli pushed a change to branch camel-master
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git.


    from 49ba9b0  Upgarde to Camel 3.1.0 - WIP (xml loader/dumper)
     new 1afd389  Upgarde to Camel 3.1.0 - WIP (xml loader/dumper)
     new 049dcd5  Update docs

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 docs/modules/ROOT/pages/list-of-camel-quarkus-extensions.adoc       | 2 +-
 .../camel/quarkus/core/DisabledXMLRoutesDefinitionLoader.java       | 6 ++++++
 extensions/readme.adoc                                              | 2 +-
 3 files changed, 8 insertions(+), 2 deletions(-)


[camel-quarkus] 02/02: Update docs

Posted by lb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 049dcd533ddf40b7226e8b891b8e2b38196b7319
Author: lburgazzoli <lb...@gmail.com>
AuthorDate: Wed Feb 5 18:06:38 2020 +0100

    Update docs
---
 docs/modules/ROOT/pages/list-of-camel-quarkus-extensions.adoc | 2 +-
 extensions/readme.adoc                                        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/modules/ROOT/pages/list-of-camel-quarkus-extensions.adoc b/docs/modules/ROOT/pages/list-of-camel-quarkus-extensions.adoc
index 75b11fb..d0cb331 100644
--- a/docs/modules/ROOT/pages/list-of-camel-quarkus-extensions.adoc
+++ b/docs/modules/ROOT/pages/list-of-camel-quarkus-extensions.adoc
@@ -258,7 +258,7 @@ Number of Camel languages: 9 in 3 JAR artifacts (0 deprecated)
 
 | link:https://camel.apache.org/components/latest/bean-language.html[Bean method] (camel-quarkus-bean) | 0.2.0 | To use a Java bean (aka method call) in Camel expressions or predicates.
 
-| link:https://camel.apache.org/components/latest/constant-language.html[Constant] (camel-quarkus-core) | 0.2.0 | To use a constant value in Camel expressions or predicates.
+| link:https://camel.apache.org/components/latest/constant-language.html[Constant] (camel-quarkus-core) | 0.2.0 | To use a constant value in Camel expressions or predicates. Important: this is a fixed constant value that is only set once during starting up the route, do not use this if you want dynamic values during routing.
 
 | link:https://camel.apache.org/components/latest/exchangeProperty-language.html[ExchangeProperty] (camel-quarkus-core) | 0.2.0 | To use a Camel Exchange property in expressions or predicates.
 
diff --git a/extensions/readme.adoc b/extensions/readme.adoc
index 1fc42d3..c3d17c5 100644
--- a/extensions/readme.adoc
+++ b/extensions/readme.adoc
@@ -247,7 +247,7 @@ Number of Camel languages: 9 in 3 JAR artifacts (0 deprecated)
 
 | link:https://camel.apache.org/components/latest/bean-language.html[Bean method] (camel-quarkus-bean) | 0.2.0 | To use a Java bean (aka method call) in Camel expressions or predicates.
 
-| link:https://camel.apache.org/components/latest/constant-language.html[Constant] (camel-quarkus-core) | 0.2.0 | To use a constant value in Camel expressions or predicates.
+| link:https://camel.apache.org/components/latest/constant-language.html[Constant] (camel-quarkus-core) | 0.2.0 | To use a constant value in Camel expressions or predicates. Important: this is a fixed constant value that is only set once during starting up the route, do not use this if you want dynamic values during routing.
 
 | link:https://camel.apache.org/components/latest/exchangeProperty-language.html[ExchangeProperty] (camel-quarkus-core) | 0.2.0 | To use a Camel Exchange property in expressions or predicates.
 


[camel-quarkus] 01/02: Upgarde to Camel 3.1.0 - WIP (xml loader/dumper)

Posted by lb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 1afd389444aa591961775634d56872623fd6046d
Author: lburgazzoli <lb...@gmail.com>
AuthorDate: Wed Feb 5 18:06:29 2020 +0100

    Upgarde to Camel 3.1.0 - WIP (xml loader/dumper)
---
 .../camel/quarkus/core/DisabledXMLRoutesDefinitionLoader.java       | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/extensions/core/runtime/src/main/java/org/apache/camel/quarkus/core/DisabledXMLRoutesDefinitionLoader.java b/extensions/core/runtime/src/main/java/org/apache/camel/quarkus/core/DisabledXMLRoutesDefinitionLoader.java
index 1fba95f..c38edc8 100644
--- a/extensions/core/runtime/src/main/java/org/apache/camel/quarkus/core/DisabledXMLRoutesDefinitionLoader.java
+++ b/extensions/core/runtime/src/main/java/org/apache/camel/quarkus/core/DisabledXMLRoutesDefinitionLoader.java
@@ -19,6 +19,7 @@ package org.apache.camel.quarkus.core;
 import java.io.InputStream;
 
 import org.apache.camel.CamelContext;
+import org.apache.camel.NamedNode;
 import org.apache.camel.spi.XMLRoutesDefinitionLoader;
 
 public class DisabledXMLRoutesDefinitionLoader implements XMLRoutesDefinitionLoader {
@@ -31,4 +32,9 @@ public class DisabledXMLRoutesDefinitionLoader implements XMLRoutesDefinitionLoa
     public Object loadRestsDefinition(CamelContext context, InputStream inputStream) throws Exception {
         throw new UnsupportedOperationException("Please add a dependency to camel-quarkus-core-xml");
     }
+
+    @Override
+    public <T extends NamedNode> T createModelFromXml(CamelContext context, String xml, Class<T> type) throws Exception {
+        throw new UnsupportedOperationException("Please add a dependency to camel-quarkus-core-xml");
+    }
 }