[GitHub] [camel-quarkus] ppalaga commented on a change in pull request #2108: CSimple NPE even if CSimple language is not used

2021-01-06 Thread GitBox


ppalaga commented on a change in pull request #2108:
URL: https://github.com/apache/camel-quarkus/pull/2108#discussion_r553151651



##
File path: docs/modules/ROOT/pages/reference/extensions/csimple.adoc
##
@@ -0,0 +1,56 @@
+// Do not edit directly!
+// This file was generated by 
camel-quarkus-maven-plugin:update-extension-doc-page
+= CSimple
+:cq-artifact-id: camel-quarkus-csimple
+:cq-native-supported: true
+:cq-status: Stable
+:cq-description: Aggregation repository using csimple as datastore
+:cq-deprecated: false
+:cq-jvm-since: 1.5.0
+:cq-native-since: 1.5.0
+
+[.badges]
+[.badge-key]##JVM since##[.badge-supported]##1.5.0## [.badge-key]##Native 
since##[.badge-supported]##1.5.0##
+
+Aggregation repository using csimple as datastore

Review comment:
   Good catch, thanks!





This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [camel-spring-boot] oscerd merged pull request #254: [Github Actions] Periodic Sync Camel Spring Boot Master Branch

2021-01-06 Thread GitBox


oscerd merged pull request #254:
URL: https://github.com/apache/camel-spring-boot/pull/254


   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[camel-spring-boot] branch master updated: [create-pull-request] automated change

2021-01-06 Thread acosentino
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-spring-boot.git


The following commit(s) were added to refs/heads/master by this push:
 new e4e4019  [create-pull-request] automated change
e4e4019 is described below

commit e4e4019f26c7b6d16c303f6dca6f824aa9382c01
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Thu Jan 7 00:55:13 2021 +

[create-pull-request] automated change
---
 .../org/apache/camel/springboot/catalog/components/activemq.json  | 4 ++--
 .../org/apache/camel/springboot/catalog/components/amqp.json  | 4 ++--
 .../camel-activemq-starter/src/main/docs/activemq-starter.adoc| 2 +-
 .../component/activemq/springboot/ActiveMQComponentConfiguration.java | 2 +-
 components-starter/camel-amqp-starter/src/main/docs/amqp-starter.adoc | 2 +-
 .../camel/component/amqp/springboot/AMQPComponentConfiguration.java   | 2 +-
 docs/modules/ROOT/pages/activemq-starter.adoc | 2 +-
 docs/modules/ROOT/pages/amqp-starter.adoc | 2 +-
 8 files changed, 10 insertions(+), 10 deletions(-)

diff --git 
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/activemq.json
 
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/activemq.json
index 2e7e9b7..25b2230 100644
--- 
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/activemq.json
+++ 
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/activemq.json
@@ -60,7 +60,7 @@
 "formatDateHeadersToIso8601": { "kind": "property", "displayName": "Format 
Date Headers To Iso8601", "group": "producer", "label": "producer", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": false, 
"configurationClass": "org.apache.camel.component.jms.JmsConfiguration", 
"configurationField": "configuration", "description": "Sets whether JMS date 
properties should be formatted according to the ISO 8 [...]
 "lazyStartProducer": { "kind": "property", "displayName": "Lazy Start 
Producer", "group": "producer", "label": "producer", "required": false, "type": 
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": false, "description": "Whether the producer 
should be started lazy (on the first message). By starting lazy you can use 
this to allow CamelContext and routes to startup in situations where a producer 
may otherwise fail during star [...]
 "preserveMessageQos": { "kind": "property", "displayName": "Preserve 
Message Qos", "group": "producer", "label": "producer", "required": false, 
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": 
false, "secret": false, "defaultValue": false, "configurationClass": 
"org.apache.camel.component.jms.JmsConfiguration", "configurationField": 
"configuration", "description": "Set to true, if you want to send message using 
the QoS settings specified on the message, ins [...]
-"priority": { "kind": "property", "displayName": "Priority", "group": 
"producer", "label": "producer", "required": false, "type": "integer", 
"javaType": "int", "enum": [ "1", "2", "3", "4", "5", "6", "7", "8", "9" ], 
"deprecated": false, "autowired": false, "secret": false, "defaultValue": 4, 
"configurationClass": "org.apache.camel.component.jms.JmsConfiguration", 
"configurationField": "configuration", "description": "Values greater than 1 
specify the message priority when sending (w [...]
+"priority": { "kind": "property", "displayName": "Priority", "group": 
"producer", "label": "producer", "required": false, "type": "integer", 
"javaType": "int", "enum": [ "1", "2", "3", "4", "5", "6", "7", "8", "9" ], 
"deprecated": false, "autowired": false, "secret": false, "defaultValue": 4, 
"configurationClass": "org.apache.camel.component.jms.JmsConfiguration", 
"configurationField": "configuration", "description": "Values greater than 1 
specify the message priority when sending (w [...]
 "replyToConcurrentConsumers": { "kind": "property", "displayName": "Reply 
To Concurrent Consumers", "group": "producer", "label": "producer", "required": 
false, "type": "integer", "javaType": "int", "deprecated": false, "autowired": 
false, "secret": false, "defaultValue": 1, "configurationClass": 
"org.apache.camel.component.jms.JmsConfiguration", "configurationField": 
"configuration", "description": "Specifies the default number of concurrent 
consumers when doing request\/reply over  [...]
 "replyToMaxConcurrentConsumers": { "kind": "property", "displayName": 
"Reply To Max Concurrent Consumers", "group": "producer", "label": "produ

[camel] branch master updated: Regen

2021-01-06 Thread davsclaus
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.git


The following commit(s) were added to refs/heads/master by this push:
 new 5d587f3  Regen
5d587f3 is described below

commit 5d587f3f9e6e5f1c54c9206790b794da3bec11ba
Author: Claus Ibsen 
AuthorDate: Thu Jan 7 06:47:05 2021 +0100

Regen
---
 .../org/apache/camel/catalog/components/sjms.json  | 25 --
 .../org/apache/camel/catalog/components/sjms2.json | 25 --
 .../main/camel-main-configuration-metadata.json|  1 -
 docs/components/modules/others/pages/main.adoc |  1 -
 4 files changed, 18 insertions(+), 34 deletions(-)

diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/sjms.json
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/sjms.json
index 9e065f0..480464c 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/sjms.json
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/sjms.json
@@ -22,8 +22,7 @@
 "lenientProperties": false
   },
   "componentProperties": {
-"connectionCount": { "kind": "property", "displayName": "Connection 
Count", "group": "common", "label": "", "required": false, "type": "integer", 
"javaType": "java.lang.Integer", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": "1", "description": "The maximum number of 
connections available to endpoints started under this component" },
-"connectionFactory": { "kind": "property", "displayName": "Connection 
Factory", "group": "common", "label": "common", "required": false, "type": 
"object", "javaType": "javax.jms.ConnectionFactory", "deprecated": false, 
"autowired": true, "secret": false, "description": "A ConnectionFactory is 
required to enable the SjmsComponent. It can be set directly or set set as part 
of a ConnectionResource." },
+"connectionFactory": { "kind": "property", "displayName": "Connection 
Factory", "group": "common", "label": "common", "required": false, "type": 
"object", "javaType": "javax.jms.ConnectionFactory", "deprecated": false, 
"autowired": true, "secret": false, "description": "The connection factory to 
be use. A connection factory must be configured either on the component or 
endpoint." },
 "bridgeErrorHandler": { "kind": "property", "displayName": "Bridge Error 
Handler", "group": "consumer", "label": "consumer", "required": false, "type": 
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": false, "description": "Allows for bridging the 
consumer to the Camel routing Error Handler, which mean any exceptions occurred 
while the consumer is trying to pickup incoming messages, or the likes, will 
now be processed as a me [...]
 "lazyStartProducer": { "kind": "property", "displayName": "Lazy Start 
Producer", "group": "producer", "label": "producer", "required": false, "type": 
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": false, "description": "Whether the producer 
should be started lazy (on the first message). By starting lazy you can use 
this to allow CamelContext and routes to startup in situations where a producer 
may otherwise fail during star [...]
 "autowiredEnabled": { "kind": "property", "displayName": "Autowired 
Enabled", "group": "advanced", "label": "advanced", "required": false, "type": 
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": true, "description": "Whether autowiring is 
enabled. This is used for automatic autowiring options (the option must be 
marked as autowired) by looking up in the registry to find if there is a single 
instance of matching type, which t [...]
@@ -33,22 +32,22 @@
 "recoveryInterval": { "kind": "property", "displayName": "Recovery 
Interval", "group": "advanced", "label": "advanced", "required": false, "type": 
"duration", "javaType": "long", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": "5000", "description": "Specifies the interval 
between recovery attempts, i.e. when a connection is being refreshed, in 
milliseconds. The default is 5000 ms, that is, 5 seconds." },
 "replyToOnTimeoutMaxConcurrentConsumers": { "kind": "property", 
"displayName": "Reply To On Timeout Max Concurrent Consumers", "group": 
"advanced", "label": "advanced", "required": false, "type": "integer", 
"javaType": "int", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": 1, "description": "Specifies the maximum number of concurrent 
consumers for continue routing when timeout occurred when using request\/reply 
over JMS." },
 "requestTimeoutCheckerInterval": { "kind": "property", "displayName": 
"Request Timeout Checker 

[GitHub] [camel-quarkus] davsclaus commented on a change in pull request #2108: CSimple NPE even if CSimple language is not used

2021-01-06 Thread GitBox


davsclaus commented on a change in pull request #2108:
URL: https://github.com/apache/camel-quarkus/pull/2108#discussion_r553120203



##
File path: docs/modules/ROOT/pages/reference/extensions/csimple.adoc
##
@@ -0,0 +1,56 @@
+// Do not edit directly!
+// This file was generated by 
camel-quarkus-maven-plugin:update-extension-doc-page
+= CSimple
+:cq-artifact-id: camel-quarkus-csimple
+:cq-native-supported: true
+:cq-status: Stable
+:cq-description: Aggregation repository using csimple as datastore
+:cq-deprecated: false
+:cq-jvm-since: 1.5.0
+:cq-native-since: 1.5.0
+
+[.badges]
+[.badge-key]##JVM since##[.badge-supported]##1.5.0## [.badge-key]##Native 
since##[.badge-supported]##1.5.0##
+
+Aggregation repository using csimple as datastore

Review comment:
   I think this description is not correct





This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[camel-karaf] branch automatic-periodic-sync updated (b25a185 -> 488fbc3)

2021-01-06 Thread github-bot
This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a change to branch automatic-periodic-sync
in repository https://gitbox.apache.org/repos/asf/camel-karaf.git.


from b25a185  Upgrade Azure Checkpointstore blob bundle to version 1.3.1_1
 add 488fbc3  CAMEL-15995: camel-sjms - Make it more feature compatible 
with camel-jms

No new revisions were added by this update.

Summary of changes:
 platforms/karaf/features/src/main/resources/features.xml | 2 --
 1 file changed, 2 deletions(-)



[GitHub] [camel-spring-boot] github-actions[bot] opened a new pull request #254: [Github Actions] Periodic Sync Camel Spring Boot Master Branch

2021-01-06 Thread GitBox


github-actions[bot] opened a new pull request #254:
URL: https://github.com/apache/camel-spring-boot/pull/254


   Periodic Sync of Camel Spring Boot Master Branch with main Camel Master.
   see 
https://github.com/apache/camel-spring-boot/blob/master/.github/workflows/automatic-sync-master.yml



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[camel-spring-boot] branch automatic-periodic-sync created (now 3aa5c5a)

2021-01-06 Thread github-bot
This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a change to branch automatic-periodic-sync
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git.


  at 3aa5c5a  [create-pull-request] automated change

No new revisions were added by this update.



[camel] branch master updated: Make the sensitive string check easier to reuse so that we can eval and filter them (#4834)

2021-01-06 Thread orpiske
This is an automated email from the ASF dual-hosted git repository.

orpiske 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 f7b12e8  Make the sensitive string check easier to reuse so that we 
can eval and filter them (#4834)
f7b12e8 is described below

commit f7b12e8f0980e07830b2ad261c2349adc47d056c
Author: Otavio Rodolfo Piske 
AuthorDate: Wed Jan 6 21:18:49 2021 +0100

Make the sensitive string check easier to reuse so that we can eval and 
filter them (#4834)
---
 .../org/apache/camel/main/BaseMainSupport.java | 12 ++--
 .../java/org/apache/camel/util/SensitiveUtils.java | 34 ++
 .../org/apache/camel/util/SensitiveUtilsTest.java  | 32 
 3 files changed, 69 insertions(+), 9 deletions(-)

diff --git 
a/core/camel-main/src/main/java/org/apache/camel/main/BaseMainSupport.java 
b/core/camel-main/src/main/java/org/apache/camel/main/BaseMainSupport.java
index 62bf76f..1eb9f1d 100644
--- a/core/camel-main/src/main/java/org/apache/camel/main/BaseMainSupport.java
+++ b/core/camel-main/src/main/java/org/apache/camel/main/BaseMainSupport.java
@@ -21,7 +21,6 @@ import java.io.FileInputStream;
 import java.io.InputStream;
 import java.lang.reflect.Method;
 import java.util.ArrayList;
-import java.util.Arrays;
 import java.util.Collections;
 import java.util.HashMap;
 import java.util.LinkedHashMap;
@@ -62,6 +61,7 @@ import org.apache.camel.util.IOHelper;
 import org.apache.camel.util.ObjectHelper;
 import org.apache.camel.util.OrderedProperties;
 import org.apache.camel.util.PropertiesHelper;
+import org.apache.camel.util.SensitiveUtils;
 import org.apache.camel.util.StringHelper;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
@@ -87,9 +87,6 @@ public abstract class BaseMainSupport extends BaseService {
 
 private static final Logger LOG = 
LoggerFactory.getLogger(BaseMainSupport.class);
 
-private static final String SENSITIVE_KEYS
-= 
"passphrase|password|secretkey|accesstoken|clientsecret|authorizationtoken|sasljaasconfig";
-
 protected volatile CamelContext camelContext;
 
 protected final List listeners = new ArrayList<>();
@@ -434,9 +431,7 @@ public abstract class BaseMainSupport extends BaseService {
 if (mainConfigurationProperties.isAutoConfigurationLogSummary() && 
!autoConfiguredProperties.isEmpty()) {
 LOG.info("Auto-configuration summary:");
 autoConfiguredProperties.forEach((k, v) -> {
-boolean sensitive
-= 
Arrays.stream(SENSITIVE_KEYS.split("\\|")).anyMatch(s -> 
k.toLowerCase(Locale.ENGLISH).contains(s));
-if (sensitive) {
+if (SensitiveUtils.containsSensitive(k)) {
 LOG.info("\t{}=xx", k);
 } else {
 LOG.info("\t{}={}", k, v);
@@ -1201,8 +1196,7 @@ public abstract class BaseMainSupport extends BaseService 
{
 if (mainConfigurationProperties.isAutoConfigurationLogSummary() && 
!autoConfiguredProperties.isEmpty()) {
 LOG.info("Auto-configuration component {} summary:", name);
 autoConfiguredProperties.forEach((k, v) -> {
-boolean sensitive = 
SENSITIVE_KEYS.contains(k.toLowerCase(Locale.ENGLISH));
-if (sensitive) {
+if (SensitiveUtils.containsSensitive(k)) {
 LOG.info("\t{}=xx", k);
 } else {
 LOG.info("\t{}={}", k, v);
diff --git 
a/core/camel-util/src/main/java/org/apache/camel/util/SensitiveUtils.java 
b/core/camel-util/src/main/java/org/apache/camel/util/SensitiveUtils.java
new file mode 100644
index 000..9854fec
--- /dev/null
+++ b/core/camel-util/src/main/java/org/apache/camel/util/SensitiveUtils.java
@@ -0,0 +1,34 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.camel.util;
+
+import java.util.Arrays;
+import java.util.Locale;
+
+public final class SensitiveUtils {
+public static final String SENSITIVE_KEYS
+= 
"passphrase|password|secretkey|acce

[GitHub] [camel] orpiske merged pull request #4834: Make the sensitive string check easier to reuse so that we can eval and filter them

2021-01-06 Thread GitBox


orpiske merged pull request #4834:
URL: https://github.com/apache/camel/pull/4834


   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [camel-quarkus] ppalaga opened a new pull request #2108: CSimple NPE even if CSimple language is not used

2021-01-06 Thread GitBox


ppalaga opened a new pull request #2108:
URL: https://github.com/apache/camel-quarkus/pull/2108


   Fix #2103



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [camel] orpiske opened a new pull request #4834: Make the sensitive string check easier to reuse so that we can eval and filter them

2021-01-06 Thread GitBox


orpiske opened a new pull request #4834:
URL: https://github.com/apache/camel/pull/4834


   This should simplify identify and filtering sensitive strings and resolve 
issues like apache/camel-kafka-connector#159
   
   - [x] Make sure there is a [JIRA 
issue](https://issues.apache.org/jira/browse/CAMEL) filed for the change 
(usually before you start working on it).  Trivial changes like typos do not 
require a JIRA issue.  Your pull request should address just this issue, 
without pulling in other changes.
   - [x] Each commit in the pull request should have a meaningful subject line 
and body.
   - [x] If you're unsure, you can format the pull request title like 
`[CAMEL-XXX] Fixes bug in camel-file component`, where you replace `CAMEL-XXX` 
with the appropriate JIRA issue.
   - [x] Write a pull request description that is detailed enough to understand 
what the pull request does, how, and why.
   - [x] Run `mvn clean install -Psourcecheck` in your module with source check 
enabled to make sure basic checks pass and there are no checkstyle violations. 
A more thorough check will be performed on your pull request automatically.
   Below are the contribution guidelines:
   https://github.com/apache/camel/blob/master/CONTRIBUTING.md



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [camel-quarkus] aldettinger commented on issue #2107: Redis native support

2021-01-06 Thread GitBox


aldettinger commented on issue #2107:
URL: https://github.com/apache/camel-quarkus/issues/2107#issuecomment-755377120


   camel-redis uses [Reddisson](https://github.com/redisson/redisson) under the 
hood, it's not quarkus native friendly.
   It would need a solution to manage or disable [netty native 
transport](https://netty.io/wiki/native-transports.html).



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [camel-k] lancerdima opened a new issue #1882: Can't use Kamelets from Integration yaml resources

2021-01-06 Thread GitBox


lancerdima opened a new issue #1882:
URL: https://github.com/apache/camel-k/issues/1882


   Using code from documentation as a guiding point 
(https://camel.apache.org/camel-k/latest/architecture/sources.html).
   
   I create integration as k8s yaml resources and run it directly by applying 
to k8s cluster, without the help of kamel CLI.
   I want to use kamelets to enable reuse of my connectivity points.
   Integration fails to start, due to error: `unable to find an 
EndpointUriFactory for scheme kamelet`
   k8s cluster (local docker desktop) has v1.3 camelK runtime.
   
    kamelet.yaml
   ```
   apiVersion: camel.apache.org/v1alpha1
   kind: Kamelet
   metadata:
 name: timer-source
 labels:
   camel.apache.org/kamelet.type: "source"
   spec:
 definition:
   title: "Timer"
   description: "Produces periodic events with a custom payload"
   required:
 - message
   properties:
 payload:
   title: Payload
   description: The message to generate as payload of each Cloudevent
   type: string
   
 types:
   out:
 mediaType: text/plain
   
 flow:
   from:
 uri: timer:kameletTimer
 parameters:
   fixedRate: true
   period: 1000
 steps:
   - log: "{{message}}"
   - to: "kamelet:sink"
   
   ```
   
    integration.yaml
   ```
   apiVersion: camel.apache.org/v1
   kind: Integration
   metadata:
 name: timer-integration
   spec:
 flows:
   - from:
   uri: kamelet:timer-source
   parameters:
 payload: "Hello World"
   steps:
 - log: "${body}"
   
   ```
   
   Integration fails to start with error:
   ```
   2021-01-06 15:25:49,298 ERROR [org.apa.cam.qua.mai.CamelMainRuntime] (main) 
Failed to start application: java.lang.IllegalArgumentException: Cannot compute 
endpoint URI: unable to find an EndpointUriFactory for scheme kamelet
at 
org.apache.camel.k.loader.yaml.support.StepParserSupport.getEndpointUriFactory(StepParserSupport.java:121)
at 
org.apache.camel.k.loader.yaml.support.StepParserSupport.createEndpointUri(StepParserSupport.java:84)
at 
org.apache.camel.k.loader.yaml.parser.FromStepParser.process(FromStepParser.java:39)
at 
org.apache.camel.k.loader.yaml.spi.StartStepParser.invoke(StartStepParser.java:28)
at 
org.apache.camel.k.loader.yaml.YamlSourceLoader$1.accept(YamlSourceLoader.java:80)
at 
org.apache.camel.k.loader.yaml.YamlSourceLoader$1.accept(YamlSourceLoader.java:76)
at 
org.apache.camel.k.support.RouteBuilders$3.configure(RouteBuilders.java:57)
at 
org.apache.camel.builder.RouteBuilder.checkInitialized(RouteBuilder.java:483)
at 
org.apache.camel.builder.RouteBuilder.configureRoutes(RouteBuilder.java:430)
at 
org.apache.camel.builder.RouteBuilder.addRoutesToCamelContext(RouteBuilder.java:405)
at 
org.apache.camel.impl.engine.AbstractCamelContext.addRoutes(AbstractCamelContext.java:1110)
at 
org.apache.camel.main.RoutesConfigurer.configureRoutes(RoutesConfigurer.java:94)
at 
org.apache.camel.main.BaseMainSupport.configureRoutes(BaseMainSupport.java:454)
at 
org.apache.camel.main.BaseMainSupport.postProcessCamelContext(BaseMainSupport.java:474)
at 
org.apache.camel.quarkus.main.CamelMain.initCamelContext(CamelMain.java:97)
at org.apache.camel.quarkus.main.CamelMain.doInit(CamelMain.java:67)
at 
org.apache.camel.support.service.BaseService.init(BaseService.java:83)
at 
org.apache.camel.quarkus.main.CamelMain.startEngine(CamelMain.java:118)
at 
org.apache.camel.quarkus.main.CamelMainRuntime.start(CamelMainRuntime.java:49)
at 
org.apache.camel.quarkus.core.CamelBootstrapRecorder.start(CamelBootstrapRecorder.java:45)
at 
io.quarkus.deployment.steps.CamelBootstrapProcessor$boot-173480958.deploy_0(CamelBootstrapProcessor$boot-173480958.zig:101)
at 
io.quarkus.deployment.steps.CamelBootstrapProcessor$boot-173480958.deploy(CamelBootstrapProcessor$boot-173480958.zig:40)
at io.quarkus.runner.ApplicationImpl.doStart(ApplicationImpl.zig:534)
at io.quarkus.runtime.Application.start(Application.java:90)
at 
io.quarkus.runtime.ApplicationLifecycleManager.run(ApplicationLifecycleManager.java:97)
at io.quarkus.runtime.Quarkus.run(Quarkus.java:62)
at io.quarkus.runtime.Quarkus.run(Quarkus.java:38)
at io.quarkus.runtime.Quarkus.run(Quarkus.java:104)
at io.quarkus.runner.GeneratedMain.main(GeneratedMain.zig:29)
   ```
   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [camel-quarkus] aldettinger opened a new issue #2107: Redis native support

2021-01-06 Thread GitBox


aldettinger opened a new issue #2107:
URL: https://github.com/apache/camel-quarkus/issues/2107


   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [camel-quarkus] aldettinger opened a new pull request #2106: Added Redis Aggregation Repository support in JVM mode only #2085

2021-01-06 Thread GitBox


aldettinger opened a new pull request #2106:
URL: https://github.com/apache/camel-quarkus/pull/2106


   [ ] An issue should be filed for the change unless this is a trivial change 
(fixing a typo or similar). One issue should ideally be fixed by not more than 
one commit and the other way round, each commit should fix just one issue, 
without pulling in other changes.
   [ ] Each commit in the pull request should have a meaningful and properly 
spelled subject line and body. Copying the title of the associated issue is 
typically enough. Please include the issue number in the commit message 
prefixed by #.
   [ ] The pull request description should explain what the pull request does, 
how, and why. If the info is available in the associated issue or some other 
external document, a link is enough.
   [ ] Phrases like Fix # or Fixes # will auto-close 
the named issue upon merging the pull request. Using them is typically a good 
idea.
   [ ] Please run mvn process-resources -Pformat (and amend the changes if 
necessary) before sending the pull request.
   [ ] Contributor guide is your good friend: 
https://camel.apache.org/camel-quarkus/latest/contributor-guide.html
   
   JVM only as Redisson seems not quarkus native friendly, I'm opening a follow 
up.



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[camel] branch master updated: Update ResourceBasedSSHKeyVerifier.java

2021-01-06 Thread acosentino
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 d877c47  Update ResourceBasedSSHKeyVerifier.java
d877c47 is described below

commit d877c47b4ddb4134e0bf665103ada28ca5aaa400
Author: hemangajmera 
AuthorDate: Wed Jan 6 20:54:47 2021 +0530

Update ResourceBasedSSHKeyVerifier.java

Fixed the typo
---
 .../org/apache/camel/component/ssh/ResourceBasedSSHKeyVerifier.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/components/camel-ssh/src/main/java/org/apache/camel/component/ssh/ResourceBasedSSHKeyVerifier.java
 
b/components/camel-ssh/src/main/java/org/apache/camel/component/ssh/ResourceBasedSSHKeyVerifier.java
index 2108ebd..1c6c25e 100644
--- 
a/components/camel-ssh/src/main/java/org/apache/camel/component/ssh/ResourceBasedSSHKeyVerifier.java
+++ 
b/components/camel-ssh/src/main/java/org/apache/camel/component/ssh/ResourceBasedSSHKeyVerifier.java
@@ -67,7 +67,7 @@ public class ResourceBasedSSHKeyVerifier implements 
ServerKeyVerifier {
 knownHostsInputStream = 
ResourceHelper.resolveMandatoryResourceAsInputStream(camelContext,
 knownHostsResource);
 List possibleTokens = 
getKnownHostsFileTokensForSocketAddress(remoteAddress);
-log.debug("Trying to mach PublicKey against provided known_hosts 
file");
+log.debug("Trying to match PublicKey against provided known_hosts 
file");
 PublicKey matchingKey = 
findKeyForServerToken(knownHostsInputStream, possibleTokens);
 if (matchingKey != null) {
 log.debug("Found PublicKey match for server");



[GitHub] [camel] oscerd merged pull request #4833: Update ResourceBasedSSHKeyVerifier.java

2021-01-06 Thread GitBox


oscerd merged pull request #4833:
URL: https://github.com/apache/camel/pull/4833


   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [camel] hemangajmera opened a new pull request #4833: Update ResourceBasedSSHKeyVerifier.java

2021-01-06 Thread GitBox


hemangajmera opened a new pull request #4833:
URL: https://github.com/apache/camel/pull/4833


   Fixed the typo
   
   - [ ] Make sure there is a [JIRA 
issue](https://issues.apache.org/jira/browse/CAMEL) filed for the change 
(usually before you start working on it).  Trivial changes like typos do not 
require a JIRA issue.  Your pull request should address just this issue, 
without pulling in other changes.
   - [ ] Each commit in the pull request should have a meaningful subject line 
and body.
   - [ ] If you're unsure, you can format the pull request title like 
`[CAMEL-XXX] Fixes bug in camel-file component`, where you replace `CAMEL-XXX` 
with the appropriate JIRA issue.
   - [ ] Write a pull request description that is detailed enough to understand 
what the pull request does, how, and why.
   - [ ] Run `mvn clean install -Psourcecheck` in your module with source check 
enabled to make sure basic checks pass and there are no checkstyle violations. 
A more thorough check will be performed on your pull request automatically.
   Below are the contribution guidelines:
   https://github.com/apache/camel/blob/master/CONTRIBUTING.md



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [camel-quarkus] zbendhiba commented on issue #2094: Add more integration tests for camel-hazelcast extension

2021-01-06 Thread GitBox


zbendhiba commented on issue #2094:
URL: https://github.com/apache/camel-quarkus/issues/2094#issuecomment-755361595


   HazelcastAggregationRepository and ReplicatedHazelcastAggregationRepository 
integration tests will be added in 
[camel-quarkus-2101](https://github.com/apache/camel-quarkus/issues/2101)



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[camel-spring-boot] branch camel-spring-boot-3.7.x updated: CAMEL-15999: Fix -starter JARs for components that would register a spring converter from string to object which causes property placeholder

2021-01-06 Thread davsclaus
This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch camel-spring-boot-3.7.x
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git


The following commit(s) were added to refs/heads/camel-spring-boot-3.7.x by 
this push:
 new d92acc9  CAMEL-15999: Fix -starter JARs for components that would 
register a spring converter from string to object which causes property 
placeholder to not work.
d92acc9 is described below

commit d92acc971c6877a65c26c0e0f615ad07206d88ea
Author: Claus Ibsen 
AuthorDate: Wed Jan 6 15:48:42 2021 +0100

CAMEL-15999: Fix -starter JARs for components that would register a spring 
converter from string to object which causes property placeholder to not work.
---
 .../atomix/client/map/springboot/AtomixMapComponentConverter.java | 2 --
 .../client/multimap/springboot/AtomixMultiMapComponentConverter.java  | 2 --
 .../caffeine/cache/springboot/CaffeineCacheComponentConverter.java| 2 --
 .../caffeine/load/springboot/CaffeineLoadCacheComponentConverter.java | 2 --
 .../camel/component/ehcache/springboot/EhcacheComponentConverter.java | 2 --
 .../ignite/cache/springboot/IgniteCacheComponentConverter.java| 2 --
 .../ignite/compute/springboot/IgniteComputeComponentConverter.java| 2 --
 .../ignite/events/springboot/IgniteEventsComponentConverter.java  | 2 --
 .../ignite/idgen/springboot/IgniteIdGenComponentConverter.java| 2 --
 .../messaging/springboot/IgniteMessagingComponentConverter.java   | 2 --
 .../ignite/queue/springboot/IgniteQueueComponentConverter.java| 2 --
 .../component/ignite/set/springboot/IgniteSetComponentConverter.java  | 2 --
 .../component/infinispan/springboot/InfinispanComponentConverter.java | 2 --
 .../component/undertow/springboot/UndertowComponentConverter.java | 2 --
 .../xmlsecurity/springboot/XmlVerifierComponentConverter.java | 2 --
 .../camel/springboot/maven/SpringBootAutoConfigurationMojo.java   | 4 
 16 files changed, 4 insertions(+), 30 deletions(-)

diff --git 
a/components-starter/camel-atomix-starter/src/main/java/org/apache/camel/component/atomix/client/map/springboot/AtomixMapComponentConverter.java
 
b/components-starter/camel-atomix-starter/src/main/java/org/apache/camel/component/atomix/client/map/springboot/AtomixMapComponentConverter.java
index c8cfa00..23bf4be 100644
--- 
a/components-starter/camel-atomix-starter/src/main/java/org/apache/camel/component/atomix/client/map/springboot/AtomixMapComponentConverter.java
+++ 
b/components-starter/camel-atomix-starter/src/main/java/org/apache/camel/component/atomix/client/map/springboot/AtomixMapComponentConverter.java
@@ -42,7 +42,6 @@ public class AtomixMapComponentConverter
 Set answer = new LinkedHashSet<>();
 answer.add(new ConvertiblePair(String.class, io.atomix.Atomix.class));
 answer.add(new ConvertiblePair(String.class, 
org.apache.camel.component.atomix.client.map.AtomixMapConfiguration.class));
-answer.add(new ConvertiblePair(String.class, java.lang.Object.class));
 answer.add(new ConvertiblePair(String.class, 
java.util.Properties.class));
 return answer;
 }
@@ -62,7 +61,6 @@ public class AtomixMapComponentConverter
 switch (targetType.getName()) {
 case "io.atomix.Atomix": return 
camelContext.getRegistry().lookupByNameAndType(ref, io.atomix.Atomix.class);
 case 
"org.apache.camel.component.atomix.client.map.AtomixMapConfiguration": return 
camelContext.getRegistry().lookupByNameAndType(ref, 
org.apache.camel.component.atomix.client.map.AtomixMapConfiguration.class);
-case "java.lang.Object": return 
camelContext.getRegistry().lookupByNameAndType(ref, java.lang.Object.class);
 case "java.util.Properties": return 
camelContext.getRegistry().lookupByNameAndType(ref, java.util.Properties.class);
 }
 return null;
diff --git 
a/components-starter/camel-atomix-starter/src/main/java/org/apache/camel/component/atomix/client/multimap/springboot/AtomixMultiMapComponentConverter.java
 
b/components-starter/camel-atomix-starter/src/main/java/org/apache/camel/component/atomix/client/multimap/springboot/AtomixMultiMapComponentConverter.java
index 259b02b..49f7432 100644
--- 
a/components-starter/camel-atomix-starter/src/main/java/org/apache/camel/component/atomix/client/multimap/springboot/AtomixMultiMapComponentConverter.java
+++ 
b/components-starter/camel-atomix-starter/src/main/java/org/apache/camel/component/atomix/client/multimap/springboot/AtomixMultiMapComponentConverter.java
@@ -42,7 +42,6 @@ public class AtomixMultiMapComponentConverter
 Set answer = new LinkedHashSet<>();
 answer.add(new ConvertiblePair(String.class, io.atomix.Atomix.class));
 answer.add(new ConvertiblePair(String.class, 
org.apache.camel.component.atomix.client.multimap.AtomixMultiMapConfiguration.class));
-answer.add(new ConvertiblePair(

[camel-spring-boot] branch master updated: CAMEL-15999: Fix -starter JARs for components that would register a spring converter from string to object which causes property placeholder to not work.

2021-01-06 Thread davsclaus
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-spring-boot.git


The following commit(s) were added to refs/heads/master by this push:
 new dfd45c6  CAMEL-15999: Fix -starter JARs for components that would 
register a spring converter from string to object which causes property 
placeholder to not work.
dfd45c6 is described below

commit dfd45c69120fac3a8c4ba16c9a07e7257d2f58ad
Author: Claus Ibsen 
AuthorDate: Wed Jan 6 15:48:42 2021 +0100

CAMEL-15999: Fix -starter JARs for components that would register a spring 
converter from string to object which causes property placeholder to not work.
---
 .../atomix/client/map/springboot/AtomixMapComponentConverter.java | 2 --
 .../client/multimap/springboot/AtomixMultiMapComponentConverter.java  | 2 --
 .../caffeine/cache/springboot/CaffeineCacheComponentConverter.java| 2 --
 .../caffeine/load/springboot/CaffeineLoadCacheComponentConverter.java | 2 --
 .../camel/component/ehcache/springboot/EhcacheComponentConverter.java | 2 --
 .../ignite/cache/springboot/IgniteCacheComponentConverter.java| 2 --
 .../ignite/compute/springboot/IgniteComputeComponentConverter.java| 2 --
 .../ignite/events/springboot/IgniteEventsComponentConverter.java  | 2 --
 .../ignite/idgen/springboot/IgniteIdGenComponentConverter.java| 2 --
 .../messaging/springboot/IgniteMessagingComponentConverter.java   | 2 --
 .../ignite/queue/springboot/IgniteQueueComponentConverter.java| 2 --
 .../component/ignite/set/springboot/IgniteSetComponentConverter.java  | 2 --
 .../component/infinispan/springboot/InfinispanComponentConverter.java | 2 --
 .../component/undertow/springboot/UndertowComponentConverter.java | 2 --
 .../xmlsecurity/springboot/XmlVerifierComponentConverter.java | 2 --
 .../camel/springboot/maven/SpringBootAutoConfigurationMojo.java   | 4 
 16 files changed, 4 insertions(+), 30 deletions(-)

diff --git 
a/components-starter/camel-atomix-starter/src/main/java/org/apache/camel/component/atomix/client/map/springboot/AtomixMapComponentConverter.java
 
b/components-starter/camel-atomix-starter/src/main/java/org/apache/camel/component/atomix/client/map/springboot/AtomixMapComponentConverter.java
index c8cfa00..23bf4be 100644
--- 
a/components-starter/camel-atomix-starter/src/main/java/org/apache/camel/component/atomix/client/map/springboot/AtomixMapComponentConverter.java
+++ 
b/components-starter/camel-atomix-starter/src/main/java/org/apache/camel/component/atomix/client/map/springboot/AtomixMapComponentConverter.java
@@ -42,7 +42,6 @@ public class AtomixMapComponentConverter
 Set answer = new LinkedHashSet<>();
 answer.add(new ConvertiblePair(String.class, io.atomix.Atomix.class));
 answer.add(new ConvertiblePair(String.class, 
org.apache.camel.component.atomix.client.map.AtomixMapConfiguration.class));
-answer.add(new ConvertiblePair(String.class, java.lang.Object.class));
 answer.add(new ConvertiblePair(String.class, 
java.util.Properties.class));
 return answer;
 }
@@ -62,7 +61,6 @@ public class AtomixMapComponentConverter
 switch (targetType.getName()) {
 case "io.atomix.Atomix": return 
camelContext.getRegistry().lookupByNameAndType(ref, io.atomix.Atomix.class);
 case 
"org.apache.camel.component.atomix.client.map.AtomixMapConfiguration": return 
camelContext.getRegistry().lookupByNameAndType(ref, 
org.apache.camel.component.atomix.client.map.AtomixMapConfiguration.class);
-case "java.lang.Object": return 
camelContext.getRegistry().lookupByNameAndType(ref, java.lang.Object.class);
 case "java.util.Properties": return 
camelContext.getRegistry().lookupByNameAndType(ref, java.util.Properties.class);
 }
 return null;
diff --git 
a/components-starter/camel-atomix-starter/src/main/java/org/apache/camel/component/atomix/client/multimap/springboot/AtomixMultiMapComponentConverter.java
 
b/components-starter/camel-atomix-starter/src/main/java/org/apache/camel/component/atomix/client/multimap/springboot/AtomixMultiMapComponentConverter.java
index 259b02b..49f7432 100644
--- 
a/components-starter/camel-atomix-starter/src/main/java/org/apache/camel/component/atomix/client/multimap/springboot/AtomixMultiMapComponentConverter.java
+++ 
b/components-starter/camel-atomix-starter/src/main/java/org/apache/camel/component/atomix/client/multimap/springboot/AtomixMultiMapComponentConverter.java
@@ -42,7 +42,6 @@ public class AtomixMultiMapComponentConverter
 Set answer = new LinkedHashSet<>();
 answer.add(new ConvertiblePair(String.class, io.atomix.Atomix.class));
 answer.add(new ConvertiblePair(String.class, 
org.apache.camel.component.atomix.client.multimap.AtomixMultiMapConfiguration.class));
-answer.add(new ConvertiblePair(String.class, java.lang.Object.clas

[camel-spring-boot] branch camel-spring-boot-3.4.x updated: CAMEL-15428: camel-spring-boot-bom - Do not have parent so its standalone.

2021-01-06 Thread davsclaus
This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch camel-spring-boot-3.4.x
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git


The following commit(s) were added to refs/heads/camel-spring-boot-3.4.x by 
this push:
 new 662d5e2  CAMEL-15428: camel-spring-boot-bom - Do not have parent so 
its standalone.
662d5e2 is described below

commit 662d5e2fc1d8ce13fcbc5db7a6e322c96d0fc6aa
Author: Claus Ibsen 
AuthorDate: Wed Jan 6 14:43:02 2021 +0100

CAMEL-15428: camel-spring-boot-bom - Do not have parent so its standalone.
---
 tooling/camel-spring-boot-bom-generator/target-template-pom.xml | 9 ++---
 tooling/camel-spring-boot-bom/pom.xml   | 8 ++--
 2 files changed, 4 insertions(+), 13 deletions(-)

diff --git a/tooling/camel-spring-boot-bom-generator/target-template-pom.xml 
b/tooling/camel-spring-boot-bom-generator/target-template-pom.xml
index b4bb7a8..de20081 100644
--- a/tooling/camel-spring-boot-bom-generator/target-template-pom.xml
+++ b/tooling/camel-spring-boot-bom-generator/target-template-pom.xml
@@ -23,14 +23,9 @@
 
 4.0.0
 
-
-org.apache.camel.springboot
-spring-boot
-${project.version}
-../../
-
-
+org.apache.camel.springboot
 camel-spring-boot-bom
+${project.version}
 pom
 Camel SB Tooling :: BOM
 Camel Spring-Boot BOM
diff --git a/tooling/camel-spring-boot-bom/pom.xml 
b/tooling/camel-spring-boot-bom/pom.xml
index 74c6082..d3361ab 100644
--- a/tooling/camel-spring-boot-bom/pom.xml
+++ b/tooling/camel-spring-boot-bom/pom.xml
@@ -19,13 +19,9 @@
 -->
 http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd";>
   4.0.0
-  
-org.apache.camel.springboot
-spring-boot
-3.4.6-SNAPSHOT
-../../
-  
+  org.apache.camel.springboot
   camel-spring-boot-bom
+  3.4.6-SNAPSHOT
   pom
   Camel SB Tooling :: BOM
   Camel Spring-Boot BOM



[camel-spring-boot] branch camel-spring-boot-3.7.x updated: CAMEL-15428: camel-spring-boot-bom - Do not have parent so its standalone.

2021-01-06 Thread davsclaus
This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch camel-spring-boot-3.7.x
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git


The following commit(s) were added to refs/heads/camel-spring-boot-3.7.x by 
this push:
 new ad675bc  CAMEL-15428: camel-spring-boot-bom - Do not have parent so 
its standalone.
ad675bc is described below

commit ad675bc14ff097862e6074a7caf360eb02774484
Author: Claus Ibsen 
AuthorDate: Wed Jan 6 14:43:02 2021 +0100

CAMEL-15428: camel-spring-boot-bom - Do not have parent so its standalone.
---
 tooling/camel-spring-boot-bom-generator/target-template-pom.xml | 9 ++---
 tooling/camel-spring-boot-bom/pom.xml   | 8 ++--
 2 files changed, 4 insertions(+), 13 deletions(-)

diff --git a/tooling/camel-spring-boot-bom-generator/target-template-pom.xml 
b/tooling/camel-spring-boot-bom-generator/target-template-pom.xml
index b4bb7a8..de20081 100644
--- a/tooling/camel-spring-boot-bom-generator/target-template-pom.xml
+++ b/tooling/camel-spring-boot-bom-generator/target-template-pom.xml
@@ -23,14 +23,9 @@
 
 4.0.0
 
-
-org.apache.camel.springboot
-spring-boot
-${project.version}
-../../
-
-
+org.apache.camel.springboot
 camel-spring-boot-bom
+${project.version}
 pom
 Camel SB Tooling :: BOM
 Camel Spring-Boot BOM
diff --git a/tooling/camel-spring-boot-bom/pom.xml 
b/tooling/camel-spring-boot-bom/pom.xml
index 0cfe062..8d7a935 100644
--- a/tooling/camel-spring-boot-bom/pom.xml
+++ b/tooling/camel-spring-boot-bom/pom.xml
@@ -19,13 +19,9 @@
 -->
 http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd";>
   4.0.0
-  
-org.apache.camel.springboot
-spring-boot
-3.7.1-SNAPSHOT
-../../
-  
+  org.apache.camel.springboot
   camel-spring-boot-bom
+  3.7.1-SNAPSHOT
   pom
   Camel SB Tooling :: BOM
   Camel Spring-Boot BOM



[camel-spring-boot] branch master updated: CAMEL-15428: camel-spring-boot-bom - Do not have parent so its standalone.

2021-01-06 Thread davsclaus
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-spring-boot.git


The following commit(s) were added to refs/heads/master by this push:
 new 1003bdb  CAMEL-15428: camel-spring-boot-bom - Do not have parent so 
its standalone.
1003bdb is described below

commit 1003bdb50c04e8ab7684ad06d5c277a7163b93ef
Author: Claus Ibsen 
AuthorDate: Wed Jan 6 14:43:02 2021 +0100

CAMEL-15428: camel-spring-boot-bom - Do not have parent so its standalone.
---
 tooling/camel-spring-boot-bom-generator/target-template-pom.xml | 9 ++---
 tooling/camel-spring-boot-bom/pom.xml   | 8 ++--
 2 files changed, 4 insertions(+), 13 deletions(-)

diff --git a/tooling/camel-spring-boot-bom-generator/target-template-pom.xml 
b/tooling/camel-spring-boot-bom-generator/target-template-pom.xml
index b4bb7a8..de20081 100644
--- a/tooling/camel-spring-boot-bom-generator/target-template-pom.xml
+++ b/tooling/camel-spring-boot-bom-generator/target-template-pom.xml
@@ -23,14 +23,9 @@
 
 4.0.0
 
-
-org.apache.camel.springboot
-spring-boot
-${project.version}
-../../
-
-
+org.apache.camel.springboot
 camel-spring-boot-bom
+${project.version}
 pom
 Camel SB Tooling :: BOM
 Camel Spring-Boot BOM
diff --git a/tooling/camel-spring-boot-bom/pom.xml 
b/tooling/camel-spring-boot-bom/pom.xml
index 739fae1..99e5863 100644
--- a/tooling/camel-spring-boot-bom/pom.xml
+++ b/tooling/camel-spring-boot-bom/pom.xml
@@ -19,13 +19,9 @@
 -->
 http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd";>
   4.0.0
-  
-org.apache.camel.springboot
-spring-boot
-3.8.0-SNAPSHOT
-../../
-  
+  org.apache.camel.springboot
   camel-spring-boot-bom
+  3.8.0-SNAPSHOT
   pom
   Camel SB Tooling :: BOM
   Camel Spring-Boot BOM



[GitHub] [camel-k] lancerdima opened a new issue #1881: Corrupted binaries attached as resource

2021-01-06 Thread GitBox


lancerdima opened a new issue #1881:
URL: https://github.com/apache/camel-k/issues/1881


   Using #1750 as a reference.
   
   ### Problem
   I am attaching binary resource (with `--resource`) to the integration and 
expecting it to appear in the container as a resource.
   Original file size: 6733 bytes (binary, zip archive in its essence).
   Executing command: `kamel run --dev --resource account.adm Integration.java`.
   Result: reviewing pod, I see that the attached resource file size is 12255, 
thus corrupted, integration is unusable.
   
   Attempts adding `--compression=true` flag (ar per #1750 suggestion) yields 
raw base64 text file in attached pod resource, that is unusable as a) it is 
base64, not binary, b) there is an extra compression applied on top of the file.
   
   Using `kamel version` -> 1.3.
   
   Also wondering, whether there is currently a way to attach resource to 
camel, directly from self-created configMap?
   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[camel] branch master updated: Remove not used JAR

2021-01-06 Thread davsclaus
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.git


The following commit(s) were added to refs/heads/master by this push:
 new 5667e51  Remove not used JAR
5667e51 is described below

commit 5667e5162576a79be6706069fdc478028d13f4ce
Author: Claus Ibsen 
AuthorDate: Wed Jan 6 12:57:49 2021 +0100

Remove not used JAR
---
 components/camel-sjms/pom.xml  | 6 --
 components/camel-sjms2/pom.xml | 6 --
 2 files changed, 12 deletions(-)

diff --git a/components/camel-sjms/pom.xml b/components/camel-sjms/pom.xml
index e0eafc3..5ec1dec 100644
--- a/components/camel-sjms/pom.xml
+++ b/components/camel-sjms/pom.xml
@@ -50,12 +50,6 @@
 geronimo-jms_1.1_spec
 provided
 
-
-org.apache.geronimo.specs
-geronimo-annotation_1.0_spec
-${geronimo-annotation-1.0-spec-version}
-provided
-
 
 
 org.apache.camel
diff --git a/components/camel-sjms2/pom.xml b/components/camel-sjms2/pom.xml
index 9c19ee2..a5ed941 100644
--- a/components/camel-sjms2/pom.xml
+++ b/components/camel-sjms2/pom.xml
@@ -52,12 +52,6 @@
 ${geronimo-jms2-spec-version}
 provided
 
-
-org.apache.geronimo.specs
-geronimo-annotation_1.0_spec
-${geronimo-annotation-1.0-spec-version}
-provided
-
 
 
 



[camel-karaf] branch master updated: CAMEL-15995: camel-sjms - Make it more feature compatible with camel-jms

2021-01-06 Thread davsclaus
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-karaf.git


The following commit(s) were added to refs/heads/master by this push:
 new 488fbc3  CAMEL-15995: camel-sjms - Make it more feature compatible 
with camel-jms
488fbc3 is described below

commit 488fbc3760cf4af1389090cf4cc22856a5a3651a
Author: Claus Ibsen 
AuthorDate: Wed Jan 6 13:29:19 2021 +0100

CAMEL-15995: camel-sjms - Make it more feature compatible with camel-jms
---
 platforms/karaf/features/src/main/resources/features.xml | 2 --
 1 file changed, 2 deletions(-)

diff --git a/platforms/karaf/features/src/main/resources/features.xml 
b/platforms/karaf/features/src/main/resources/features.xml
index 2961799..8efeca9 100644
--- a/platforms/karaf/features/src/main/resources/features.xml
+++ b/platforms/karaf/features/src/main/resources/features.xml
@@ -2235,7 +2235,6 @@
 
 mvn:org.apache.geronimo.specs/geronimo-jta_1.1_spec/${geronimo-jta-spec-version}
 mvn:org.apache.geronimo.specs/geronimo-jms_1.1_spec/${geronimo-jms-spec-version}
-mvn:commons-pool/commons-pool/${commons-pool-version}
 mvn:org.apache.camel/camel-sjms/${project.version}
   
   
@@ -2243,7 +2242,6 @@
 
 mvn:org.apache.geronimo.specs/geronimo-jta_1.1_spec/${geronimo-jta-spec-version}
 mvn:org.apache.geronimo.specs/geronimo-jms_2.0_spec/${geronimo-jms2-spec-version}
-mvn:commons-pool/commons-pool/${commons-pool-version}
 mvn:org.apache.camel/camel-sjms/${project.version}
 mvn:org.apache.camel/camel-sjms2/${project.version}
   



[GitHub] [camel-quarkus] llowinge opened a new pull request #2105: Remove hystrix from test-categories.yaml

2021-01-06 Thread GitBox


llowinge opened a new pull request #2105:
URL: https://github.com/apache/camel-quarkus/pull/2105


   Fixes #2091. 
   
   @jamesnetherton @ppalaga 



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[camel-quarkus] branch master updated: Upgrade SmallRye Reactive Messaging Camel to 2.7.0

2021-01-06 Thread jamesnetherton
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new 09b3d30  Upgrade SmallRye Reactive Messaging Camel to 2.7.0
09b3d30 is described below

commit 09b3d3038569c23b1260afd6f47d13ceea6ca678
Author: James Netherton 
AuthorDate: Wed Jan 6 09:51:08 2021 +

Upgrade SmallRye Reactive Messaging Camel to 2.7.0
---
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 037c272..b29b3ae 100644
--- a/pom.xml
+++ b/pom.xml
@@ -93,7 +93,7 @@
 ${protobuf-version}
 2.5.0
 2.11.12
-
2.5.0
+
2.7.0
 1.4.0
 
 ${spring5-version}



[GitHub] [camel-quarkus] jamesnetherton merged pull request #2100: Upgrade SmallRye Reactive Messaging Camel to 2.7.0

2021-01-06 Thread GitBox


jamesnetherton merged pull request #2100:
URL: https://github.com/apache/camel-quarkus/pull/2100


   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[camel] 07/07: CAMEL-15995: camel-sjms - Make it more feature compatible with camel-jms (migrate)

2021-01-06 Thread davsclaus
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.git

commit b20430856f0179bb8d0985586b2e195b02dfff43
Author: Claus Ibsen 
AuthorDate: Wed Jan 6 12:42:59 2021 +0100

CAMEL-15995: camel-sjms - Make it more feature compatible with camel-jms 
(migrate)
---
 .../modules/ROOT/pages/camel-3x-upgrade-guide-3_8.adoc | 10 ++
 1 file changed, 10 insertions(+)

diff --git 
a/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_8.adoc 
b/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_8.adoc
index 3d7f27c..c8ca5f5 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_8.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_8.adoc
@@ -10,6 +10,16 @@ from both 3.0 to 3.1 and 3.1 to 3.2.
 
 The JMS and ActiveMQ component now supports optimized toD EIP pattern by using 
a single endpoint/producer for dynamic destination names.
 
+=== camel-sjms and camel-sjms2
+
+These two components has been overhauled and re-written with the goals of 
being more feature complete with the Spring JMS component.
+They also no longer uses their own connection pooling, but let you use the 
existing 3rd party pooling for `ConnectionFactory` which is common practice.
+The components are now also reactive and non-blocking, and also supports 
optimized toD EIP pattern by using a single endpoint/producer for dynamic 
destination names.
+
+Many of the previous features and configuration options have been 
removed/renamed.
+To migrate you need to read their documentation and see what options they now 
offer.
+
+
 === Camel-AWS2-SNS
 
 The policy option now expects a file, since the policy are going to be 
complex. It can be from classpath:, http: or file: etc.



[camel] 02/07: polished code

2021-01-06 Thread davsclaus
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.git

commit a2896cf5a75e4d19eee93a0105689e90e8caf762
Author: Claus Ibsen 
AuthorDate: Mon Jan 4 11:08:30 2021 +0100

polished code
---
 .../org/apache/camel/component/jms/JmsProducer.java  | 20 ++--
 1 file changed, 2 insertions(+), 18 deletions(-)

diff --git 
a/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsProducer.java
 
b/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsProducer.java
index 57d5c73..99acbc3 100644
--- 
a/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsProducer.java
+++ 
b/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsProducer.java
@@ -426,25 +426,9 @@ public class JmsProducer extends DefaultAsyncProducer {
 
 // destination should be preferred
 if (destination != null) {
-if (inOut) {
-if (template != null) {
-template.send(destination, messageCreator, callback);
-}
-} else {
-if (template != null) {
-template.send(destination, messageCreator, callback);
-}
-}
+template.send(destination, messageCreator, callback);
 } else if (destinationName != null) {
-if (inOut) {
-if (template != null) {
-template.send(destinationName, messageCreator, callback);
-}
-} else {
-if (template != null) {
-template.send(destinationName, messageCreator, callback);
-}
-}
+template.send(destinationName, messageCreator, callback);
 } else {
 throw new IllegalArgumentException(
 "Neither destination nor destinationName is specified on 
this endpoint: " + endpoint);



[camel] 05/07: camel-main - Remove option that was removed

2021-01-06 Thread davsclaus
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.git

commit 870974285dae1d5d41c8f98c8fb3360093a39e7e
Author: Claus Ibsen 
AuthorDate: Wed Jan 6 07:47:59 2021 +0100

camel-main - Remove option that was removed
---
 .../MainConfigurationPropertiesConfigurer.java |  6 -
 .../camel-main-configuration-metadata.json |  1 -
 core/camel-main/src/main/docs/main.adoc|  1 -
 .../camel/main/DefaultConfigurationProperties.java | 26 --
 4 files changed, 34 deletions(-)

diff --git 
a/core/camel-main/src/generated/java/org/apache/camel/main/MainConfigurationPropertiesConfigurer.java
 
b/core/camel-main/src/generated/java/org/apache/camel/main/MainConfigurationPropertiesConfigurer.java
index c91005f..28ced68 100644
--- 
a/core/camel-main/src/generated/java/org/apache/camel/main/MainConfigurationPropertiesConfigurer.java
+++ 
b/core/camel-main/src/generated/java/org/apache/camel/main/MainConfigurationPropertiesConfigurer.java
@@ -59,8 +59,6 @@ public class MainConfigurationPropertiesConfigurer extends 
org.apache.camel.supp
 case "DurationMaxMessages": 
target.setDurationMaxMessages(property(camelContext, int.class, value)); return 
true;
 case "durationmaxseconds":
 case "DurationMaxSeconds": 
target.setDurationMaxSeconds(property(camelContext, int.class, value)); return 
true;
-case "endpointbasicpropertybinding":
-case "EndpointBasicPropertyBinding": 
target.setEndpointBasicPropertyBinding(property(camelContext, boolean.class, 
value)); return true;
 case "endpointbridgeerrorhandler":
 case "EndpointBridgeErrorHandler": 
target.setEndpointBridgeErrorHandler(property(camelContext, boolean.class, 
value)); return true;
 case "endpointlazystartproducer":
@@ -228,8 +226,6 @@ public class MainConfigurationPropertiesConfigurer extends 
org.apache.camel.supp
 case "DurationMaxMessages": return int.class;
 case "durationmaxseconds":
 case "DurationMaxSeconds": return int.class;
-case "endpointbasicpropertybinding":
-case "EndpointBasicPropertyBinding": return boolean.class;
 case "endpointbridgeerrorhandler":
 case "EndpointBridgeErrorHandler": return boolean.class;
 case "endpointlazystartproducer":
@@ -398,8 +394,6 @@ public class MainConfigurationPropertiesConfigurer extends 
org.apache.camel.supp
 case "DurationMaxMessages": return target.getDurationMaxMessages();
 case "durationmaxseconds":
 case "DurationMaxSeconds": return target.getDurationMaxSeconds();
-case "endpointbasicpropertybinding":
-case "EndpointBasicPropertyBinding": return 
target.isEndpointBasicPropertyBinding();
 case "endpointbridgeerrorhandler":
 case "EndpointBridgeErrorHandler": return 
target.isEndpointBridgeErrorHandler();
 case "endpointlazystartproducer":
diff --git 
a/core/camel-main/src/generated/resources/META-INF/camel-main-configuration-metadata.json
 
b/core/camel-main/src/generated/resources/META-INF/camel-main-configuration-metadata.json
index bf887d8..7a249fd 100644
--- 
a/core/camel-main/src/generated/resources/META-INF/camel-main-configuration-metadata.json
+++ 
b/core/camel-main/src/generated/resources/META-INF/camel-main-configuration-metadata.json
@@ -29,7 +29,6 @@
 { "name": "camel.main.durationMaxIdleSeconds", "description": "To specify 
for how long time in seconds Camel can be idle before automatic terminating the 
JVM. You can use this to run Camel for a short while.", "sourceType": 
"org.apache.camel.main.DefaultConfigurationProperties", "type": "integer", 
"javaType": "int" },
 { "name": "camel.main.durationMaxMessages", "description": "To specify how 
many messages to process by Camel before automatic terminating the JVM. You can 
use this to run Camel for a short while.", "sourceType": 
"org.apache.camel.main.DefaultConfigurationProperties", "type": "integer", 
"javaType": "int" },
 { "name": "camel.main.durationMaxSeconds", "description": "To specify for 
how long time in seconds to keep running the JVM before automatic terminating 
the JVM. You can use this to run Camel for a short while.", "sourceType": 
"org.apache.camel.main.DefaultConfigurationProperties", "type": "integer", 
"javaType": "int" },
-{ "name": "camel.main.endpointBasicPropertyBinding", "description": 
"Whether the endpoint should use basic property binding (Camel 2.x) or the 
newer property binding with additional capabilities. The default value is 
false.", "sourceType": "org.apache.camel.main.DefaultConfigurationProperties", 
"type": "boolean", "javaType": "boolean" },
 { "name": "camel.main.endpointBridgeErrorHandler", "description": "Allows 
for bridging the consumer to the Camel routing Error Handler, which mean any 
exceptions occurred while the consumer is trying to pickup

[camel] branch master updated (38ba0ee -> b204308)

2021-01-06 Thread davsclaus
This is an automated email from the ASF dual-hosted git repository.

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


from 38ba0ee  (chores) cross component logging fixes (#4832)
 new 73cd7d6  CAMEL-15990: camel-sjms - Support regular connection pool. 
CAMEL-15995: camel-sjms - Make it more feature compatible with camel-jms 
(producer)
 new a2896cf  polished code
 new 6bec00f  CAMEL-15995: camel-sjms - Make it more feature compatible 
with camel-jms (consumer)
 new 5369203  CAMEL-15995: camel-sjms - Make it more feature compatible 
with camel-jms (producer)
 new 8709742  camel-main - Remove option that was removed
 new 8c741e2  CAMEL-15995: camel-sjms - Make it more feature compatible 
with camel-jms (producer)
 new b204308  CAMEL-15995: camel-sjms - Make it more feature compatible 
with camel-jms (migrate)

The 7 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:
 .../org/apache/camel/catalog/components.properties |1 -
 .../org/apache/camel/catalog/components/jms.json   |4 +-
 .../camel/catalog/components/sjms-batch.json   |   58 -
 .../org/apache/camel/catalog/components/sjms.json  |   56 +-
 .../org/apache/camel/catalog/components/sjms2.json |   56 +-
 .../org/apache/camel/catalog/docs.properties   |1 -
 .../apache/camel/catalog/docs/jms-component.adoc   |4 +-
 .../camel/catalog/docs/sjms-batch-component.adoc   |  207 --
 .../apache/camel/catalog/docs/sjms-component.adoc  |  362 +---
 .../apache/camel/catalog/docs/sjms2-component.adoc |  513 ++---
 .../org/apache/camel/component/jms/jms.json|4 +-
 .../camel-jms/src/main/docs/jms-component.adoc |4 +-
 .../camel/component/jms/JmsConfiguration.java  |2 +-
 .../apache/camel/component/jms/JmsProducer.java|   20 +-
 components/camel-sjms/pom.xml  |   11 +-
 .../component/sjms/SjmsComponentConfigurer.java|   84 +-
 .../component/sjms/SjmsEndpointConfigurer.java |  249 ++-
 .../component/sjms/SjmsEndpointUriFactory.java |   45 +-
 .../sjms/batch/SjmsBatchComponentConfigurer.java   |   79 -
 .../sjms/batch/SjmsBatchEndpointConfigurer.java|  178 --
 .../sjms/batch/SjmsBatchEndpointUriFactory.java|   84 -
 .../services/org/apache/camel/component.properties |2 +-
 .../services/org/apache/camel/component/sjms-batch |2 -
 .../apache/camel/configurer/sjms-batch-component   |2 -
 .../apache/camel/configurer/sjms-batch-endpoint|2 -
 .../apache/camel/urifactory/sjms-batch-endpoint|2 -
 .../camel/component/sjms/batch/sjms-batch.json |   58 -
 .../org/apache/camel/component/sjms/sjms.json  |   67 +-
 .../src/main/docs/sjms-batch-component.adoc|  207 --
 .../camel-sjms/src/main/docs/sjms-component.adoc   |  362 +---
 .../sjms/AggregatedExceptionListener.java  |   53 -
 .../component/sjms/MessageConsumerResources.java   |   54 -
 ...onstants.java => MessageListenerContainer.java} |   16 +-
 .../camel/component/sjms/MessageProducerPool.java  |   75 -
 .../component/sjms/MessageProducerResources.java   |   69 -
 ...sactionCommitStrategy.java => ReplyToType.java} |   19 +-
 .../{SjmsConstants.java => SessionCallback.java}   |   16 +-
 ...sConstants.java => SessionMessageListener.java} |   10 +-
 .../apache/camel/component/sjms/SjmsComponent.java |  258 +--
 .../apache/camel/component/sjms/SjmsConstants.java |2 +
 .../apache/camel/component/sjms/SjmsConsumer.java  |  433 +---
 .../apache/camel/component/sjms/SjmsEndpoint.java  |  829 
 .../apache/camel/component/sjms/SjmsHelper.java|  112 ++
 .../sjms/SjmsLoggingExceptionListener.java |   46 -
 .../apache/camel/component/sjms/SjmsProducer.java  |  713 +++
 .../apache/camel/component/sjms/SjmsTemplate.java  |  171 ++
 .../component/sjms/TransactionCommitStrategy.java  |   44 -
 .../component/sjms/TransactionOnCompletion.java|   64 +
 .../component/sjms/batch/SessionCompletion.java|   57 -
 .../component/sjms/batch/SjmsBatchComponent.java   |   97 -
 .../component/sjms/batch/SjmsBatchConsumer.java|  604 --
 .../component/sjms/batch/SjmsBatchEndpoint.java|  427 
 .../sjms/consumer/AbstractMessageHandler.java  |  175 --
 .../sjms/consumer/EndpointMessageListener.java |  457 +
 .../sjms/consumer/InOnlyMessageHandler.java|   86 -
 .../sjms/consumer/InOutMessageHandler.java |  175 --
 .../consumer/SimpleMessageListenerContainer.java   |  343 
 .../sjms/jms/ConnectionFactoryResource.java|  189 --
 .../component/sjms/jms/ConnectionResource.java |   50 -
 .../component/sjms/jms/DestinationNameParser.java  |   10 +-
 .../component/sjms/jms/Jms11ObjectFactory.java |   46 +-
 .../camel/component/sjms/jms/JmsBinding.java

[camel-examples] branch master updated: Change Debezium configurations

2021-01-06 Thread oalsafi
This is an automated email from the ASF dual-hosted git repository.

oalsafi 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 90c286f  Change Debezium configurations
90c286f is described below

commit 90c286fc2afb83235c045742aa2b54bcb4cb4228
Author: Omar Al-Safi 
AuthorDate: Wed Jan 6 11:34:00 2021 +0100

Change Debezium configurations
---
 .../eventhubs/blob/DebeziumMySqlConsumerToAzureEventHubs.java | 4 ++--
 .../src/main/resources/application.properties | 4 ++--
 .../apache/camel/example/debezium/DebeziumMySqlConsumerToKinesis.java | 4 ++--
 .../camel-example-debezium/src/main/resources/application.properties  | 4 ++--
 4 files changed, 8 insertions(+), 8 deletions(-)

diff --git 
a/examples/camel-example-debezium-eventhubs-blob/src/main/java/org/apache/camel/example/debezium/eventhubs/blob/DebeziumMySqlConsumerToAzureEventHubs.java
 
b/examples/camel-example-debezium-eventhubs-blob/src/main/java/org/apache/camel/example/debezium/eventhubs/blob/DebeziumMySqlConsumerToAzureEventHubs.java
index 97b35b6..32861d4 100644
--- 
a/examples/camel-example-debezium-eventhubs-blob/src/main/java/org/apache/camel/example/debezium/eventhubs/blob/DebeziumMySqlConsumerToAzureEventHubs.java
+++ 
b/examples/camel-example-debezium-eventhubs-blob/src/main/java/org/apache/camel/example/debezium/eventhubs/blob/DebeziumMySqlConsumerToAzureEventHubs.java
@@ -58,8 +58,8 @@ public final class DebeziumMySqlConsumerToAzureEventHubs {
 + 
"&databasePassword={{debezium.mysql.databasePassword}}"
 + 
"&databaseServerName={{debezium.mysql.databaseServerName}}"
 + 
"&databaseHistoryFileFilename={{debezium.mysql.databaseHistoryFileName}}"
-+ 
"&databaseWhitelist={{debezium.mysql.databaseWhitelist}}"
-+ "&tableWhitelist={{debezium.mysql.tableWhitelist}}"
++ 
"&databaseIncludeList={{debezium.mysql.databaseIncludeList}}"
++ 
"&tableIncludeList={{debezium.mysql.tableIncludeList}}"
 + 
"&offsetStorageFileName={{debezium.mysql.offsetStorageFileName}}")
 .routeId("FromDebeziumMySql")
 // We will need to prepare the data for Azure 
EventHubs Therefore, we will hash the key to make sure our record land on the 
same partition
diff --git 
a/examples/camel-example-debezium-eventhubs-blob/src/main/resources/application.properties
 
b/examples/camel-example-debezium-eventhubs-blob/src/main/resources/application.properties
index 7ee6582..3510e2c 100644
--- 
a/examples/camel-example-debezium-eventhubs-blob/src/main/resources/application.properties
+++ 
b/examples/camel-example-debezium-eventhubs-blob/src/main/resources/application.properties
@@ -22,8 +22,8 @@ debezium.mysql.databaseUser = debezium
 debezium.mysql.databasePassword = dbz
 debezium.mysql.databaseServerName = debezium-connector-mysql-01
 debezium.mysql.databaseHistoryFileName = dbhistory-01.data
-debezium.mysql.databaseWhitelist = inventory
-debezium.mysql.tableWhitelist = inventory.products
+debezium.mysql.databaseIncludeList = inventory
+debezium.mysql.tableIncludeList = inventory.products
 debezium.mysql.offsetStorageFileName = offset-01.data
 
 eventhubs.connectionString = {{generated_connection_string}}
diff --git 
a/examples/camel-example-debezium/src/main/java/org/apache/camel/example/debezium/DebeziumMySqlConsumerToKinesis.java
 
b/examples/camel-example-debezium/src/main/java/org/apache/camel/example/debezium/DebeziumMySqlConsumerToKinesis.java
index 841bad7..068a559 100644
--- 
a/examples/camel-example-debezium/src/main/java/org/apache/camel/example/debezium/DebeziumMySqlConsumerToKinesis.java
+++ 
b/examples/camel-example-debezium/src/main/java/org/apache/camel/example/debezium/DebeziumMySqlConsumerToKinesis.java
@@ -58,8 +58,8 @@ public final class DebeziumMySqlConsumerToKinesis {
 + 
"&databasePassword={{debezium.mysql.databasePassword}}"
 + 
"&databaseServerName={{debezium.mysql.databaseServerName}}"
 + 
"&databaseHistoryFileFilename={{debezium.mysql.databaseHistoryFileName}}"
-+ 
"&databaseWhitelist={{debezium.mysql.databaseWhitelist}}"
-+ "&tableWhitelist={{debezium.mysql.tableWhitelist}}"
++ 
"&databaseIncludeList={{debezium.mysql.databaseIncludeList}}"
++ 
"&tableIncludeList={{debezium.mysql.tableIncludeList}}"
 + 
"&offsetStorageFileName={{debezium.mysql.offsetStorageFileName}}")
 .routeId("FromDebeziumMySql")
 // We will need to prepare the data for Kinesis, 
however we need to mention here is that Kinesis is bit different from Kafka 

[GitHub] [camel-quarkus] ppalaga commented on pull request #2103: CSimple NPE even if CSimple language is not used

2021-01-06 Thread GitBox


ppalaga commented on pull request #2103:
URL: https://github.com/apache/camel-quarkus/pull/2103#issuecomment-755209773


   Let me keep this open as a study material for now.



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[camel-quarkus] 01/01: Upgrade to Quarkus 1.11.0.Final

2021-01-06 Thread jamesnetherton
This is an automated email from the ASF dual-hosted git repository.

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

commit 108ae3df8e906c9014080dc2bfed39b8c92ea97b
Author: James Netherton 
AuthorDate: Thu Nov 12 07:00:19 2020 +

Upgrade to Quarkus 1.11.0.Final
---
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 037c272..8cd18a2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -86,7 +86,7 @@
 ${squareup-okhttp-version}
 ${squareup-okio-version}
 7.46.0.Final
-1.11.0.Beta1
+999-SNAPSHOT
 0.3.0
 
1.1.1
 0.21.0



[camel-quarkus] branch quarkus-master updated (a900ba2 -> 108ae3d)

2021-01-06 Thread jamesnetherton
This is an automated email from the ASF dual-hosted git repository.

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


 discard a900ba2  Upgrade to Quarkus 11.0.0
 add 3b06ef3  Updated CHANGELOG.md
 add 8f8a65c  Upgrade to Quarkus 1.10.3.Final
 add 8ac16ac  Updated CHANGELOG.md
 add ef50a84  Updated CHANGELOG.md
 add 99e8b13  Updated CHANGELOG.md
 add 4c56bd1  Updated CHANGELOG.md
 add 83b6983  Require Java 11 #1299
 add 8c73cd0  Updated CHANGELOG.md
 add b49ac31  Documented the Camel Quarkus testing approach #1981
 add cfc118e  Upgrade to Camel 3.7.0
 add 7f68e69  JSON-B data format support #1973
 add beec3bb  Google PubSub native support
 add 4e84f3d  BigQuery native support
 add ea94636  Remove Camel AS2 configuration class reflection registration
 add 08de45a  CSimple language support #2036
 add 47d36c0  Fix java.lang.LinkageError: loader constraint violation: when 
resolving field DATETIME of type javax.xml.namespace.QName intruduced after 
CSimple language support #2036
 add c08f52f  Test with camel.main.lightweight=true #2063
 add d45eee4  AtlasMap JVM support #1989
 add 3b5bd71  Next is 1.6.0
 add 2023d75  Updated CHANGELOG.md
 add 755887c  Last release is 1.5.0
 add 8f3863f  Improve the release guide
 add df9d99f  Updated CHANGELOG.md
 add bfff2c1  Updated CHANGELOG.md
 add b125b37  Updated CHANGELOG.md
 add a108e2a  CAMEL-15948: examples.json instead of .adoc files
 add 9b75ac6  Added JSONata extension (#2088)
 add 801ec56  Upgrade to Quarkus 1.11.0.Beta1
 add cb66cca  Updated CHANGELOG.md
 add 4099334  Updated the release guide with respect to the Apache 
Committee Report Helper #2045
 add b7a5fa1  Removed loadsApplicationClasses = true as it has no more 
effect
 add b91b9ed  Updated CHANGELOG.md
 add 337cd17  Fix twitter itest in native mode using ConfigProvider insted 
of ConfigProperty
 add b1812d9  Hazelcast native support fixes #1647
 add ccbd2cf  Updated CHANGELOG.md
 add c43b890  Updated CHANGELOG.md
 add 50471a5  Updated CHANGELOG.md
 add 36aca47  Fixed the format of the Apache Committee Report Helper 
release guide section #2045
 add 3d70650  Temporarily switch to actions/setup-java
 new 108ae3d  Upgrade to Quarkus 1.11.0.Final

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (a900ba2)
\
 N -- N -- N   refs/heads/quarkus-master (108ae3d)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 1 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:
 .github/workflows/camel-master-cron.yaml   |   8 +-
 .github/workflows/ci-build.yaml|  36 +--
 .github/workflows/pr-validate.yml  |   4 +-
 .github/workflows/quarkus-master-cron.yaml |   8 +-
 CHANGELOG.md   |  71 -
 catalog/pom.xml|  41 ++-
 docs/antora.yml|   2 +-
 docs/modules/ROOT/nav.adoc |   1 +
 .../ROOT/pages/contributor-guide/index.adoc|   2 +-
 .../pages/contributor-guide/release-guide.adoc |  31 +-
 .../ROOT/pages/reference/extensions/atlasmap.adoc  |  33 ++
 .../ROOT/pages/reference/extensions/core.adoc  |   7 +
 .../reference/extensions/google-bigquery.adoc  |  19 +-
 .../pages/reference/extensions/google-pubsub.adoc  |  18 +-
 .../ROOT/pages/reference/extensions/hazelcast.adoc |  48 ++-
 .../ROOT/pages/reference/extensions/jsonata.adoc   |  58 
 .../ROOT/pages/reference/extensions/jsonb.adoc |  38 +++
 .../pages/reference/extensions/kubernetes.adoc |   1 +
 .../ROOT/pages/reference/extensions/leveldb.adoc   |  12 +-
 docs/modules/ROOT/pages/user-guide/examples.adoc   |   9 +-
 .../modules/ROOT/pages/user-guide/first-steps.adoc |   2 +-
 docs/modules/ROOT/pages/user-guide/testing.adoc|  78 +
 .../partials/reference/components/atlasmap.adoc|  13 +
 .../reference/components/google-bigquery-sql.adoc  |   6 +-
 .../reference/components/google-bigquery.adoc  |   6 +-
 .../reference/components/google-pubsub.adoc|   6 +-
 .../components/hazelcast-at

[camel-quarkus] 01/01: Upgrade to Camel 3.8.0

2021-01-06 Thread jamesnetherton
This is an automated email from the ASF dual-hosted git repository.

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

commit 1b7db9ad2bd00082896e6f84f6f38f96b74c99ed
Author: James Netherton 
AuthorDate: Wed Jan 6 08:53:07 2021 +

Upgrade to Camel 3.8.0
---
 docs/modules/ROOT/pages/reference/extensions/jsonata.adoc| 2 +-
 docs/modules/ROOT/partials/reference/components/jclouds.adoc | 2 +-
 docs/modules/ROOT/partials/reference/components/jsonata.adoc | 4 ++--
 pom.xml  | 4 ++--
 4 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/docs/modules/ROOT/pages/reference/extensions/jsonata.adoc 
b/docs/modules/ROOT/pages/reference/extensions/jsonata.adoc
index e73015f..6775634 100644
--- a/docs/modules/ROOT/pages/reference/extensions/jsonata.adoc
+++ b/docs/modules/ROOT/pages/reference/extensions/jsonata.adoc
@@ -16,7 +16,7 @@ JSON to JSON transformation using JSONATA.
 
 == What's inside
 
-* xref:latest@components::jsonata-component.adoc[JSONATA component], URI 
syntax: `jsonata:resourceUri`
+* xref:latest@components::jsonata-component.adoc[JSONata component], URI 
syntax: `jsonata:resourceUri`
 
 Please refer to the above link for usage and configuration details.
 
diff --git a/docs/modules/ROOT/partials/reference/components/jclouds.adoc 
b/docs/modules/ROOT/partials/reference/components/jclouds.adoc
index 8dadf36..a05618e 100644
--- a/docs/modules/ROOT/partials/reference/components/jclouds.adoc
+++ b/docs/modules/ROOT/partials/reference/components/jclouds.adoc
@@ -9,5 +9,5 @@
 :cq-native-since: n/a
 :cq-camel-part-name: jclouds
 :cq-camel-part-title: JClouds
-:cq-camel-part-description: Interact with jclouds compute & blobstore service.
+:cq-camel-part-description: Interact with jclouds compute and blobstore 
service.
 :cq-extension-page-title: JClouds
diff --git a/docs/modules/ROOT/partials/reference/components/jsonata.adoc 
b/docs/modules/ROOT/partials/reference/components/jsonata.adoc
index 0e6518d..2b9f794 100644
--- a/docs/modules/ROOT/partials/reference/components/jsonata.adoc
+++ b/docs/modules/ROOT/partials/reference/components/jsonata.adoc
@@ -8,6 +8,6 @@
 :cq-jvm-since: 1.6.0
 :cq-native-since: 1.6.0
 :cq-camel-part-name: jsonata
-:cq-camel-part-title: JSONATA
-:cq-camel-part-description: JSON to JSON transformation using JSONATA.
+:cq-camel-part-title: JSONata
+:cq-camel-part-description: Transforms JSON payload using JSONata 
transformation.
 :cq-extension-page-title: JSONATA
diff --git a/pom.xml b/pom.xml
index 037c272..38edf66 100644
--- a/pom.xml
+++ b/pom.xml
@@ -23,7 +23,7 @@
 
 org.apache.camel
 camel-dependencies
-3.7.0
+3.8.0-SNAPSHOT
 
 
 org.apache.camel.quarkus
@@ -44,7 +44,7 @@
 1.10.0
 1.11.22
 
${bouncycastle-version}
-3.7.0
+3.8.0-SNAPSHOT
 
${commons-beanutils-version}
 1.4
 3.2.2



[camel-quarkus] branch camel-master updated (900c787 -> 1b7db9a)

2021-01-06 Thread jamesnetherton
This is an automated email from the ASF dual-hosted git repository.

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


omit 900c787  Enable Camel 3.7.0 staging repository temporarily
omit 28b1d61  AtlasMap JVM support #1989
omit 3015d9c  Test with camel.main.lightweight=true #2063
omit 9c44766  Fix java.lang.LinkageError: loader constraint violation: when 
resolving field DATETIME of type javax.xml.namespace.QName intruduced after 
CSimple language support #2036
omit 5d9b61d  CSimple language support #2036
omit d321f6a  Remove Camel AS2 configuration class reflection registration
omit 1d4740a  BigQuery native support
omit d3c3e2f  Google PubSub native support
omit ffbcd47  JSON-B data format support #1973
omit b78fdcd  Upgrade to Camel 3.7.0
 add 8ac16ac  Updated CHANGELOG.md
 add ef50a84  Updated CHANGELOG.md
 add 99e8b13  Updated CHANGELOG.md
 add 4c56bd1  Updated CHANGELOG.md
 add 83b6983  Require Java 11 #1299
 add 8c73cd0  Updated CHANGELOG.md
 add b49ac31  Documented the Camel Quarkus testing approach #1981
 add cfc118e  Upgrade to Camel 3.7.0
 add 7f68e69  JSON-B data format support #1973
 add beec3bb  Google PubSub native support
 add 4e84f3d  BigQuery native support
 add ea94636  Remove Camel AS2 configuration class reflection registration
 add 08de45a  CSimple language support #2036
 add 47d36c0  Fix java.lang.LinkageError: loader constraint violation: when 
resolving field DATETIME of type javax.xml.namespace.QName intruduced after 
CSimple language support #2036
 add c08f52f  Test with camel.main.lightweight=true #2063
 add d45eee4  AtlasMap JVM support #1989
 add 3b5bd71  Next is 1.6.0
 add 2023d75  Updated CHANGELOG.md
 add 755887c  Last release is 1.5.0
 add 8f3863f  Improve the release guide
 add df9d99f  Updated CHANGELOG.md
 add bfff2c1  Updated CHANGELOG.md
 add b125b37  Updated CHANGELOG.md
 add a108e2a  CAMEL-15948: examples.json instead of .adoc files
 add 9b75ac6  Added JSONata extension (#2088)
 add 801ec56  Upgrade to Quarkus 1.11.0.Beta1
 add cb66cca  Updated CHANGELOG.md
 add 4099334  Updated the release guide with respect to the Apache 
Committee Report Helper #2045
 add b7a5fa1  Removed loadsApplicationClasses = true as it has no more 
effect
 add b91b9ed  Updated CHANGELOG.md
 add 337cd17  Fix twitter itest in native mode using ConfigProvider insted 
of ConfigProperty
 add b1812d9  Hazelcast native support fixes #1647
 add ccbd2cf  Updated CHANGELOG.md
 add c43b890  Updated CHANGELOG.md
 add 50471a5  Updated CHANGELOG.md
 add 36aca47  Fixed the format of the Apache Committee Report Helper 
release guide section #2045
 add 3d70650  Temporarily switch to actions/setup-java
 new 1b7db9a  Upgrade to Camel 3.8.0

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (900c787)
\
 N -- N -- N   refs/heads/camel-master (1b7db9a)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 1 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:
 .github/workflows/camel-master-cron.yaml   |   8 +-
 .github/workflows/ci-build.yaml|  48 ++---
 .github/workflows/pr-validate.yml  |   6 +-
 .github/workflows/quarkus-master-cron.yaml |   8 +-
 CHANGELOG.md   |  70 +--
 catalog/pom.xml|  15 +-
 docs/antora.yml|   2 +-
 docs/modules/ROOT/nav.adoc |   1 +
 .../ROOT/pages/contributor-guide/index.adoc|   2 +-
 .../pages/contributor-guide/release-guide.adoc |  31 +++-
 .../ROOT/pages/reference/extensions/hazelcast.adoc |  48 -
 .../ROOT/pages/reference/extensions/jsonata.adoc   |  58 ++
 docs/modules/ROOT/pages/user-guide/examples.adoc   |   9 +-
 .../modules/ROOT/pages/user-guide/first-steps.adoc |   2 +-
 docs/modules/ROOT/pages/user-guide/testing.adoc|  78 
 .../components/hazelcast-atomicvalue.adoc  |   6 +-
 .../reference/components/hazelcast-instance.adoc   |   6 +-
 .../reference/components/hazelcast-

[camel-quarkus] branch master updated: Temporarily switch to actions/setup-java

2021-01-06 Thread jamesnetherton
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new 3d70650  Temporarily switch to actions/setup-java
3d70650 is described below

commit 3d70650aca063480d523355b1d92350f814c30d8
Author: James Netherton 
AuthorDate: Wed Jan 6 07:48:40 2021 +

Temporarily switch to actions/setup-java
---
 .github/workflows/camel-master-cron.yaml   |  8 
 .github/workflows/ci-build.yaml| 32 +++---
 .github/workflows/pr-validate.yml  |  4 ++--
 .github/workflows/quarkus-master-cron.yaml |  8 
 4 files changed, 26 insertions(+), 26 deletions(-)

diff --git a/.github/workflows/camel-master-cron.yaml 
b/.github/workflows/camel-master-cron.yaml
index 72874d5..12350ed 100644
--- a/.github/workflows/camel-master-cron.yaml
+++ b/.github/workflows/camel-master-cron.yaml
@@ -62,9 +62,9 @@ jobs:
   git rebase origin/master
   git rev-parse origin/master > ~/build-data/master-sha.txt
   - name: Set up JDK 11
-uses: AdoptOpenJDK/install-jdk@v1
+uses: actions/setup-java@v1
 with:
-  version: '11'
+  java-version: '11'
   - name: Build Camel Quarkus
 run: |
   ./mvnw ${MAVEN_ARGS} clean install -Papache-snapshots -pl '!docs'
@@ -126,9 +126,9 @@ jobs:
   sudo wget -O /usr/local/bin/yq 
"https://github.com/mikefarah/yq/releases/download/3.2.1/yq_linux_amd64";
   sudo chmod +x /usr/local/bin/yq
   - name: Set up JDK 11
-uses: AdoptOpenJDK/install-jdk@v1
+uses: actions/setup-java@v1
 with:
-  version: '11'
+  java-version: '11'
   - name: Integration Tests
 run: |
   TEST_MODULES=""
diff --git a/.github/workflows/ci-build.yaml b/.github/workflows/ci-build.yaml
index e59fed3..8d31baf 100644
--- a/.github/workflows/ci-build.yaml
+++ b/.github/workflows/ci-build.yaml
@@ -55,10 +55,10 @@ jobs:
 outputs:
   matrix: ${{ steps.set-native-matrix.outputs.matrix }}
 steps:
-  - name: Cancel Previous Runs
-uses: n1hility/cancel-previous-runs@v2
-with:
-  token: ${{ secrets.GITHUB_TOKEN }}
+  # - name: Cancel Previous Runs
+  #   uses: n1hility/cancel-previous-runs@v2
+  #   with:
+  # token: ${{ secrets.GITHUB_TOKEN }}
   - name: Check free space on disk
 run: |
   df -h /
@@ -71,9 +71,9 @@ jobs:
 run: |
   echo "BRANCH_OPTIONS=-Poss-snapshots -Dquarkus.version=999-SNAPSHOT" 
>> $GITHUB_ENV
   - name: Set up JDK 11
-uses: AdoptOpenJDK/install-jdk@v1
+uses: actions/setup-java@v1
 with:
-  version: '11'
+  java-version: '11'
   - name: Build Quarkus
 if: github.ref == 'refs/heads/quarkus-master' || github.base_ref == 
'quarkus-master'
 run: |
@@ -130,9 +130,9 @@ jobs:
   - name: Checkout
 uses: actions/checkout@v2
   - name: Set up JDK 11
-uses: AdoptOpenJDK/install-jdk@v1
+uses: actions/setup-java@v1
 with:
-  version: '11'
+  java-version: '11'
   - name: Download Maven Repo
 uses: actions/download-artifact@v2
 with:
@@ -199,9 +199,9 @@ jobs:
   echo "BRANCH_OPTIONS=-Poss-snapshots -Dquarkus.version=999-SNAPSHOT" 
>> $GITHUB_ENV
   - uses: actions/checkout@v2
   - name: Set up JDK ${{ matrix.java }}
-uses: AdoptOpenJDK/install-jdk@v1
+uses: actions/setup-java@v1
 with:
-  version: ${{ matrix.java }}
+  java-version: ${{ matrix.java }}
   - name: Download Maven Repo
 uses: actions/download-artifact@v2
 with:
@@ -252,9 +252,9 @@ jobs:
   echo "BRANCH_OPTIONS=-Poss-snapshots -Dquarkus.version=999-SNAPSHOT" 
>> $GITHUB_ENV
   - uses: actions/checkout@v2
   - name: Set up JDK ${{ matrix.java }}
-uses: AdoptOpenJDK/install-jdk@v1
+uses: actions/setup-java@v1
 with:
-  version: ${{ matrix.java }}
+  java-version: ${{ matrix.java }}
   - name: Download Maven Repo
 uses: actions/download-artifact@v2
 with:
@@ -294,9 +294,9 @@ jobs:
   echo "BRANCH_OPTIONS=-Poss-snapshots -Dquarkus.version=999-SNAPSHOT" 
>> $GITHUB_ENV
   - uses: actions/checkout@v2
   - name: Set up JDK ${{ matrix.java }}
-uses: AdoptOpenJDK/install-jdk@v1
+uses: actions/setup-java@v1
 with:
-  version: ${{ matrix.java }}
+  java-version: ${{ matrix.java }}
   - name: Download Maven Repo
 uses: actions/download-artifact@v2
 with:
@@ -343,9 +343,9 @@ jobs:
   - name: Checkout
 uses: actions/checkout@v2
   - name: Set up JDK 11
-uses: AdoptOpenJDK/install-jdk@v1
+uses: actions/se

[GitHub] [camel-quarkus] jamesnetherton merged pull request #2104: Temporarily switch to actions/setup-java

2021-01-06 Thread GitBox


jamesnetherton merged pull request #2104:
URL: https://github.com/apache/camel-quarkus/pull/2104


   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [camel-quarkus] jamesnetherton commented on pull request #2104: Temporarily switch to actions/setup-java

2021-01-06 Thread GitBox


jamesnetherton commented on pull request #2104:
URL: https://github.com/apache/camel-quarkus/pull/2104#issuecomment-755198628


   Merging as test failure is unrelated to this change.



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [camel-k] astefanutti merged pull request #1880: Fix operator monitoring test

2021-01-06 Thread GitBox


astefanutti merged pull request #1880:
URL: https://github.com/apache/camel-k/pull/1880


   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[camel-k] branch master updated: Fix operator monitoring test

2021-01-06 Thread astefanutti
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new 6b65a8f  Fix operator monitoring test
6b65a8f is described below

commit 6b65a8f98134536cf0ab431c465d0e63c070ee53
Author: Lukas Lowinger 
AuthorDate: Wed Jan 6 10:22:01 2021 +0100

Fix operator monitoring test
---
 e2e/yaks/openshift/monitoring/dependencyInstall.sh | 2 +-
 e2e/yaks/openshift/monitoring/obtainToken.sh   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/e2e/yaks/openshift/monitoring/dependencyInstall.sh 
b/e2e/yaks/openshift/monitoring/dependencyInstall.sh
index ce129d2..6b019b0 100644
--- a/e2e/yaks/openshift/monitoring/dependencyInstall.sh
+++ b/e2e/yaks/openshift/monitoring/dependencyInstall.sh
@@ -19,7 +19,7 @@ SOURCE_DIR=$( dirname "${BASH_SOURCE[0]}")
 APP_FOLDER="${SOURCE_DIR}/app"
 
 VERSION_CAMEL_K_RUNTIME=$(oc -n ${YAKS_NAMESPACE} get IntegrationPlatform 
camel-k -o 'jsonpath={.status.build.runtimeVersion}')
-VERSION_CAMEL_QUARKUS=$(oc -n ${YAKS_NAMESPACE} get CamelCatalog 
camel-catalog-${VERSION_CAMEL_K_RUNTIME}-main -o 
'jsonpath={.spec.runtime.metadata.camel-quarkus\.version}')
+VERSION_CAMEL_QUARKUS=$(oc -n ${YAKS_NAMESPACE} get CamelCatalog 
camel-catalog-${VERSION_CAMEL_K_RUNTIME} -o 
'jsonpath={.spec.runtime.metadata.camel-quarkus\.version}')
 
 mvn clean install -f $APP_FOLDER 
-Dversion.camel.quarkus=${VERSION_CAMEL_QUARKUS}
 LOCAL_MVN_HOME=$(mvn help:evaluate -Dexpression=settings.localRepository -q 
-DforceStdout)
diff --git a/e2e/yaks/openshift/monitoring/obtainToken.sh 
b/e2e/yaks/openshift/monitoring/obtainToken.sh
index a4bbe83..382d6f9 100755
--- a/e2e/yaks/openshift/monitoring/obtainToken.sh
+++ b/e2e/yaks/openshift/monitoring/obtainToken.sh
@@ -15,7 +15,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-TOKEN=`oc config view --minify --output 'jsonpath={..token}'`
+TOKEN=`oc whoami --show-token`
 echo "openshift.token=${TOKEN}" > openshift-token.properties
 oc -n ${YAKS_NAMESPACE} create secret generic openshift-token-secret-metrics 
--from-file=openshift-token.properties
 oc -n ${YAKS_NAMESPACE} create secret generic openshift-token-secret-alerting 
--from-file=openshift-token.properties



[GitHub] [camel-k] astefanutti commented on pull request #1880: Fix operator monitoring test

2021-01-06 Thread GitBox


astefanutti commented on pull request #1880:
URL: https://github.com/apache/camel-k/pull/1880#issuecomment-755189850


   @llowinge thanks. We need to create the 1.3.x branch and we'll have that one 
back-ported to it.



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [camel-k] llowinge opened a new pull request #1880: Fix operator monitoring test

2021-01-06 Thread GitBox


llowinge opened a new pull request #1880:
URL: https://github.com/apache/camel-k/pull/1880


   Fix for operator monitoring test. After making quarkus as default, there is 
no more `-main` suffix. @astefanutti could we somehow backport it to 1.3.0 
release ?



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [camel-quarkus] zbendhiba commented on issue #2094: Add more integration tests for camel-hazelcast extension

2021-01-06 Thread GitBox


zbendhiba commented on issue #2094:
URL: https://github.com/apache/camel-quarkus/issues/2094#issuecomment-755179708


   query on HazelcastMapProducer will be done for GraalVm 21.0.0. It needs a 
Serializable object for the test. see note in 
[camel-quarkus-2101](https://github.com/apache/camel-quarkus/issues/2101)



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [camel-quarkus] zbendhiba edited a comment on issue #2101: [GraalVM 21.0.0] Hazelcast extension : using HazelcastSedaProducer with transferExchange=true

2021-01-06 Thread GitBox


zbendhiba edited a comment on issue #2101:
URL: https://github.com/apache/camel-quarkus/issues/2101#issuecomment-755174538


   Also add integration test for Query on Map, using a Serializable object.



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [camel-quarkus] zbendhiba commented on issue #2101: [GraalVM 21.0.0] Hazelcast extension : using HazelcastSedaProducer with transferExchange=true

2021-01-06 Thread GitBox


zbendhiba commented on issue #2101:
URL: https://github.com/apache/camel-quarkus/issues/2101#issuecomment-755174538


   + integration test for Query on Map, using a Serializable object.



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [camel-k] astefanutti merged pull request #1879: Add network name flag to local run.

2021-01-06 Thread GitBox


astefanutti merged pull request #1879:
URL: https://github.com/apache/camel-k/pull/1879


   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [camel-k] astefanutti commented on pull request #1879: Add network name flag to local run.

2021-01-06 Thread GitBox


astefanutti commented on pull request #1879:
URL: https://github.com/apache/camel-k/pull/1879#issuecomment-755173626


   Thanks!



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[camel-k] branch master updated (c6a668c -> 4015ed3)

2021-01-06 Thread astefanutti
This is an automated email from the ASF dual-hosted git repository.

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


from c6a668c  Fix modeline check.
 new ccaa3bc  Add network name flag.
 new 4015ed3  Clean-up comment.

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:
 pkg/cmd/local_run.go |  4 
 pkg/cmd/util_containerization.go |  6 ++
 pkg/util/docker/docker.go|  2 +-
 pkg/util/docker/docker_base.go   | 10 ++
 4 files changed, 17 insertions(+), 5 deletions(-)



[camel-k] 02/02: Clean-up comment.

2021-01-06 Thread astefanutti
This is an automated email from the ASF dual-hosted git repository.

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

commit 4015ed37261f1e8167cded81d52602ee69ce2f48
Author: Doru Bercea 
AuthorDate: Tue Jan 5 18:48:33 2021 -0500

Clean-up comment.
---
 pkg/util/docker/docker_base.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkg/util/docker/docker_base.go b/pkg/util/docker/docker_base.go
index 4967770..d894a94 100644
--- a/pkg/util/docker/docker_base.go
+++ b/pkg/util/docker/docker_base.go
@@ -76,7 +76,7 @@ func RunImageArgs(imagePath string, imageTag string) []string 
{
args := make([]string, 0)
args = append(args, "run")
 
-   // TODO: support other networks.
+   // Add network flag.
args = append(args, "--network="+NetworkName)
 
// Path to Docker image:



[camel-k] 01/02: Add network name flag.

2021-01-06 Thread astefanutti
This is an automated email from the ASF dual-hosted git repository.

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

commit ccaa3bc324635aa50a82f238c89f37141a350931
Author: Doru Bercea 
AuthorDate: Tue Jan 5 18:37:51 2021 -0500

Add network name flag.
---
 pkg/cmd/local_run.go | 4 
 pkg/cmd/util_containerization.go | 6 ++
 pkg/util/docker/docker.go| 2 +-
 pkg/util/docker/docker_base.go   | 8 +---
 4 files changed, 16 insertions(+), 4 deletions(-)

diff --git a/pkg/cmd/local_run.go b/pkg/cmd/local_run.go
index 94f6383..5ff9917 100644
--- a/pkg/cmd/local_run.go
+++ b/pkg/cmd/local_run.go
@@ -57,6 +57,7 @@ func newCmdLocalRun(rootCmdOptions *RootCmdOptions) 
(*cobra.Command, *localRunCm
 
cmd.Flags().Bool("containerize", false, "Run integration in a local 
container.")
cmd.Flags().String("image", "", "Full path to integration image 
including registry.")
+   cmd.Flags().String("network", "", "Custom network name to be used by 
the underlying Docker command.")
cmd.Flags().StringArray("property-file", nil, "Add a property file to 
the integration.")
cmd.Flags().StringArrayP("property", "p", nil, "Add a Camel property to 
the integration.")
cmd.Flags().StringArrayP("dependency", "d", nil, 
additionalDependencyUsageMessage)
@@ -69,6 +70,7 @@ type localRunCmdOptions struct {
*RootCmdOptions
Containerize   bool `mapstructure:"containerize"`
Image  string   `mapstructure:"image"`
+   Networkstring   `mapstructure:"network"`
PropertyFiles  []string `mapstructure:"property-files"`
Properties []string `mapstructure:"properties"`
AdditionalDependencies []string `mapstructure:"dependencies"`
@@ -115,6 +117,8 @@ func (command *localRunCmdOptions) init() error {
if err != nil {
return err
}
+
+   setDockerNetworkName(command.Network)
}
 
return createMavenWorkingDirectory()
diff --git a/pkg/cmd/util_containerization.go b/pkg/cmd/util_containerization.go
index 1f6a8c3..76a6fca 100644
--- a/pkg/cmd/util_containerization.go
+++ b/pkg/cmd/util_containerization.go
@@ -74,6 +74,12 @@ func deleteDockerWorkingDirectory() error {
return nil
 }
 
+func setDockerNetworkName(networkName string) {
+   if networkName != "" {
+   docker.NetworkName = networkName
+   }
+}
+
 func createAndBuildBaseImage(ctx context.Context, containerRegistry string) 
error {
// Create the base image Docker file.
err := docker.CreateBaseImageDockerFile()
diff --git a/pkg/util/docker/docker.go b/pkg/util/docker/docker.go
index 90ce1f3..5d4777c 100644
--- a/pkg/util/docker/docker.go
+++ b/pkg/util/docker/docker.go
@@ -104,7 +104,7 @@ func BuildIntegrationImageArgs(imagePath string) []string {
 func RunIntegrationImageArgs(imagePath string) []string {
// Construct the docker command:
//
-   // docker run --network="host" /
+   // docker run --network= /
//
return RunImageArgs(imagePath, latestTag)
 }
diff --git a/pkg/util/docker/docker_base.go b/pkg/util/docker/docker_base.go
index 366ad77..4967770 100644
--- a/pkg/util/docker/docker_base.go
+++ b/pkg/util/docker/docker_base.go
@@ -34,6 +34,9 @@ var BaseWorkingDirectory string = ""
 // IntegrationWorkingDirectory -- directory used by Docker to construct the 
integration image.
 var IntegrationWorkingDirectory string = ""
 
+// NetworkName -- network used by Docker when running the image.
+var NetworkName string = "host"
+
 // Internal variables.
 var (
dockerEndpointSeparator = "/"
@@ -68,14 +71,13 @@ func BuildImageArgs(dockerFileDir string, imageName string, 
sourceDir string) []
 func RunImageArgs(imagePath string, imageTag string) []string {
// Construct the docker command:
//
-   // docker run --network="host" :
+   // docker run --network= :
//
-   // TODO: support other types of network connections.
args := make([]string, 0)
args = append(args, "run")
 
// TODO: support other networks.
-   args = append(args, "--network=host")
+   args = append(args, "--network="+NetworkName)
 
// Path to Docker image:
args = append(args, FullImageArg(imagePath)...)



[GitHub] [camel-quarkus] ppalaga commented on pull request #2103: CSimple NPE even if CSimple language is not used

2021-01-06 Thread GitBox


ppalaga commented on pull request #2103:
URL: https://github.com/apache/camel-quarkus/pull/2103#issuecomment-755162118


   > In general my preference for fixing #2098 would be to put the CSimple code 
into a separate extension and make it a conscious choice for the user to 
opt-in. That'll buy us some time to figure out the best way to implement build 
time introspection.
   
   +1, let me do that.



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [camel-quarkus] jamesnetherton commented on pull request #2103: CSimple NPE even if CSimple language is not used

2021-01-06 Thread GitBox


jamesnetherton commented on pull request #2103:
URL: https://github.com/apache/camel-quarkus/pull/2103#issuecomment-755161432


   In general my preference for fixing #2098 would be to put the CSimple code 
into a separate extension and make it a conscious choice for the user to 
opt-in. That'll buy us some time to figure out the best way to implement build 
time introspection.
   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org