[camel] branch main updated: Regen for commit 09b05a7417546e1eb6c997aff7f1b8855043e8d5

2022-06-20 Thread acosentino
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/main by this push:
 new f4800ebac00 Regen for commit 09b05a7417546e1eb6c997aff7f1b8855043e8d5
f4800ebac00 is described below

commit f4800ebac0084b761cb6e7b4862896c1c10ff0e6
Author: davsclaus 
AuthorDate: Tue Jun 21 05:46:31 2022 +

Regen for commit 09b05a7417546e1eb6c997aff7f1b8855043e8d5

Signed-off-by: GitHub 
---
 .../main/java/org/apache/camel/component/jira/JiraConfiguration.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/components/camel-jira/src/main/java/org/apache/camel/component/jira/JiraConfiguration.java
 
b/components/camel-jira/src/main/java/org/apache/camel/component/jira/JiraConfiguration.java
index 2874b016a4b..a5d2e4177f9 100644
--- 
a/components/camel-jira/src/main/java/org/apache/camel/component/jira/JiraConfiguration.java
+++ 
b/components/camel-jira/src/main/java/org/apache/camel/component/jira/JiraConfiguration.java
@@ -135,8 +135,8 @@ public class JiraConfiguration implements Cloneable {
 }
 
 /**
- * (Basic authentication only) The password or the API Token to 
authenticate to the Jira server. Use only if username basic
- * authentication is used.
+ * (Basic authentication only) The password or the API Token to 
authenticate to the Jira server. Use only if
+ * username basic authentication is used.
  */
 public void setPassword(String password) {
 this.password = password;



[GitHub] [camel] oscerd merged pull request #7833: Generated sources regen

2022-06-20 Thread GitBox


oscerd merged PR #7833:
URL: https://github.com/apache/camel/pull/7833


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

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



[camel] branch regen_bot updated (2d7c913bd86 -> 33bb75d6236)

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

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


omit 2d7c913bd86 Regen for commit efa24a173c09302d47f942c3ec3783b0b31cb8e9
omit efa24a173c0 Camel-18170 - Updating the Google Calendar component doc 
(#7832)
 add 33bb75d6236 Regen for commit 09b05a7417546e1eb6c997aff7f1b8855043e8d5

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   (2d7c913bd86)
\
 N -- N -- N   refs/heads/regen_bot (33bb75d6236)

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.

No new revisions were added by this update.

Summary of changes:
 docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_18.adoc | 5 -
 1 file changed, 5 deletions(-)



[camel] branch regen_bot updated (f2eb5cb8dec -> 2d7c913bd86)

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

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


from f2eb5cb8dec CAMEL-18210: camel-core - Pooled exchanges in batch 
consumer may use an exchange concurrently
 add 09b05a74175 camel-jira: Document the use of API Token as password for 
basic auth (#7831)
 add efa24a173c0 Camel-18170 - Updating the Google Calendar component doc 
(#7832)
 add 2d7c913bd86 Regen for commit efa24a173c09302d47f942c3ec3783b0b31cb8e9

No new revisions were added by this update.

Summary of changes:
 .../resources/org/apache/camel/catalog/components/jira.json | 4 ++--
 .../generated/resources/org/apache/camel/component/jira/jira.json   | 4 ++--
 components/camel-jira/src/main/docs/jira-component.adoc | 2 +-
 .../java/org/apache/camel/component/jira/JiraConfiguration.java | 6 +++---
 .../user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_18.adoc | 5 +
 .../camel/builder/component/dsl/JiraComponentBuilderFactory.java| 5 +++--
 6 files changed, 16 insertions(+), 10 deletions(-)



[GitHub] [camel] github-actions[bot] opened a new pull request, #7833: Generated sources regen

2022-06-20 Thread GitBox


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

   Regen bot :robot: found some uncommitted changes after running build on 
:camel: main.
   Please do not delete `regen_bot` branch after merge/rebase.


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

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



[GitHub] [camel-quarkus] zhfeng opened a new pull request, #3866: Fix #3863 to use quarkus-extension-maven-plugin

2022-06-20 Thread GitBox


zhfeng opened a new pull request, #3866:
URL: https://github.com/apache/camel-quarkus/pull/3866

   


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

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



[GitHub] [camel-quarkus] zhfeng opened a new pull request, #3865: Fix #3864 to add nofile ulimit in ArangodbTestResource

2022-06-20 Thread GitBox


zhfeng opened a new pull request, #3865:
URL: https://github.com/apache/camel-quarkus/pull/3865

   


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

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



[camel-spring-boot] branch main updated: Regen

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

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


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

commit ee8b1c91970ec18154189b91c8d97901d13857af
Author: Claus Ibsen 
AuthorDate: Tue Jun 21 07:23:29 2022 +0200

Regen
---
 .../org/apache/camel/springboot/catalog/components/jira.json  | 4 ++--
 components-starter/camel-jira-starter/src/main/docs/jira.json | 2 +-
 .../camel/component/jira/springboot/JiraComponentConfiguration.java   | 4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git 
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/jira.json
 
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/jira.json
index d60c1b55d06..69d291d27a9 100644
--- 
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/jira.json
+++ 
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/jira.json
@@ -30,7 +30,7 @@
 "configuration": { "kind": "property", "displayName": "Configuration", 
"group": "advanced", "label": "advanced", "required": false, "type": "object", 
"javaType": "org.apache.camel.component.jira.JiraConfiguration", "deprecated": 
false, "autowired": false, "secret": false, "description": "To use a shared 
base jira configuration." },
 "accessToken": { "kind": "property", "displayName": "Access Token", 
"group": "security", "label": "security", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": true, "configurationClass": 
"org.apache.camel.component.jira.JiraConfiguration", "configurationField": 
"configuration", "description": "(OAuth or Personal Access Token 
authentication) The access token generated by the Jira server." },
 "consumerKey": { "kind": "property", "displayName": "Consumer Key", 
"group": "security", "label": "security", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": true, "configurationClass": 
"org.apache.camel.component.jira.JiraConfiguration", "configurationField": 
"configuration", "description": "(OAuth only) The consumer key from Jira 
settings." },
-"password": { "kind": "property", "displayName": "Password", "group": 
"security", "label": "security", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": true, "configurationClass": 
"org.apache.camel.component.jira.JiraConfiguration", "configurationField": 
"configuration", "description": "(Basic authentication only) The password to 
authenticate to the Jira server. Use only if username basic authentication is 
used." },
+"password": { "kind": "property", "displayName": "Password", "group": 
"security", "label": "security", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": true, "configurationClass": 
"org.apache.camel.component.jira.JiraConfiguration", "configurationField": 
"configuration", "description": "(Basic authentication only) The password or 
the API Token to authenticate to the Jira server. Use only if username basic 
authenti [...]
 "privateKey": { "kind": "property", "displayName": "Private Key", "group": 
"security", "label": "security", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": true, "configurationClass": 
"org.apache.camel.component.jira.JiraConfiguration", "configurationField": 
"configuration", "description": "(OAuth only) The private key generated by the 
client to encrypt the conversation to the server." },
 "username": { "kind": "property", "displayName": "Username", "group": 
"security", "label": "security", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": true, "configurationClass": 
"org.apache.camel.component.jira.JiraConfiguration", "configurationField": 
"configuration", "description": "(Basic authentication only) The username to 
authenticate to the Jira server. Use only if OAuth is not enabled on the Jira 
server. [...]
 "verificationCode": { "kind": "property", "displayName": "Verification 
Code", "group": "security", "label": "security", "required": false, "type": 
"string", "javaType": "java.lang.String", "deprecated": false, "autowired": 
false, "secret": true, "configurationClass": 
"org.apache.camel.component.jira.JiraConfiguration", "configurationField": 
"configuration", "description": "(OAuth only) The verification code from Jira 
generated in the first step of the 

[camel] branch main updated: Regen

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

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


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

commit ce2e321b457de52afddbcca32026aa13a595f0e8
Author: Claus Ibsen 
AuthorDate: Tue Jun 21 07:22:22 2022 +0200

Regen
---
 .../org/apache/camel/catalog/components/jira.json |  4 ++--
 .../resources/org/apache/camel/component/jira/jira.json   |  4 ++--
 .../component/dsl/JiraComponentBuilderFactory.java|  5 +++--
 .../builder/endpoint/dsl/JiraEndpointBuilderFactory.java  | 15 +--
 4 files changed, 16 insertions(+), 12 deletions(-)

diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/jira.json
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/jira.json
index 39f2f7c88de..f3ee96cf4a8 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/jira.json
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/jira.json
@@ -30,7 +30,7 @@
 "configuration": { "kind": "property", "displayName": "Configuration", 
"group": "advanced", "label": "advanced", "required": false, "type": "object", 
"javaType": "org.apache.camel.component.jira.JiraConfiguration", "deprecated": 
false, "autowired": false, "secret": false, "description": "To use a shared 
base jira configuration." },
 "accessToken": { "kind": "property", "displayName": "Access Token", 
"group": "security", "label": "security", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": true, "configurationClass": 
"org.apache.camel.component.jira.JiraConfiguration", "configurationField": 
"configuration", "description": "(OAuth or Personal Access Token 
authentication) The access token generated by the Jira server." },
 "consumerKey": { "kind": "property", "displayName": "Consumer Key", 
"group": "security", "label": "security", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": true, "configurationClass": 
"org.apache.camel.component.jira.JiraConfiguration", "configurationField": 
"configuration", "description": "(OAuth only) The consumer key from Jira 
settings." },
-"password": { "kind": "property", "displayName": "Password", "group": 
"security", "label": "security", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": true, "configurationClass": 
"org.apache.camel.component.jira.JiraConfiguration", "configurationField": 
"configuration", "description": "(Basic authentication only) The password to 
authenticate to the Jira server. Use only if username basic authentication is 
used." },
+"password": { "kind": "property", "displayName": "Password", "group": 
"security", "label": "security", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": true, "configurationClass": 
"org.apache.camel.component.jira.JiraConfiguration", "configurationField": 
"configuration", "description": "(Basic authentication only) The password or 
the API Token to authenticate to the Jira server. Use only if username basic 
authenti [...]
 "privateKey": { "kind": "property", "displayName": "Private Key", "group": 
"security", "label": "security", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": true, "configurationClass": 
"org.apache.camel.component.jira.JiraConfiguration", "configurationField": 
"configuration", "description": "(OAuth only) The private key generated by the 
client to encrypt the conversation to the server." },
 "username": { "kind": "property", "displayName": "Username", "group": 
"security", "label": "security", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": true, "configurationClass": 
"org.apache.camel.component.jira.JiraConfiguration", "configurationField": 
"configuration", "description": "(Basic authentication only) The username to 
authenticate to the Jira server. Use only if OAuth is not enabled on the Jira 
server. [...]
 "verificationCode": { "kind": "property", "displayName": "Verification 
Code", "group": "security", "label": "security", "required": false, "type": 
"string", "javaType": "java.lang.String", "deprecated": false, "autowired": 
false, "secret": true, "configurationClass": 
"org.apache.camel.component.jira.JiraConfiguration", "configurationField": 
"configuration", "description": "(OAuth only) The verification code from Jira 
generated in the first step of the authorization proccess." }
@@ -69,7 +69,7 @@
 

[GitHub] [camel-quarkus] zhfeng opened a new issue, #3864: arangodb integration tests failing with can not start container

2022-06-20 Thread GitBox


zhfeng opened a new issue, #3864:
URL: https://github.com/apache/camel-quarkus/issues/3864

   ```
   2022-06-21 13:02:35,127 ERROR [ [arangodb:latest]] (pool-3-thread-1) Log 
output from the failed container:
   Initializing database...Hang on...
   
   ```
   
   It is similar like https://github.com/apache/camel-quarkus/issues/3860 and 
arangodb needs `nofiles` at least `65535`


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org.apache.org

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



[camel-kamelets] branch regen_bot updated (05815de6 -> 08dae171)

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

github-bot pushed a change to branch regen_bot
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git


from 05815de6 Regen for commit 63d93ce16fc8bc5e5cdece4f125199629d6108c8 
(#948)
 add 08dae171 Fix identation of steps in yaml dsl examples (#950)

No new revisions were added by this update.

Summary of changes:
 .../core/avro-deserialize-action-binding.yaml  | 30 
 .../core/avro-serialize-action-binding.yaml| 18 ++---
 .../bindings/core/aws-cloudwatch-sink-binding.yaml | 17 ++---
 .../core/aws-ddb-streams-source-binding.yaml   |  7 +-
 templates/bindings/core/aws-ec2-sink-binding.yaml  | 15 ++--
 .../core/aws-kinesis-firehose-sink-binding.yaml| 18 ++---
 .../bindings/core/aws-kinesis-sink-binding.yaml| 17 ++---
 .../bindings/core/aws-kinesis-source-binding.yaml  |  7 +-
 .../bindings/core/aws-lambda-sink-binding.yaml | 17 ++---
 .../bindings/core/aws-redshift-sink-binding.yaml   | 19 +++--
 .../bindings/core/aws-redshift-source-binding.yaml |  7 +-
 templates/bindings/core/aws-s3-sink-binding.yaml   | 17 ++---
 templates/bindings/core/aws-s3-source-binding.yaml |  7 +-
 .../core/aws-s3-streaming-upload-sink-binding.yaml | 19 +++--
 .../core/aws-secrets-manager-sink-binding.yaml | 15 ++--
 .../bindings/core/aws-sns-fifo-sink-binding.yaml   | 17 ++---
 templates/bindings/core/aws-sns-sink-binding.yaml  | 17 ++---
 .../bindings/core/aws-sqs-batch-sink-binding.yaml  | 19 +++--
 .../bindings/core/aws-sqs-fifo-sink-binding.yaml   | 17 ++---
 templates/bindings/core/aws-sqs-sink-binding.yaml  | 17 ++---
 .../bindings/core/aws-sqs-source-binding.yaml  |  7 +-
 .../core/aws-translate-action-binding.yaml | 22 +++---
 .../core/azure-cosmosdb-source-binding.yaml|  7 +-
 .../core/azure-eventhubs-sink-binding.yaml | 17 ++---
 .../core/azure-eventhubs-source-binding.yaml   |  7 +-
 .../core/azure-storage-blob-sink-binding.yaml  | 15 ++--
 .../core/azure-storage-blob-source-binding.yaml|  7 +-
 .../core/azure-storage-queue-sink-binding.yaml | 15 ++--
 .../core/azure-storage-queue-source-binding.yaml   |  7 +-
 .../bindings/core/bitcoin-source-binding.yaml  |  7 +-
 .../bindings/core/caffeine-action-binding.yaml | 86 +++---
 .../bindings/core/cassandra-sink-binding.yaml  | 17 ++---
 .../bindings/core/cassandra-source-binding.yaml|  7 +-
 .../bindings/core/chuck-norris-source-binding.yaml |  7 +-
 .../core/chunk-template-action-binding.yaml| 14 ++--
 .../bindings/core/couchbase-sink-binding.yaml  | 15 ++--
 templates/bindings/core/cron-source-binding.yaml   |  7 +-
 templates/bindings/core/delay-action-binding.yaml  | 14 ++--
 .../bindings/core/dns-dig-action-binding.yaml  | 10 +--
 templates/bindings/core/dns-ip-action-binding.yaml | 10 +--
 .../bindings/core/dns-lookup-action-binding.yaml   | 10 +--
 templates/bindings/core/dropbox-sink-binding.yaml  | 15 ++--
 .../bindings/core/dropbox-source-binding.yaml  |  7 +-
 .../bindings/core/earthquake-source-binding.yaml   |  7 +-
 .../core/elasticsearch-index-sink-binding.yaml | 13 ++--
 .../core/elasticsearch-search-source-binding.yaml  |  7 +-
 templates/bindings/core/exec-sink-binding.yaml | 11 ++-
 .../core/extract-field-action-binding.yaml | 14 ++--
 templates/bindings/core/fhir-source-binding.yaml   |  7 +-
 .../bindings/core/file-watch-source-binding.yaml   |  7 +-
 .../core/freemarker-template-action-binding.yaml   | 14 ++--
 templates/bindings/core/ftp-sink-binding.yaml  | 17 ++---
 templates/bindings/core/ftp-source-binding.yaml|  7 +-
 templates/bindings/core/ftps-sink-binding.yaml | 17 ++---
 templates/bindings/core/ftps-source-binding.yaml   |  7 +-
 .../core/github-commit-source-binding.yaml |  7 +-
 .../bindings/core/github-event-source-binding.yaml |  7 +-
 templates/bindings/core/github-source-binding.yaml |  7 +-
 .../bindings/core/github-tag-source-binding.yaml   |  7 +-
 .../core/google-calendar-source-binding.yaml   |  7 +-
 .../core/google-functions-sink-binding.yaml| 17 ++---
 .../bindings/core/google-mail-source-binding.yaml  |  7 +-
 .../bindings/core/google-pubsub-sink-binding.yaml  | 15 ++--
 .../core/google-pubsub-source-binding.yaml |  7 +-
 .../core/google-sheets-source-binding.yaml |  7 +-
 .../bindings/core/google-storage-sink-binding.yaml | 13 ++--
 .../core/google-storage-source-binding.yaml|  7 +-
 .../core/has-header-filter-action-binding.yaml | 24 +++---
 .../core/header-matches-filter-action-binding.yaml | 14 ++--
 .../bindings/core/hoist-field-action-binding.yaml  | 14 ++--
 .../bindings/core/http-secured-sink-binding.yaml   | 11 ++-
 .../bindings/core/http-secured-source-binding.yaml |  7 +-
 templates/bindings/core/http-sink-binding.yaml | 11 ++-
 templates/bindings/core/http-source-binding.yaml   |  7 +-
 

[camel-kamelets] branch main updated: Fix identation of steps in yaml dsl examples (#950)

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

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


The following commit(s) were added to refs/heads/main by this push:
 new 08dae171 Fix identation of steps in yaml dsl examples (#950)
08dae171 is described below

commit 08dae17177a804bfef60f08d399fb56a96383a86
Author: Claudio Miranda 
AuthorDate: Tue Jun 21 02:04:25 2022 -0300

Fix identation of steps in yaml dsl examples (#950)
---
 .../core/avro-deserialize-action-binding.yaml  | 30 
 .../core/avro-serialize-action-binding.yaml| 18 ++---
 .../bindings/core/aws-cloudwatch-sink-binding.yaml | 17 ++---
 .../core/aws-ddb-streams-source-binding.yaml   |  7 +-
 templates/bindings/core/aws-ec2-sink-binding.yaml  | 15 ++--
 .../core/aws-kinesis-firehose-sink-binding.yaml| 18 ++---
 .../bindings/core/aws-kinesis-sink-binding.yaml| 17 ++---
 .../bindings/core/aws-kinesis-source-binding.yaml  |  7 +-
 .../bindings/core/aws-lambda-sink-binding.yaml | 17 ++---
 .../bindings/core/aws-redshift-sink-binding.yaml   | 19 +++--
 .../bindings/core/aws-redshift-source-binding.yaml |  7 +-
 templates/bindings/core/aws-s3-sink-binding.yaml   | 17 ++---
 templates/bindings/core/aws-s3-source-binding.yaml |  7 +-
 .../core/aws-s3-streaming-upload-sink-binding.yaml | 19 +++--
 .../core/aws-secrets-manager-sink-binding.yaml | 15 ++--
 .../bindings/core/aws-sns-fifo-sink-binding.yaml   | 17 ++---
 templates/bindings/core/aws-sns-sink-binding.yaml  | 17 ++---
 .../bindings/core/aws-sqs-batch-sink-binding.yaml  | 19 +++--
 .../bindings/core/aws-sqs-fifo-sink-binding.yaml   | 17 ++---
 templates/bindings/core/aws-sqs-sink-binding.yaml  | 17 ++---
 .../bindings/core/aws-sqs-source-binding.yaml  |  7 +-
 .../core/aws-translate-action-binding.yaml | 22 +++---
 .../core/azure-cosmosdb-source-binding.yaml|  7 +-
 .../core/azure-eventhubs-sink-binding.yaml | 17 ++---
 .../core/azure-eventhubs-source-binding.yaml   |  7 +-
 .../core/azure-storage-blob-sink-binding.yaml  | 15 ++--
 .../core/azure-storage-blob-source-binding.yaml|  7 +-
 .../core/azure-storage-queue-sink-binding.yaml | 15 ++--
 .../core/azure-storage-queue-source-binding.yaml   |  7 +-
 .../bindings/core/bitcoin-source-binding.yaml  |  7 +-
 .../bindings/core/caffeine-action-binding.yaml | 86 +++---
 .../bindings/core/cassandra-sink-binding.yaml  | 17 ++---
 .../bindings/core/cassandra-source-binding.yaml|  7 +-
 .../bindings/core/chuck-norris-source-binding.yaml |  7 +-
 .../core/chunk-template-action-binding.yaml| 14 ++--
 .../bindings/core/couchbase-sink-binding.yaml  | 15 ++--
 templates/bindings/core/cron-source-binding.yaml   |  7 +-
 templates/bindings/core/delay-action-binding.yaml  | 14 ++--
 .../bindings/core/dns-dig-action-binding.yaml  | 10 +--
 templates/bindings/core/dns-ip-action-binding.yaml | 10 +--
 .../bindings/core/dns-lookup-action-binding.yaml   | 10 +--
 templates/bindings/core/dropbox-sink-binding.yaml  | 15 ++--
 .../bindings/core/dropbox-source-binding.yaml  |  7 +-
 .../bindings/core/earthquake-source-binding.yaml   |  7 +-
 .../core/elasticsearch-index-sink-binding.yaml | 13 ++--
 .../core/elasticsearch-search-source-binding.yaml  |  7 +-
 templates/bindings/core/exec-sink-binding.yaml | 11 ++-
 .../core/extract-field-action-binding.yaml | 14 ++--
 templates/bindings/core/fhir-source-binding.yaml   |  7 +-
 .../bindings/core/file-watch-source-binding.yaml   |  7 +-
 .../core/freemarker-template-action-binding.yaml   | 14 ++--
 templates/bindings/core/ftp-sink-binding.yaml  | 17 ++---
 templates/bindings/core/ftp-source-binding.yaml|  7 +-
 templates/bindings/core/ftps-sink-binding.yaml | 17 ++---
 templates/bindings/core/ftps-source-binding.yaml   |  7 +-
 .../core/github-commit-source-binding.yaml |  7 +-
 .../bindings/core/github-event-source-binding.yaml |  7 +-
 templates/bindings/core/github-source-binding.yaml |  7 +-
 .../bindings/core/github-tag-source-binding.yaml   |  7 +-
 .../core/google-calendar-source-binding.yaml   |  7 +-
 .../core/google-functions-sink-binding.yaml| 17 ++---
 .../bindings/core/google-mail-source-binding.yaml  |  7 +-
 .../bindings/core/google-pubsub-sink-binding.yaml  | 15 ++--
 .../core/google-pubsub-source-binding.yaml |  7 +-
 .../core/google-sheets-source-binding.yaml |  7 +-
 .../bindings/core/google-storage-sink-binding.yaml | 13 ++--
 .../core/google-storage-source-binding.yaml|  7 +-
 .../core/has-header-filter-action-binding.yaml | 24 +++---
 .../core/header-matches-filter-action-binding.yaml | 14 ++--
 .../bindings/core/hoist-field-action-binding.yaml  | 14 ++--
 .../bindings/core/http-secured-sink-binding.yaml   | 11 ++-
 .../bindings/core/http-secured-source-binding.yaml |  7 +-
 

[GitHub] [camel-kamelets] davsclaus merged pull request #950: Fix identation of steps in yaml dsl examples

2022-06-20 Thread GitBox


davsclaus merged PR #950:
URL: https://github.com/apache/camel-kamelets/pull/950


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

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



[camel] branch main updated: Camel-18170 - Updating the Google Calendar component doc (#7832)

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

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


The following commit(s) were added to refs/heads/main by this push:
 new efa24a173c0 Camel-18170 - Updating the Google Calendar component doc 
(#7832)
efa24a173c0 is described below

commit efa24a173c09302d47f942c3ec3783b0b31cb8e9
Author: Rhuan Rocha 
AuthorDate: Tue Jun 21 02:02:13 2022 -0300

Camel-18170 - Updating the Google Calendar component doc (#7832)

Signed-off-by: Rhuan Rocha 
---
 docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_18.adoc | 5 +
 1 file changed, 5 insertions(+)

diff --git 
a/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_18.adoc 
b/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_18.adoc
index e6e431bb557..d01c841e46f 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_18.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_18.adoc
@@ -29,6 +29,11 @@ The `camel-milo` feature has been removed.
 The `keyResource` option has been changed to `serviceAccountKey` to match to 
Google semantic. Then, if you use the `keyResource` 
 to Google Drive component, you should update it to  `serviceAccountKey`.
 
+=== camel-google-calendar
+
+The `keyResource` option has been changed to `serviceAccountKey` to match to 
Google semantic. Then, if you use the `keyResource` 
+to Google Calendar component, you should update it to  `serviceAccountKey`.
+
 === camel-yaml-dsl
 
 The YAML DSL schema files `camel-yaml-dsl.json` and `camelYamlDsl.json` has 
been moved from root to `schema` sub folder in the JAR.



[GitHub] [camel] davsclaus merged pull request #7832: Camel-18170 - google calendar doc

2022-06-20 Thread GitBox


davsclaus merged PR #7832:
URL: https://github.com/apache/camel/pull/7832


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

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



[camel] branch main updated: camel-jira: Document the use of API Token as password for basic auth (#7831)

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

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


The following commit(s) were added to refs/heads/main by this push:
 new 09b05a74175 camel-jira: Document the use of API Token as password for 
basic auth (#7831)
09b05a74175 is described below

commit 09b05a7417546e1eb6c997aff7f1b8855043e8d5
Author: Claudio Miranda 
AuthorDate: Tue Jun 21 02:01:52 2022 -0300

camel-jira: Document the use of API Token as password for basic auth (#7831)
---
 components/camel-jira/src/main/docs/jira-component.adoc   | 2 +-
 .../main/java/org/apache/camel/component/jira/JiraConfiguration.java  | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/components/camel-jira/src/main/docs/jira-component.adoc 
b/components/camel-jira/src/main/docs/jira-component.adoc
index cc063ef3b3f..67f5e473827 100644
--- a/components/camel-jira/src/main/docs/jira-component.adoc
+++ b/components/camel-jira/src/main/docs/jira-component.adoc
@@ -96,7 +96,7 @@ We recommend to use OAuth whenever possible, as it provides 
the best security fo
 
 === Basic authentication requirements:
 
-* An username and password
+* An username and a password or the API Token. Verify if the Jira server 
installation supports the use of 
https://support.atlassian.com/atlassian-account/docs/manage-api-tokens-for-your-atlassian-account/[API
 Tokens] instead of the user's password. This way the user's password is not 
exposed.
 
 === OAuth authentication requirements:
 
diff --git 
a/components/camel-jira/src/main/java/org/apache/camel/component/jira/JiraConfiguration.java
 
b/components/camel-jira/src/main/java/org/apache/camel/component/jira/JiraConfiguration.java
index c98d770902d..2874b016a4b 100644
--- 
a/components/camel-jira/src/main/java/org/apache/camel/component/jira/JiraConfiguration.java
+++ 
b/components/camel-jira/src/main/java/org/apache/camel/component/jira/JiraConfiguration.java
@@ -110,7 +110,7 @@ public class JiraConfiguration implements Cloneable {
 
 /**
  * Time in milliseconds to elapse for the next poll.
- * 
+ *
  * @param delay Integer time in milliseconds
  */
 public void setDelay(Integer delay) {
@@ -135,7 +135,7 @@ public class JiraConfiguration implements Cloneable {
 }
 
 /**
- * (Basic authentication only) The password to authenticate to the Jira 
server. Use only if username basic
+ * (Basic authentication only) The password or the API Token to 
authenticate to the Jira server. Use only if username basic
  * authentication is used.
  */
 public void setPassword(String password) {



[GitHub] [camel] davsclaus merged pull request #7831: camel-jira: Document the use of API Token as password for basic auth

2022-06-20 Thread GitBox


davsclaus merged PR #7831:
URL: https://github.com/apache/camel/pull/7831


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

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



[GitHub] [camel-kafka-connector] github-actions[bot] opened a new pull request, #1381: [Github Actions] Periodic Sync Camel-kafka-connector main Branch

2022-06-20 Thread GitBox


github-actions[bot] opened a new pull request, #1381:
URL: https://github.com/apache/camel-kafka-connector/pull/1381

   Periodic Sync of Camel Kafka connector main Branch with main Camel Main.
   see 
https://github.com/apache/camel-kafka-connector/blob/main/.github/workflows/automatic-sync-camel-main.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.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

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



[camel-kafka-connector] branch automatic-periodic-sync created (now 7afc2e35b)

2022-06-20 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-kafka-connector.git


  at 7afc2e35b [create-pull-request] automated change

No new revisions were added by this update.



[GitHub] [camel] github-actions[bot] commented on pull request #7832: Camel-18170 - google calendar doc

2022-06-20 Thread GitBox


github-actions[bot] commented on PR #7832:
URL: https://github.com/apache/camel/pull/7832#issuecomment-1161236483

   :no_entry_sign: There are (likely) no components to be tested in this PR


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

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



[camel-quarkus] branch main updated: Updated CHANGELOG.md

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

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


The following commit(s) were added to refs/heads/main by this push:
 new f8781a2ec1 Updated CHANGELOG.md
f8781a2ec1 is described below

commit f8781a2ec1e961dfd6bcaa8a8e20915221a4272b
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Tue Jun 21 03:41:28 2022 +

Updated CHANGELOG.md
---
 CHANGELOG.md | 21 +
 1 file changed, 13 insertions(+), 8 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0d26624c43..a35c667a35 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,10 +6,15 @@
 
 **Closed issues:**
 
+- paho-mqtt5 test failing with `Error: Unable to create websockets listener on 
port 9001` [\#3860](https://github.com/apache/camel-quarkus/issues/3860)
 - Camel TypeConverterLoader in native mode 
[\#3857](https://github.com/apache/camel-quarkus/issues/3857)
 
 **Merged pull requests:**
 
+- paho-mqtt5 test failing with Error: Unable to create websockets liste… 
[\#3861](https://github.com/apache/camel-quarkus/pull/3861) 
([ppalaga](https://github.com/ppalaga))
+- Use JUnit fail static method import instead of JSoup 
[\#3859](https://github.com/apache/camel-quarkus/pull/3859) 
([jamesnetherton](https://github.com/jamesnetherton))
+- Next is 2.11.0 [\#3855](https://github.com/apache/camel-quarkus/pull/3855) 
([zhfeng](https://github.com/zhfeng))
+- file: attempt atomic move to fix flakiness \#3584 
[\#3854](https://github.com/apache/camel-quarkus/pull/3854) 
([aldettinger](https://github.com/aldettinger))
 - update openapi-java usage.adoc 
[\#3853](https://github.com/apache/camel-quarkus/pull/3853) 
([zhfeng](https://github.com/zhfeng))
 - Fix \#3828 to update openapi-java document 
[\#3852](https://github.com/apache/camel-quarkus/pull/3852) 
([zhfeng](https://github.com/zhfeng))
 - Upgrade Quarkus to 2.10.0.Final 
[\#3851](https://github.com/apache/camel-quarkus/pull/3851) 
([jamesnetherton](https://github.com/jamesnetherton))
@@ -1114,21 +1119,14 @@
 
 - \[Quarkus 2.10.0\] Unable to build native image with XML JAXB extension 
[\#3838](https://github.com/apache/camel-quarkus/issues/3838)
 - \[Quarkus 2.10.0\] `ElasticsearchRestTest.testElasticsearchDeleteIndex` test 
failue [\#3831](https://github.com/apache/camel-quarkus/issues/3831)
-- KeyStoreParameters is not in reflection list on Salesforce component. 
[\#3754](https://github.com/apache/camel-quarkus/issues/3754)
 - Duplicate JMSMessageIDs in camel-quarkus-activemq 
[\#3807](https://github.com/apache/camel-quarkus/issues/3807)
 - Registry lookup for overridden `DefaultBean` types does not work 
[\#3797](https://github.com/apache/camel-quarkus/issues/3797)
 - Slack integration tests fail with the real Slack service 
[\#3781](https://github.com/apache/camel-quarkus/issues/3781)
+- KeyStoreParameters is not in reflection list on Salesforce component. 
[\#3754](https://github.com/apache/camel-quarkus/issues/3754)
 
 **Closed issues:**
 
-- aws2-s3 downloadLink test does not work with the real AWS account 
[\#3829](https://github.com/apache/camel-quarkus/issues/3829)
-- Improve openapi-java component documentation 
[\#3828](https://github.com/apache/camel-quarkus/issues/3828)
-- Unable to find a JDBC driver corresponding to the database kind 
'postgresql', when camel-quarkus-quartz dependency added 
[\#3823](https://github.com/apache/camel-quarkus/issues/3823)
 - Changes in health endpoint with camel from Quarkus version 2.7.5 to version 
\>=2.8.0 [\#3799](https://github.com/apache/camel-quarkus/issues/3799)
-- Improve camel-quarkus-velocity test coverage 
[\#3790](https://github.com/apache/camel-quarkus/issues/3790)
-- net.openhft:affinity included in flattened BOM only on Mac 
[\#3788](https://github.com/apache/camel-quarkus/issues/3788)
-- \[Camel 3.17.0\] openApi oneOf, allOf and anyOf with annotation @Schema 
[\#3774](https://github.com/apache/camel-quarkus/issues/3774)
-- \[Camel 3.17.0\] Restore `jakarta-mail-version` placeholder in 
`jakarta.mail.version` property 
[\#3771](https://github.com/apache/camel-quarkus/issues/3771)
 - URL to the Kafka brokers must be configured with the brokers option in 
native mode \(continued\) 
[\#3742](https://github.com/apache/camel-quarkus/issues/3742)
 - \[Camel 3.17.0\] Property placeholder resolution is broken 
[\#3739](https://github.com/apache/camel-quarkus/issues/3739)
 - Create an Azure Key Vault Extension 
[\#3688](https://github.com/apache/camel-quarkus/issues/3688)
@@ -1144,11 +1142,18 @@
 - Intermittent failures in OpenstackGlanceTest 
[\#2862](https://github.com/apache/camel-quarkus/issues/2862)
 - camel-zookeeper-master - Avoid osgi lookup 
[\#2221](https://github.com/apache/camel-quarkus/issues/2221)
 - Properties Bean configure not working with AMQP and Infinispan 
[\#1935](https://github.com/apache/camel-quarkus/issues/1935)
+- 

[GitHub] [camel-quarkus] github-actions[bot] commented on issue #2927: [CI] - Camel Main Branch Build Failure

2022-06-20 Thread GitBox


github-actions[bot] commented on issue #2927:
URL: https://github.com/apache/camel-quarkus/issues/2927#issuecomment-1161209463

   The [camel-main](https://github.com/apache/camel-quarkus/tree/camel-main) 
branch build has failed:
   
   * Build ID: 2532221078-685-0fbc53af-d523-4f50-ba29-9774b0e29388
   * Camel Quarkus Commit: 4ded1f917070a4471909bf2f89bb0c384d53ef69
   
   * Camel Main Commit: 470cb4c80c40be8f7f69719a563782af4adb8ff1
   * Link to build: 
https://github.com/apache/camel-quarkus/actions/runs/2532221078


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

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



[camel-k] branch main updated: Updated CHANGELOG.md

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

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


The following commit(s) were added to refs/heads/main by this push:
 new ec20e70b0 Updated CHANGELOG.md
ec20e70b0 is described below

commit ec20e70b0fe33a3dc48d2bb802680aa7a8109d31
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Tue Jun 21 03:37:35 2022 +

Updated CHANGELOG.md
---
 CHANGELOG.md | 1 +
 1 file changed, 1 insertion(+)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 538bfb9c6..adc954d83 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -25,6 +25,7 @@
 - Modify e2e tests so that if failed the tests is repeated in a new namespace 
[\#2965](https://github.com/apache/camel-k/issues/2965)
 - Update readiness condition based on new Camel health check format 
[\#2886](https://github.com/apache/camel-k/issues/2886)
 - Using REST as consumer and producer appends PATH to producer URL 
[\#2867](https://github.com/apache/camel-k/issues/2867)
+- Adding mavens settings-security.xml to the spec.build.maven is not possible 
[\#2747](https://github.com/apache/camel-k/issues/2747)
 - Kamel 1.5.1 CLI generates broken zsh completions 
[\#2622](https://github.com/apache/camel-k/issues/2622)
 - ImagePullBackOff when node failed 
[\#2485](https://github.com/apache/camel-k/issues/2485)
 - Debug seems not to work on knative pods 
[\#2474](https://github.com/apache/camel-k/issues/2474)



[GitHub] [camel] rhuan080 opened a new pull request, #7832: Camel-18170 - google calendar doc

2022-06-20 Thread GitBox


rhuan080 opened a new pull request, #7832:
URL: https://github.com/apache/camel/pull/7832

   
   - [ ] 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/main/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.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

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



[camel-k] branch main updated: chore(trait): use k8s.io/utils/pointer instead of homemade utils for pointer operations

2022-06-20 Thread tsato
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/main by this push:
 new c2a11bcf7 chore(trait): use k8s.io/utils/pointer instead of homemade 
utils for pointer operations
c2a11bcf7 is described below

commit c2a11bcf705f27c7d6c75a187cf3759d99dc63f3
Author: Tadayoshi Sato 
AuthorDate: Mon Jun 20 21:17:49 2022 +0900

chore(trait): use k8s.io/utils/pointer instead of homemade utils for 
pointer operations
---
 addons/tracing/tracing.go  |  6 --
 addons/tracing/tracing_test.go |  5 -
 pkg/trait/affinity.go  | 17 
 pkg/trait/affinity_test.go | 13 ++--
 pkg/trait/builder.go   |  3 ++-
 pkg/trait/builder_test.go  |  3 ++-
 pkg/trait/camel.go |  3 ++-
 pkg/trait/camel_test.go|  5 +++--
 pkg/trait/container.go |  9 +
 pkg/trait/cron.go  | 19 +-
 pkg/trait/dependencies.go  |  4 +++-
 pkg/trait/deployer.go  |  7 ---
 pkg/trait/deployment.go|  5 +++--
 pkg/trait/deployment_test.go   |  5 +++--
 pkg/trait/environment.go   | 10 ++
 pkg/trait/error_handler.go |  4 +++-
 pkg/trait/gc.go|  3 ++-
 pkg/trait/gc_test.go   |  5 +++--
 pkg/trait/health.go| 17 
 pkg/trait/ingress.go   |  5 +++--
 pkg/trait/ingress_test.go  |  9 +
 pkg/trait/init.go  |  4 +++-
 pkg/trait/istio.go |  3 ++-
 pkg/trait/jolokia.go   |  3 ++-
 pkg/trait/jolokia_test.go  |  7 ---
 pkg/trait/jvm.go   | 13 ++--
 pkg/trait/jvm_test.go  | 11 ++-
 pkg/trait/kamelets.go  |  5 +++--
 pkg/trait/knative.go   | 19 +-
 pkg/trait/knative_service.go   |  5 +++--
 pkg/trait/logging.go   | 10 ++
 pkg/trait/mount.go |  3 ++-
 pkg/trait/openapi.go   |  3 ++-
 pkg/trait/owner.go |  3 ++-
 pkg/trait/pdb.go   |  3 ++-
 pkg/trait/pdb_test.go  |  3 ++-
 pkg/trait/platform.go  |  9 +
 pkg/trait/platform_test.go |  9 ++---
 pkg/trait/pod.go   |  3 ++-
 pkg/trait/pod_test.go  |  3 ++-
 pkg/trait/prometheus.go|  7 ---
 pkg/trait/pull_secret.go   |  9 +
 pkg/trait/pull_secret_test.go  |  8 +---
 pkg/trait/quarkus.go   |  5 +++--
 pkg/trait/quarkus_test.go  |  6 --
 pkg/trait/registry.go  |  7 ---
 pkg/trait/route.go |  3 ++-
 pkg/trait/service.go   |  7 ---
 pkg/trait/service_binding.go   |  7 ---
 pkg/trait/toleration.go|  3 ++-
 pkg/trait/toleration_test.go   |  3 ++-
 pkg/trait/util.go  | 29 ---
 pkg/trait/util_test.go | 45 --
 53 files changed, 202 insertions(+), 213 deletions(-)

diff --git a/addons/tracing/tracing.go b/addons/tracing/tracing.go
index e1e6da6bf..dc3843c3c 100644
--- a/addons/tracing/tracing.go
+++ b/addons/tracing/tracing.go
@@ -18,6 +18,8 @@ limitations under the License.
 package tracing
 
 import (
+   "k8s.io/utils/pointer"
+
"github.com/apache/camel-k/addons/tracing/discovery"
v1 "github.com/apache/camel-k/pkg/apis/camel/v1"
"github.com/apache/camel-k/pkg/trait"
@@ -76,11 +78,11 @@ func NewTracingTrait() trait.Trait {
 }
 
 func (t *tracingTrait) Configure(e *trait.Environment) (bool, error) {
-   if trait.IsNilOrFalse(t.Enabled) {
+   if !pointer.BoolDeref(t.Enabled, false) {
return false, nil
}
 
-   if trait.IsNilOrTrue(t.Auto) {
+   if pointer.BoolDeref(t.Auto, true) {
if t.Endpoint == "" {
for _, locator := range discovery.TracingLocators {
endpoint, err := locator.FindEndpoint(e.Ctx, 
t.Client, t.L, e)
diff --git a/addons/tracing/tracing_test.go b/addons/tracing/tracing_test.go
index e787304f2..e81707261 100644
--- a/addons/tracing/tracing_test.go
+++ b/addons/tracing/tracing_test.go
@@ -23,14 +23,17 @@ import (
v1 "github.com/apache/camel-k/pkg/apis/camel/v1"
"github.com/apache/camel-k/pkg/trait"
"github.com/apache/camel-k/pkg/util/camel"
+
"github.com/stretchr/testify/assert"
+
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
+   "k8s.io/utils/pointer"
 )
 
 func TestTracingTraitOnQuarkus(t *testing.T) {
e := createEnvironment(t, camel.QuarkusCatalog)
tracing := NewTracingTrait()
-   tracing.(*tracingTrait).Enabled = trait.BoolP(true)
+   tracing.(*tracingTrait).Enabled = pointer.Bool(true)
tracing.(*tracingTrait).Endpoint = "http://endpoint3;
ok, err := tracing.Configure(e)
assert.Nil(t, err)
diff --git 

[GitHub] [camel-k] tadayosi merged pull request #3377: chore(trait): use k8s.io/utils/pointer instead of homemade utils for pointer operations

2022-06-20 Thread GitBox


tadayosi merged PR #3377:
URL: https://github.com/apache/camel-k/pull/3377


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

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



[GitHub] [camel-karavan] mgubaidullin closed issue #378: Camel 3.18 - camel-yaml-dsl - Schema file moved

2022-06-20 Thread GitBox


mgubaidullin closed issue #378: Camel 3.18 - camel-yaml-dsl - Schema file moved
URL: https://github.com/apache/camel-karavan/issues/378


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

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



[GitHub] [camel-karavan] mgubaidullin commented on issue #378: Camel 3.18 - camel-yaml-dsl - Schema file moved

2022-06-20 Thread GitBox


mgubaidullin commented on issue #378:
URL: https://github.com/apache/camel-karavan/issues/378#issuecomment-1160991577

   Done
   https://github.com/apache/camel-karavan/pull/379


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

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



[GitHub] [camel-karavan] mgubaidullin merged pull request #379: Bump generator to Camel 3.18.0-SNAPSHOT

2022-06-20 Thread GitBox


mgubaidullin merged PR #379:
URL: https://github.com/apache/camel-karavan/pull/379


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

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



[camel-k] branch dependabot/go_modules/github.com/prometheus/common-0.35.0 created (now 78138a8bd)

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

github-bot pushed a change to branch 
dependabot/go_modules/github.com/prometheus/common-0.35.0
in repository https://gitbox.apache.org/repos/asf/camel-k.git


  at 78138a8bd chore(deps): bump github.com/prometheus/common from 0.34.0 
to 0.35.0

No new revisions were added by this update.



[GitHub] [camel-k] dependabot[bot] opened a new pull request, #3380: chore(deps): bump github.com/prometheus/common from 0.34.0 to 0.35.0

2022-06-20 Thread GitBox


dependabot[bot] opened a new pull request, #3380:
URL: https://github.com/apache/camel-k/pull/3380

   Bumps [github.com/prometheus/common](https://github.com/prometheus/common) 
from 0.34.0 to 0.35.0.
   
   Commits
   
   https://github.com/prometheus/common/commit/26d49741eb3c6b0e69af1f9278688bf0eb6bef0b;>26d4974
 Add more mimetypes (https://github-redirect.dependabot.com/prometheus/common/issues/385;>#385)
   https://github.com/prometheus/common/commit/627089d3a7af73be778847aa577192b937b8d89a;>627089d
 Set minimum version for go to 1.16 (https://github-redirect.dependabot.com/prometheus/common/issues/372;>#372)
   See full diff in https://github.com/prometheus/common/compare/v0.34.0...v0.35.0;>compare 
view
   
   
   
   
   
   [![Dependabot compatibility 
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/prometheus/common=go_modules=0.34.0=0.35.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
   
   Dependabot will resolve any conflicts with this PR as long as you don't 
alter it yourself. You can also trigger a rebase manually by commenting 
`@dependabot rebase`.
   
   [//]: # (dependabot-automerge-start)
   [//]: # (dependabot-automerge-end)
   
   ---
   
   
   Dependabot commands and options
   
   
   You can trigger Dependabot actions by commenting on this PR:
   - `@dependabot rebase` will rebase this PR
   - `@dependabot recreate` will recreate this PR, overwriting any edits that 
have been made to it
   - `@dependabot merge` will merge this PR after your CI passes on it
   - `@dependabot squash and merge` will squash and merge this PR after your CI 
passes on it
   - `@dependabot cancel merge` will cancel a previously requested merge and 
block automerging
   - `@dependabot reopen` will reopen this PR if it is closed
   - `@dependabot close` will close this PR and stop Dependabot recreating it. 
You can achieve the same result by closing it manually
   - `@dependabot ignore this major version` will close this PR and stop 
Dependabot creating any more for this major version (unless you reopen the PR 
or upgrade to it yourself)
   - `@dependabot ignore this minor version` will close this PR and stop 
Dependabot creating any more for this minor version (unless you reopen the PR 
or upgrade to it yourself)
   - `@dependabot ignore this dependency` will close this PR and stop 
Dependabot creating any more for this dependency (unless you reopen the PR or 
upgrade to it yourself)
   
   
   


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

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



[camel-k] branch dependabot/go_modules/github.com/stretchr/testify-1.7.4 created (now 7339643a1)

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

github-bot pushed a change to branch 
dependabot/go_modules/github.com/stretchr/testify-1.7.4
in repository https://gitbox.apache.org/repos/asf/camel-k.git


  at 7339643a1 chore(deps): bump github.com/stretchr/testify from 1.7.2 to 
1.7.4

No new revisions were added by this update.



[GitHub] [camel-k] dependabot[bot] opened a new pull request, #3379: chore(deps): bump github.com/stretchr/testify from 1.7.2 to 1.7.4

2022-06-20 Thread GitBox


dependabot[bot] opened a new pull request, #3379:
URL: https://github.com/apache/camel-k/pull/3379

   Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) 
from 1.7.2 to 1.7.4.
   
   Commits
   
   https://github.com/stretchr/testify/commit/48391ba5eb8c5f49132138e67ec112d180b88f63;>48391ba
 Fix panic in AssertExpectations for mocks without expectations (https://github-redirect.dependabot.com/stretchr/testify/issues/1207;>#1207)
   https://github.com/stretchr/testify/commit/840cb801497147a6d30a568e0874dfefb10867a9;>840cb80
 arrays value types in a zero-initialized state are considered empty (https://github-redirect.dependabot.com/stretchr/testify/issues/1126;>#1126)
   https://github.com/stretchr/testify/commit/07dc7ee5abe6d1c0ef6449f731ca9bf08e1787f8;>07dc7ee
 Bump actions/setup-go from 3.1.0 to 3.2.0 (https://github-redirect.dependabot.com/stretchr/testify/issues/1191;>#1191)
   https://github.com/stretchr/testify/commit/c33fc8d30db6f6d2c5d270c5023eb0f2181bbab5;>c33fc8d
 Bump actions/checkout from 2 to 3 (https://github-redirect.dependabot.com/stretchr/testify/issues/1163;>#1163)
   https://github.com/stretchr/testify/commit/3c33e07c4c233bf61e1414f5acb3cda06ffef1d1;>3c33e07
 Added Go 1.18.1 as a build/supported version (https://github-redirect.dependabot.com/stretchr/testify/issues/1182;>#1182)
   https://github.com/stretchr/testify/commit/e2b56b3a384eb40136b2cff13e07e932dd95bf28;>e2b56b3
 Bump github.com/stretchr/objx from 0.1.0 to 0.4.0
   See full diff in https://github.com/stretchr/testify/compare/v1.7.2...v1.7.4;>compare 
view
   
   
   
   
   
   [![Dependabot compatibility 
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/stretchr/testify=go_modules=1.7.2=1.7.4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
   
   Dependabot will resolve any conflicts with this PR as long as you don't 
alter it yourself. You can also trigger a rebase manually by commenting 
`@dependabot rebase`.
   
   [//]: # (dependabot-automerge-start)
   [//]: # (dependabot-automerge-end)
   
   ---
   
   
   Dependabot commands and options
   
   
   You can trigger Dependabot actions by commenting on this PR:
   - `@dependabot rebase` will rebase this PR
   - `@dependabot recreate` will recreate this PR, overwriting any edits that 
have been made to it
   - `@dependabot merge` will merge this PR after your CI passes on it
   - `@dependabot squash and merge` will squash and merge this PR after your CI 
passes on it
   - `@dependabot cancel merge` will cancel a previously requested merge and 
block automerging
   - `@dependabot reopen` will reopen this PR if it is closed
   - `@dependabot close` will close this PR and stop Dependabot recreating it. 
You can achieve the same result by closing it manually
   - `@dependabot ignore this major version` will close this PR and stop 
Dependabot creating any more for this major version (unless you reopen the PR 
or upgrade to it yourself)
   - `@dependabot ignore this minor version` will close this PR and stop 
Dependabot creating any more for this minor version (unless you reopen the PR 
or upgrade to it yourself)
   - `@dependabot ignore this dependency` will close this PR and stop 
Dependabot creating any more for this dependency (unless you reopen the PR or 
upgrade to it yourself)
   
   
   


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

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



[GitHub] [camel-quarkus] zhfeng opened a new issue, #3863: quarkus-bootstrap-maven-plugin is deprecated

2022-06-20 Thread GitBox


zhfeng opened a new issue, #3863:
URL: https://github.com/apache/camel-quarkus/issues/3863

   Some warning messages are
   
   ```
   [WARNING] This Maven plugin was deprecated in favor of 
io.quarkus:quarkus-extension-maven-plugin:2.10.0.Final, please, update the 
artifactId of the plugin in your project configuration.
   ```


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org.apache.org

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



[GitHub] [camel-quarkus] zhfeng merged pull request #3862: [2.7.x] Upgrades & backports

2022-06-20 Thread GitBox


zhfeng merged PR #3862:
URL: https://github.com/apache/camel-quarkus/pull/3862


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

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



[camel-quarkus] branch main updated: paho-mqtt5 test failing with Error: Unable to create websockets listener on port 9001 #3860 (#3861)

2022-06-20 Thread zhfeng
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/main by this push:
 new 470cb4c80c paho-mqtt5 test failing with Error: Unable to create 
websockets listener on port 9001 #3860 (#3861)
470cb4c80c is described below

commit 470cb4c80c40be8f7f69719a563782af4adb8ff1
Author: Peter Palaga 
AuthorDate: Tue Jun 21 02:06:30 2022 +0200

paho-mqtt5 test failing with Error: Unable to create websockets listener on 
port 9001 #3860 (#3861)
---
 .../quarkus/component/paho/mqtt5/it/PahoMqtt5TestResource.java  | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git 
a/integration-tests/paho-mqtt5/src/test/java/org/apache/camel/quarkus/component/paho/mqtt5/it/PahoMqtt5TestResource.java
 
b/integration-tests/paho-mqtt5/src/test/java/org/apache/camel/quarkus/component/paho/mqtt5/it/PahoMqtt5TestResource.java
index 59581c7815..d6d17d2d2c 100644
--- 
a/integration-tests/paho-mqtt5/src/test/java/org/apache/camel/quarkus/component/paho/mqtt5/it/PahoMqtt5TestResource.java
+++ 
b/integration-tests/paho-mqtt5/src/test/java/org/apache/camel/quarkus/component/paho/mqtt5/it/PahoMqtt5TestResource.java
@@ -19,6 +19,7 @@ package org.apache.camel.quarkus.component.paho.mqtt5.it;
 import java.util.HashMap;
 import java.util.Map;
 
+import com.github.dockerjava.api.model.Ulimit;
 import io.quarkus.test.common.QuarkusTestResourceLifecycleManager;
 import org.apache.camel.quarkus.test.AvailablePortFinder;
 import org.apache.camel.util.CollectionHelper;
@@ -89,8 +90,9 @@ public class PahoMqtt5TestResource implements 
QuarkusTestResourceLifecycleManage
 }
 
 container.withLogConsumer(new Slf4jLogConsumer(LOGGER))
-.waitingFor(Wait.forLogMessage(".* mosquitto version .* 
running", 1))
-.waitingFor(Wait.forListeningPort());
+.waitingFor(Wait.forLogMessage(".* mosquitto version .* 
running.*", 1))
+.withCreateContainerCmdModifier(
+cmd -> cmd.getHostConfig().withUlimits(new 
Ulimit[] { new Ulimit("nofile", 512L, 512L) }));
 
 if (startContainer) {
 container.start();



[GitHub] [camel-quarkus] zhfeng merged pull request #3861: paho-mqtt5 test failing with Error: Unable to create websockets liste…

2022-06-20 Thread GitBox


zhfeng merged PR #3861:
URL: https://github.com/apache/camel-quarkus/pull/3861


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

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



[GitHub] [camel-quarkus] zhfeng closed issue #3860: paho-mqtt5 test failing with `Error: Unable to create websockets listener on port 9001`

2022-06-20 Thread GitBox


zhfeng closed issue #3860: paho-mqtt5 test failing with `Error: Unable to 
create websockets listener on port 9001`
URL: https://github.com/apache/camel-quarkus/issues/3860


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

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



[GitHub] [camel] github-actions[bot] commented on pull request #7831: camel-jira: Document the use of API Token as password for basic auth

2022-06-20 Thread GitBox


github-actions[bot] commented on PR #7831:
URL: https://github.com/apache/camel/pull/7831#issuecomment-1160941901

   :x: Finished component verification: **1 component(s) test failed** out of 1 
component(s) tested


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

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



[GitHub] [camel] github-actions[bot] commented on pull request #7831: camel-jira: Document the use of API Token as password for basic auth

2022-06-20 Thread GitBox


github-actions[bot] commented on PR #7831:
URL: https://github.com/apache/camel/pull/7831#issuecomment-1160892233

   :warning: This PR changes Camel components and will be tested automatically.


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

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



[GitHub] [camel-kamelets] claudio4j opened a new pull request, #950: Fix identation of steps in yaml dsl examples

2022-06-20 Thread GitBox


claudio4j opened a new pull request, #950:
URL: https://github.com/apache/camel-kamelets/pull/950

   
   Running any yaml dsl binding examples from `templates/bindings/core` 
directory, there is a parser error:
   ``
   Failed to start application (with profile prod): 
org.apache.camel.dsl.yaml.common.exception.UnsupportedFieldException: 
Unsupported field (steps) for node: ; value=67671827 }{ key=; value=2031927175 })>
   ``
   
   Related to a [camel change in yaml 
dsl](https://camel.apache.org/manual/camel-3x-upgrade-guide-3_15.html#_camel_yaml_dsl)
   


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

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



[camel] branch regen_bot updated (29a0b709cf2 -> f2eb5cb8dec)

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

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


from 29a0b709cf2 Upgrade Mybatis to version 3.5.10 (#7830)
 add 47983c97e56 CAMEL-18210: camel-core - Pooled exchanges in batch 
consumer may use an exchange concurrently
 add ce776919f9b CAMEL-18210: camel-core - Pooled exchanges in batch 
consumer may use an exchange concurrently
 add f2eb5cb8dec CAMEL-18210: camel-core - Pooled exchanges in batch 
consumer may use an exchange concurrently

No new revisions were added by this update.

Summary of changes:
 .../component/jms/JmsInOnlyPooledExchangeTest.java | 37 +++---
 .../http/NettyHttpSimplePooledExchangeTest.java| 31 --
 .../sjms/consumer/InOnlyPooledExchangeTest.java| 36 +++--
 .../camel/impl/engine/DefaultUnitOfWork.java   |  6 +++-
 .../processor/BatchConsumerPooledExchangeTest.java | 17 ++
 5 files changed, 110 insertions(+), 17 deletions(-)



[camel] branch regen_bot updated (7d4c7d6761e -> 29a0b709cf2)

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

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


from 7d4c7d6761e CAMEL-18027: camel-netty (producer) wrongly closes client 
channels due to request timeout being triggeted during eviction run
 add 29a0b709cf2 Upgrade Mybatis to version 3.5.10 (#7830)

No new revisions were added by this update.

Summary of changes:
 camel-dependencies/pom.xml | 2 +-
 parent/pom.xml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)



[camel] branch camel-3.14.x updated (f3364deebb1 -> cbf45af8f52)

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

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


from f3364deebb1 CAMEL-18027: camel-netty (producer) wrongly closes client 
channels due to request timeout being triggeted during eviction run
 new 33ff92bd5a3 CAMEL-18210: camel-core - Pooled exchanges in batch 
consumer may use an exchange concurrently
 new cbf45af8f52 CAMEL-18210: camel-core - Pooled exchanges in batch 
consumer may use an exchange concurrently

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:
 .../org/apache/camel/impl/engine/DefaultUnitOfWork.java |  6 +-
 .../processor/BatchConsumerPooledExchangeTest.java  | 17 +++--
 2 files changed, 16 insertions(+), 7 deletions(-)



[camel] 02/02: CAMEL-18210: camel-core - Pooled exchanges in batch consumer may use an exchange concurrently

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

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

commit cbf45af8f523869c8a47d9bac13fe9628138e677
Author: Claus Ibsen 
AuthorDate: Mon Jun 20 21:36:23 2022 +0200

CAMEL-18210: camel-core - Pooled exchanges in batch consumer may use an 
exchange concurrently
---
 .../processor/BatchConsumerPooledExchangeTest.java  | 17 +++--
 1 file changed, 11 insertions(+), 6 deletions(-)

diff --git 
a/core/camel-core/src/test/java/org/apache/camel/processor/BatchConsumerPooledExchangeTest.java
 
b/core/camel-core/src/test/java/org/apache/camel/processor/BatchConsumerPooledExchangeTest.java
index 0c5b017e2c2..4d44889707b 100644
--- 
a/core/camel-core/src/test/java/org/apache/camel/processor/BatchConsumerPooledExchangeTest.java
+++ 
b/core/camel-core/src/test/java/org/apache/camel/processor/BatchConsumerPooledExchangeTest.java
@@ -16,6 +16,7 @@
  */
 package org.apache.camel.processor;
 
+import java.util.concurrent.TimeUnit;
 import java.util.concurrent.atomic.AtomicInteger;
 import java.util.concurrent.atomic.AtomicReference;
 
@@ -29,6 +30,7 @@ import org.apache.camel.component.mock.MockEndpoint;
 import org.apache.camel.impl.engine.PooledExchangeFactory;
 import org.apache.camel.impl.engine.PooledProcessorExchangeFactory;
 import org.apache.camel.spi.PooledObjectFactory;
+import org.awaitility.Awaitility;
 import org.junit.jupiter.api.BeforeEach;
 import org.junit.jupiter.api.Test;
 
@@ -43,6 +45,7 @@ public class BatchConsumerPooledExchangeTest extends 
ContextTestSupport {
 @Override
 protected CamelContext createCamelContext() throws Exception {
 ExtendedCamelContext ecc = (ExtendedCamelContext) 
super.createCamelContext();
+
 ecc.setExchangeFactory(new PooledExchangeFactory());
 ecc.setProcessorExchangeFactory(new PooledProcessorExchangeFactory());
 ecc.getExchangeFactory().setStatisticsEnabled(true);
@@ -74,12 +77,14 @@ public class BatchConsumerPooledExchangeTest extends 
ContextTestSupport {
 
 assertMockEndpointsSatisfied();
 
-PooledObjectFactory.Statistics stat
-= 
context.adapt(ExtendedCamelContext.class).getExchangeFactoryManager().getStatistics();
-assertEquals(1, stat.getCreatedCounter());
-assertEquals(2, stat.getAcquiredCounter());
-assertEquals(3, stat.getReleasedCounter());
-assertEquals(0, stat.getDiscardedCounter());
+Awaitility.waitAtMost(2, TimeUnit.SECONDS).untilAsserted(() -> {
+PooledObjectFactory.Statistics stat
+= 
context.adapt(ExtendedCamelContext.class).getExchangeFactoryManager().getStatistics();
+assertEquals(1, stat.getCreatedCounter());
+assertEquals(2, stat.getAcquiredCounter());
+assertEquals(3, stat.getReleasedCounter());
+assertEquals(0, stat.getDiscardedCounter());
+});
 }
 
 @Override



[camel] 01/02: CAMEL-18210: camel-core - Pooled exchanges in batch consumer may use an exchange concurrently

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

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

commit 33ff92bd5a367200a14f3dab42a3723058563447
Author: Claus Ibsen 
AuthorDate: Mon Jun 20 20:07:32 2022 +0200

CAMEL-18210: camel-core - Pooled exchanges in batch consumer may use an 
exchange concurrently
---
 .../main/java/org/apache/camel/impl/engine/DefaultUnitOfWork.java   | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git 
a/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultUnitOfWork.java
 
b/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultUnitOfWork.java
index 36821bbfc1a..704d0d56f85 100644
--- 
a/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultUnitOfWork.java
+++ 
b/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultUnitOfWork.java
@@ -259,7 +259,11 @@ public class DefaultUnitOfWork implements UnitOfWork {
 // pooled exchange has its own done logic which will reset this 
uow for reuse
 // so do not call onDone
 try {
-((PooledExchange) exchange).done();
+PooledExchange pooled = (PooledExchange) exchange;
+// only trigger done if we should auto-release
+if (pooled.isAutoRelease()) {
+((PooledExchange) exchange).done();
+}
 } catch (Throwable e) {
 // must catch exceptions to ensure synchronizations is also 
invoked
 log.warn("Exception occurred during exchange done. This 
exception will be ignored.", e);



[camel] 02/03: CAMEL-18210: camel-core - Pooled exchanges in batch consumer may use an exchange concurrently

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

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

commit ce776919f9b245b1ea67438bfbbe7298a0afe611
Author: Claus Ibsen 
AuthorDate: Mon Jun 20 21:36:23 2022 +0200

CAMEL-18210: camel-core - Pooled exchanges in batch consumer may use an 
exchange concurrently
---
 .../processor/BatchConsumerPooledExchangeTest.java  | 17 +++--
 1 file changed, 11 insertions(+), 6 deletions(-)

diff --git 
a/core/camel-core/src/test/java/org/apache/camel/processor/BatchConsumerPooledExchangeTest.java
 
b/core/camel-core/src/test/java/org/apache/camel/processor/BatchConsumerPooledExchangeTest.java
index 0c5b017e2c2..4d44889707b 100644
--- 
a/core/camel-core/src/test/java/org/apache/camel/processor/BatchConsumerPooledExchangeTest.java
+++ 
b/core/camel-core/src/test/java/org/apache/camel/processor/BatchConsumerPooledExchangeTest.java
@@ -16,6 +16,7 @@
  */
 package org.apache.camel.processor;
 
+import java.util.concurrent.TimeUnit;
 import java.util.concurrent.atomic.AtomicInteger;
 import java.util.concurrent.atomic.AtomicReference;
 
@@ -29,6 +30,7 @@ import org.apache.camel.component.mock.MockEndpoint;
 import org.apache.camel.impl.engine.PooledExchangeFactory;
 import org.apache.camel.impl.engine.PooledProcessorExchangeFactory;
 import org.apache.camel.spi.PooledObjectFactory;
+import org.awaitility.Awaitility;
 import org.junit.jupiter.api.BeforeEach;
 import org.junit.jupiter.api.Test;
 
@@ -43,6 +45,7 @@ public class BatchConsumerPooledExchangeTest extends 
ContextTestSupport {
 @Override
 protected CamelContext createCamelContext() throws Exception {
 ExtendedCamelContext ecc = (ExtendedCamelContext) 
super.createCamelContext();
+
 ecc.setExchangeFactory(new PooledExchangeFactory());
 ecc.setProcessorExchangeFactory(new PooledProcessorExchangeFactory());
 ecc.getExchangeFactory().setStatisticsEnabled(true);
@@ -74,12 +77,14 @@ public class BatchConsumerPooledExchangeTest extends 
ContextTestSupport {
 
 assertMockEndpointsSatisfied();
 
-PooledObjectFactory.Statistics stat
-= 
context.adapt(ExtendedCamelContext.class).getExchangeFactoryManager().getStatistics();
-assertEquals(1, stat.getCreatedCounter());
-assertEquals(2, stat.getAcquiredCounter());
-assertEquals(3, stat.getReleasedCounter());
-assertEquals(0, stat.getDiscardedCounter());
+Awaitility.waitAtMost(2, TimeUnit.SECONDS).untilAsserted(() -> {
+PooledObjectFactory.Statistics stat
+= 
context.adapt(ExtendedCamelContext.class).getExchangeFactoryManager().getStatistics();
+assertEquals(1, stat.getCreatedCounter());
+assertEquals(2, stat.getAcquiredCounter());
+assertEquals(3, stat.getReleasedCounter());
+assertEquals(0, stat.getDiscardedCounter());
+});
 }
 
 @Override



[camel] branch main updated (29a0b709cf2 -> f2eb5cb8dec)

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

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


from 29a0b709cf2 Upgrade Mybatis to version 3.5.10 (#7830)
 new 47983c97e56 CAMEL-18210: camel-core - Pooled exchanges in batch 
consumer may use an exchange concurrently
 new ce776919f9b CAMEL-18210: camel-core - Pooled exchanges in batch 
consumer may use an exchange concurrently
 new f2eb5cb8dec CAMEL-18210: camel-core - Pooled exchanges in batch 
consumer may use an exchange concurrently

The 3 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:
 .../component/jms/JmsInOnlyPooledExchangeTest.java | 37 +++---
 .../http/NettyHttpSimplePooledExchangeTest.java| 31 --
 .../sjms/consumer/InOnlyPooledExchangeTest.java| 36 +++--
 .../camel/impl/engine/DefaultUnitOfWork.java   |  6 +++-
 .../processor/BatchConsumerPooledExchangeTest.java | 17 ++
 5 files changed, 110 insertions(+), 17 deletions(-)



[camel] 01/03: CAMEL-18210: camel-core - Pooled exchanges in batch consumer may use an exchange concurrently

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

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

commit 47983c97e56a33c9ca24d61532fded68df8fd6d9
Author: Claus Ibsen 
AuthorDate: Mon Jun 20 20:07:32 2022 +0200

CAMEL-18210: camel-core - Pooled exchanges in batch consumer may use an 
exchange concurrently
---
 .../main/java/org/apache/camel/impl/engine/DefaultUnitOfWork.java   | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git 
a/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultUnitOfWork.java
 
b/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultUnitOfWork.java
index 36821bbfc1a..704d0d56f85 100644
--- 
a/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultUnitOfWork.java
+++ 
b/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultUnitOfWork.java
@@ -259,7 +259,11 @@ public class DefaultUnitOfWork implements UnitOfWork {
 // pooled exchange has its own done logic which will reset this 
uow for reuse
 // so do not call onDone
 try {
-((PooledExchange) exchange).done();
+PooledExchange pooled = (PooledExchange) exchange;
+// only trigger done if we should auto-release
+if (pooled.isAutoRelease()) {
+((PooledExchange) exchange).done();
+}
 } catch (Throwable e) {
 // must catch exceptions to ensure synchronizations is also 
invoked
 log.warn("Exception occurred during exchange done. This 
exception will be ignored.", e);



[camel] 03/03: CAMEL-18210: camel-core - Pooled exchanges in batch consumer may use an exchange concurrently

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

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

commit f2eb5cb8decf18a98228ca2a75417bf8ce768b15
Author: Claus Ibsen 
AuthorDate: Mon Jun 20 21:41:47 2022 +0200

CAMEL-18210: camel-core - Pooled exchanges in batch consumer may use an 
exchange concurrently
---
 .../component/jms/JmsInOnlyPooledExchangeTest.java | 37 +++---
 .../http/NettyHttpSimplePooledExchangeTest.java| 31 --
 .../sjms/consumer/InOnlyPooledExchangeTest.java| 36 +++--
 3 files changed, 94 insertions(+), 10 deletions(-)

diff --git 
a/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsInOnlyPooledExchangeTest.java
 
b/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsInOnlyPooledExchangeTest.java
index e05dadd1aad..60f87e05a70 100644
--- 
a/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsInOnlyPooledExchangeTest.java
+++ 
b/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsInOnlyPooledExchangeTest.java
@@ -16,6 +16,8 @@
  */
 package org.apache.camel.component.jms;
 
+import java.util.concurrent.TimeUnit;
+
 import javax.jms.ConnectionFactory;
 
 import org.apache.camel.CamelContext;
@@ -23,10 +25,14 @@ import org.apache.camel.ExtendedCamelContext;
 import org.apache.camel.builder.RouteBuilder;
 import org.apache.camel.component.mock.MockEndpoint;
 import org.apache.camel.impl.engine.PooledExchangeFactory;
+import org.apache.camel.impl.engine.PooledProcessorExchangeFactory;
+import org.apache.camel.spi.PooledObjectFactory;
 import org.apache.camel.test.junit5.CamelTestSupport;
+import org.awaitility.Awaitility;
 import org.junit.jupiter.api.Test;
 
 import static 
org.apache.camel.component.jms.JmsComponent.jmsComponentAutoAcknowledge;
+import static org.junit.jupiter.api.Assertions.assertEquals;
 
 public class JmsInOnlyPooledExchangeTest extends CamelTestSupport {
 
@@ -43,6 +49,15 @@ public class JmsInOnlyPooledExchangeTest extends 
CamelTestSupport {
 template.sendBody(JMS_QUEUE_NAME, expectedBody);
 
 mock.assertIsSatisfied();
+
+Awaitility.waitAtMost(2, TimeUnit.SECONDS).untilAsserted(() -> {
+PooledObjectFactory.Statistics stat
+= 
context.adapt(ExtendedCamelContext.class).getExchangeFactoryManager().getStatistics();
+assertEquals(1, stat.getCreatedCounter());
+assertEquals(0, stat.getAcquiredCounter());
+assertEquals(1, stat.getReleasedCounter());
+assertEquals(0, stat.getDiscardedCounter());
+});
 }
 
 @Test
@@ -54,16 +69,30 @@ public class JmsInOnlyPooledExchangeTest extends 
CamelTestSupport {
 template.sendBody(JMS_QUEUE_NAME, "Bye World");
 
 mock.assertIsSatisfied();
+
+Awaitility.waitAtMost(2, TimeUnit.SECONDS).untilAsserted(() -> {
+PooledObjectFactory.Statistics stat
+= 
context.adapt(ExtendedCamelContext.class).getExchangeFactoryManager().getStatistics();
+assertEquals(1, stat.getCreatedCounter());
+assertEquals(1, stat.getAcquiredCounter());
+assertEquals(2, stat.getReleasedCounter());
+assertEquals(0, stat.getDiscardedCounter());
+});
 }
 
 @Override
 protected CamelContext createCamelContext() throws Exception {
-CamelContext camelContext = super.createCamelContext();
-camelContext.adapt(ExtendedCamelContext.class).setExchangeFactory(new 
PooledExchangeFactory());
+ExtendedCamelContext ecc = (ExtendedCamelContext) 
super.createCamelContext();
+
+ecc.setExchangeFactory(new PooledExchangeFactory());
+ecc.setProcessorExchangeFactory(new PooledProcessorExchangeFactory());
+ecc.getExchangeFactory().setStatisticsEnabled(true);
+ecc.getProcessorExchangeFactory().setStatisticsEnabled(true);
 
 ConnectionFactory connectionFactory = 
CamelJmsTestHelper.createConnectionFactory();
-camelContext.addComponent("activemq", 
jmsComponentAutoAcknowledge(connectionFactory));
-return camelContext;
+ecc.addComponent("activemq", 
jmsComponentAutoAcknowledge(connectionFactory));
+
+return ecc;
 }
 
 @Override
diff --git 
a/components/camel-netty-http/src/test/java/org/apache/camel/component/netty/http/NettyHttpSimplePooledExchangeTest.java
 
b/components/camel-netty-http/src/test/java/org/apache/camel/component/netty/http/NettyHttpSimplePooledExchangeTest.java
index f9428d18e28..ea5e647857d 100644
--- 
a/components/camel-netty-http/src/test/java/org/apache/camel/component/netty/http/NettyHttpSimplePooledExchangeTest.java
+++ 
b/components/camel-netty-http/src/test/java/org/apache/camel/component/netty/http/NettyHttpSimplePooledExchangeTest.java
@@ -22,6 +22,8 @@ import org.apache.camel.CamelContext;
 import org.apache.camel.ExtendedCamelContext;

[camel] branch main updated: Upgrade Mybatis to version 3.5.10 (#7830)

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

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


The following commit(s) were added to refs/heads/main by this push:
 new 29a0b709cf2 Upgrade Mybatis to version 3.5.10 (#7830)
29a0b709cf2 is described below

commit 29a0b709cf218f83cd8e37fac9318dc46c23185f
Author: Amos Feng 
AuthorDate: Tue Jun 21 03:19:47 2022 +0800

Upgrade Mybatis to version 3.5.10 (#7830)
---
 camel-dependencies/pom.xml | 2 +-
 parent/pom.xml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/camel-dependencies/pom.xml b/camel-dependencies/pom.xml
index b20049478d4..14462da25b8 100644
--- a/camel-dependencies/pom.xml
+++ b/camel-dependencies/pom.xml
@@ -418,7 +418,7 @@
 4.6.0
 0.9.10
 2.4.14.Final
-3.5.9
+3.5.10
 5.12.6.Final
 0.4.0
 1.0.0.Beta4
diff --git a/parent/pom.xml b/parent/pom.xml
index 2692003fb2e..99e2d73a29c 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -405,7 +405,7 @@
 1.5.0
 0.9.10
 2.4.14.Final
-3.5.9
+3.5.10
 5.12.6.Final
 1.0.0.Beta4
 1.0.1



[GitHub] [camel] davsclaus merged pull request #7830: Upgrade Mybatis to version 3.5.10

2022-06-20 Thread GitBox


davsclaus merged PR #7830:
URL: https://github.com/apache/camel/pull/7830


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

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



[camel] branch regen_bot updated (8fb0cb3a168 -> 7d4c7d6761e)

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

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


from 8fb0cb3a168 CAMEL-18210: camel-core - Pooled exchanges in batch 
consumer may use an exchange concurrently
 add 7d4c7d6761e CAMEL-18027: camel-netty (producer) wrongly closes client 
channels due to request timeout being triggeted during eviction run

No new revisions were added by this update.

Summary of changes:
 .../main/java/org/apache/camel/component/netty/NettyProducer.java | 8 +---
 1 file changed, 5 insertions(+), 3 deletions(-)



[camel] branch regen_bot updated (319ce436572 -> 8fb0cb3a168)

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

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


from 319ce436572 (chores) camel-console: use format specifiers in log 
messages
 add 6a95f58c5c4 CAMEL-18210: camel-core - Pooled exchanges in batch 
consumer may use an exchange concurrently
 add 8fb0cb3a168 CAMEL-18210: camel-core - Pooled exchanges in batch 
consumer may use an exchange concurrently

No new revisions were added by this update.

Summary of changes:
 .../main/java/org/apache/camel/PooledExchange.java |  2 +-
 .../camel/impl/engine/DefaultUnitOfWork.java   |  2 +-
 .../camel/impl/engine/PooledExchangeFactory.java   | 24 ++--
 .../engine/PooledProcessorExchangeFactory.java | 26 +++--
 ...t.java => BatchConsumerPooledExchangeTest.java} | 44 +-
 .../apache/camel/processor/PooledExchangeTest.java | 29 ++
 .../org/apache/camel/support/DefaultConsumer.java  |  9 -
 .../camel/support/DefaultPooledExchange.java   |  6 +--
 8 files changed, 97 insertions(+), 45 deletions(-)
 copy 
core/camel-core/src/test/java/org/apache/camel/processor/{PooledExchangeTest.java
 => BatchConsumerPooledExchangeTest.java} (64%)



[camel] branch camel-3.14.x updated: CAMEL-18027: camel-netty (producer) wrongly closes client channels due to request timeout being triggeted during eviction run

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

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


The following commit(s) were added to refs/heads/camel-3.14.x by this push:
 new f3364deebb1 CAMEL-18027: camel-netty (producer) wrongly closes client 
channels due to request timeout being triggeted during eviction run
f3364deebb1 is described below

commit f3364deebb1df1af0febada22fd1a498a43a78de
Author: Claus Ibsen 
AuthorDate: Mon Jun 20 19:20:43 2022 +0200

CAMEL-18027: camel-netty (producer) wrongly closes client channels due to 
request timeout being triggeted during eviction run
---
 .../main/java/org/apache/camel/component/netty/NettyProducer.java | 8 +---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git 
a/components/camel-netty/src/main/java/org/apache/camel/component/netty/NettyProducer.java
 
b/components/camel-netty/src/main/java/org/apache/camel/component/netty/NettyProducer.java
index 44c795a5eaf..8b96ef3e27f 100644
--- 
a/components/camel-netty/src/main/java/org/apache/camel/component/netty/NettyProducer.java
+++ 
b/components/camel-netty/src/main/java/org/apache/camel/component/netty/NettyProducer.java
@@ -57,6 +57,7 @@ import org.apache.camel.util.IOHelper;
 import org.apache.commons.pool2.ObjectPool;
 import org.apache.commons.pool2.PooledObject;
 import org.apache.commons.pool2.PooledObjectFactory;
+import org.apache.commons.pool2.PooledObjectState;
 import org.apache.commons.pool2.impl.DefaultPooledObject;
 import org.apache.commons.pool2.impl.GenericObjectPool;
 import org.apache.commons.pool2.impl.GenericObjectPoolConfig;
@@ -113,8 +114,8 @@ public class NettyProducer extends DefaultAsyncProducer {
 config.setMaxIdle(configuration.getProducerPoolMaxIdle());
 // we should test on borrow to ensure the channel is still valid
 config.setTestOnBorrow(true);
-// only evict channels which are no longer valid
-config.setTestWhileIdle(true);
+// idle channels can be evicted
+config.setTestWhileIdle(false);
 // run eviction every 30th second
 config.setTimeBetweenEvictionRuns(Duration.ofSeconds(30));
 
config.setMinEvictableIdleTime(Duration.ofMillis(configuration.getProducerPoolMinEvictableIdle()));
@@ -610,8 +611,9 @@ public class NettyProducer extends DefaultAsyncProducer {
 ChannelFuture channelFuture = p.getObject();
 LOG.trace("activateObject channel request: {}", channelFuture);
 
+PooledObjectState state = p.getState();
 if (channelFuture.isSuccess() && 
producer.getConfiguration().getRequestTimeout() > 0) {
-LOG.trace("reset the request timeout as we activate the 
channel");
+LOG.trace("Reset the request timeout as we activate the 
channel");
 Channel channel = channelFuture.channel();
 
 ChannelHandler handler = channel.pipeline().get("timeout");



[camel] branch main updated: CAMEL-18027: camel-netty (producer) wrongly closes client channels due to request timeout being triggeted during eviction run

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

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


The following commit(s) were added to refs/heads/main by this push:
 new 7d4c7d6761e CAMEL-18027: camel-netty (producer) wrongly closes client 
channels due to request timeout being triggeted during eviction run
7d4c7d6761e is described below

commit 7d4c7d6761e458d72140f35acaf1d02a6ae089a4
Author: Claus Ibsen 
AuthorDate: Mon Jun 20 19:20:43 2022 +0200

CAMEL-18027: camel-netty (producer) wrongly closes client channels due to 
request timeout being triggeted during eviction run
---
 .../main/java/org/apache/camel/component/netty/NettyProducer.java | 8 +---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git 
a/components/camel-netty/src/main/java/org/apache/camel/component/netty/NettyProducer.java
 
b/components/camel-netty/src/main/java/org/apache/camel/component/netty/NettyProducer.java
index 44c795a5eaf..8b96ef3e27f 100644
--- 
a/components/camel-netty/src/main/java/org/apache/camel/component/netty/NettyProducer.java
+++ 
b/components/camel-netty/src/main/java/org/apache/camel/component/netty/NettyProducer.java
@@ -57,6 +57,7 @@ import org.apache.camel.util.IOHelper;
 import org.apache.commons.pool2.ObjectPool;
 import org.apache.commons.pool2.PooledObject;
 import org.apache.commons.pool2.PooledObjectFactory;
+import org.apache.commons.pool2.PooledObjectState;
 import org.apache.commons.pool2.impl.DefaultPooledObject;
 import org.apache.commons.pool2.impl.GenericObjectPool;
 import org.apache.commons.pool2.impl.GenericObjectPoolConfig;
@@ -113,8 +114,8 @@ public class NettyProducer extends DefaultAsyncProducer {
 config.setMaxIdle(configuration.getProducerPoolMaxIdle());
 // we should test on borrow to ensure the channel is still valid
 config.setTestOnBorrow(true);
-// only evict channels which are no longer valid
-config.setTestWhileIdle(true);
+// idle channels can be evicted
+config.setTestWhileIdle(false);
 // run eviction every 30th second
 config.setTimeBetweenEvictionRuns(Duration.ofSeconds(30));
 
config.setMinEvictableIdleTime(Duration.ofMillis(configuration.getProducerPoolMinEvictableIdle()));
@@ -610,8 +611,9 @@ public class NettyProducer extends DefaultAsyncProducer {
 ChannelFuture channelFuture = p.getObject();
 LOG.trace("activateObject channel request: {}", channelFuture);
 
+PooledObjectState state = p.getState();
 if (channelFuture.isSuccess() && 
producer.getConfiguration().getRequestTimeout() > 0) {
-LOG.trace("reset the request timeout as we activate the 
channel");
+LOG.trace("Reset the request timeout as we activate the 
channel");
 Channel channel = channelFuture.channel();
 
 ChannelHandler handler = channel.pipeline().get("timeout");



[GitHub] [camel-k] christophd opened a new issue, #3378: Add support for extended Knative trigger filters

2022-06-20 Thread GitBox


christophd opened a new issue, #3378:
URL: https://github.com/apache/camel-k/issues/3378

   Support extended Knative trigger filters in KameletBindings on source/sink 
level
   
   https://knative.dev/docs/eventing/experimental-features/new-trigger-filters/


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org.apache.org

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



[camel-quarkus] branch main updated: Use JUnit fail static method import instead of JSoup

2022-06-20 Thread ppalaga
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/main by this push:
 new 0a4b86 Use JUnit fail static method import instead of JSoup
0a4b86 is described below

commit 0a4b864f7c7ef7a3c797536edc1eb5a2322e
Author: James Netherton 
AuthorDate: Mon Jun 20 15:55:34 2022 +0100

Use JUnit fail static method import instead of JSoup
---
 .../camel/quarkus/component/jta/MandatoryJtaTransactionPolicyTest.java  | 2 +-
 .../camel/quarkus/component/jta/NeverJtaTransactionPolicyTest.java  | 2 +-
 .../quarkus/component/jta/NotSupportedJtaTransactionPolicyTest.java | 2 +-
 .../camel/quarkus/component/jta/RequiredJtaTransactionPolicyTest.java   | 2 +-
 .../quarkus/component/jta/RequiresNewJtaTransactionPolicyTest.java  | 2 +-
 .../camel/quarkus/component/jta/SupportsJtaTransactionPolicyTest.java   | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

diff --git 
a/extensions/jta/deployment/src/test/java/org/apache/camel/quarkus/component/jta/MandatoryJtaTransactionPolicyTest.java
 
b/extensions/jta/deployment/src/test/java/org/apache/camel/quarkus/component/jta/MandatoryJtaTransactionPolicyTest.java
index 4ac9c59ee4..a09fd8fa23 100644
--- 
a/extensions/jta/deployment/src/test/java/org/apache/camel/quarkus/component/jta/MandatoryJtaTransactionPolicyTest.java
+++ 
b/extensions/jta/deployment/src/test/java/org/apache/camel/quarkus/component/jta/MandatoryJtaTransactionPolicyTest.java
@@ -31,8 +31,8 @@ import org.junit.jupiter.api.AfterEach;
 import org.junit.jupiter.api.Test;
 import org.junit.jupiter.api.extension.RegisterExtension;
 
-import static org.jsoup.helper.Validate.fail;
 import static org.junit.jupiter.api.Assertions.assertTrue;
+import static org.junit.jupiter.api.Assertions.fail;
 import static org.mockito.Mockito.reset;
 import static org.mockito.Mockito.when;
 
diff --git 
a/extensions/jta/deployment/src/test/java/org/apache/camel/quarkus/component/jta/NeverJtaTransactionPolicyTest.java
 
b/extensions/jta/deployment/src/test/java/org/apache/camel/quarkus/component/jta/NeverJtaTransactionPolicyTest.java
index ae2f2f5d19..27aae78102 100644
--- 
a/extensions/jta/deployment/src/test/java/org/apache/camel/quarkus/component/jta/NeverJtaTransactionPolicyTest.java
+++ 
b/extensions/jta/deployment/src/test/java/org/apache/camel/quarkus/component/jta/NeverJtaTransactionPolicyTest.java
@@ -31,8 +31,8 @@ import org.junit.jupiter.api.AfterEach;
 import org.junit.jupiter.api.Test;
 import org.junit.jupiter.api.extension.RegisterExtension;
 
-import static org.jsoup.helper.Validate.fail;
 import static org.junit.jupiter.api.Assertions.assertTrue;
+import static org.junit.jupiter.api.Assertions.fail;
 import static org.mockito.Mockito.reset;
 import static org.mockito.Mockito.when;
 
diff --git 
a/extensions/jta/deployment/src/test/java/org/apache/camel/quarkus/component/jta/NotSupportedJtaTransactionPolicyTest.java
 
b/extensions/jta/deployment/src/test/java/org/apache/camel/quarkus/component/jta/NotSupportedJtaTransactionPolicyTest.java
index bde99c1a3b..aafffc2e3b 100644
--- 
a/extensions/jta/deployment/src/test/java/org/apache/camel/quarkus/component/jta/NotSupportedJtaTransactionPolicyTest.java
+++ 
b/extensions/jta/deployment/src/test/java/org/apache/camel/quarkus/component/jta/NotSupportedJtaTransactionPolicyTest.java
@@ -30,8 +30,8 @@ import org.junit.jupiter.api.AfterEach;
 import org.junit.jupiter.api.Test;
 import org.junit.jupiter.api.extension.RegisterExtension;
 
-import static org.jsoup.helper.Validate.fail;
 import static org.junit.jupiter.api.Assertions.assertTrue;
+import static org.junit.jupiter.api.Assertions.fail;
 import static org.mockito.Mockito.reset;
 import static org.mockito.Mockito.times;
 import static org.mockito.Mockito.verify;
diff --git 
a/extensions/jta/deployment/src/test/java/org/apache/camel/quarkus/component/jta/RequiredJtaTransactionPolicyTest.java
 
b/extensions/jta/deployment/src/test/java/org/apache/camel/quarkus/component/jta/RequiredJtaTransactionPolicyTest.java
index 368622676d..d5e43b993d 100644
--- 
a/extensions/jta/deployment/src/test/java/org/apache/camel/quarkus/component/jta/RequiredJtaTransactionPolicyTest.java
+++ 
b/extensions/jta/deployment/src/test/java/org/apache/camel/quarkus/component/jta/RequiredJtaTransactionPolicyTest.java
@@ -31,8 +31,8 @@ import org.junit.jupiter.api.AfterEach;
 import org.junit.jupiter.api.Test;
 import org.junit.jupiter.api.extension.RegisterExtension;
 
-import static org.jsoup.helper.Validate.fail;
 import static org.junit.jupiter.api.Assertions.assertTrue;
+import static org.junit.jupiter.api.Assertions.fail;
 import static org.mockito.Mockito.reset;
 import static org.mockito.Mockito.times;
 import static org.mockito.Mockito.verify;
diff --git 

[GitHub] [camel-quarkus] ppalaga merged pull request #3859: Use JUnit fail static method import instead of JSoup

2022-06-20 Thread GitBox


ppalaga merged PR #3859:
URL: https://github.com/apache/camel-quarkus/pull/3859


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

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



[GitHub] [camel-quarkus] ppalaga opened a new pull request, #3861: paho-mqtt5 test failing with Error: Unable to create websockets liste…

2022-06-20 Thread GitBox


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

   …ner on port 9001
   
   Fix #3860


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

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



[camel] 02/02: CAMEL-18210: camel-core - Pooled exchanges in batch consumer may use an exchange concurrently

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

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

commit 57c1b0cd92783307f2685be18c6db54cb10bd62e
Author: Claus Ibsen 
AuthorDate: Mon Jun 20 18:32:04 2022 +0200

CAMEL-18210: camel-core - Pooled exchanges in batch consumer may use an 
exchange concurrently
---
 ...t.java => BatchConsumerPooledExchangeTest.java} | 44 +-
 .../apache/camel/processor/PooledExchangeTest.java | 29 ++
 2 files changed, 57 insertions(+), 16 deletions(-)

diff --git 
a/core/camel-core/src/test/java/org/apache/camel/processor/PooledExchangeTest.java
 
b/core/camel-core/src/test/java/org/apache/camel/processor/BatchConsumerPooledExchangeTest.java
similarity index 64%
copy from 
core/camel-core/src/test/java/org/apache/camel/processor/PooledExchangeTest.java
copy to 
core/camel-core/src/test/java/org/apache/camel/processor/BatchConsumerPooledExchangeTest.java
index f771dc94aa5..0c5b017e2c2 100644
--- 
a/core/camel-core/src/test/java/org/apache/camel/processor/PooledExchangeTest.java
+++ 
b/core/camel-core/src/test/java/org/apache/camel/processor/BatchConsumerPooledExchangeTest.java
@@ -27,34 +27,59 @@ import org.apache.camel.Processor;
 import org.apache.camel.builder.RouteBuilder;
 import org.apache.camel.component.mock.MockEndpoint;
 import org.apache.camel.impl.engine.PooledExchangeFactory;
+import org.apache.camel.impl.engine.PooledProcessorExchangeFactory;
+import org.apache.camel.spi.PooledObjectFactory;
+import org.junit.jupiter.api.BeforeEach;
 import org.junit.jupiter.api.Test;
 
+import static org.junit.jupiter.api.Assertions.assertEquals;
 import static org.junit.jupiter.api.Assertions.assertSame;
 
-public class PooledExchangeTest extends ContextTestSupport {
+public class BatchConsumerPooledExchangeTest extends ContextTestSupport {
 
 private final AtomicInteger counter = new AtomicInteger();
 private final AtomicReference ref = new AtomicReference<>();
 
 @Override
 protected CamelContext createCamelContext() throws Exception {
-CamelContext context = super.createCamelContext();
-context.adapt(ExtendedCamelContext.class).setExchangeFactory(new 
PooledExchangeFactory());
-return context;
+ExtendedCamelContext ecc = (ExtendedCamelContext) 
super.createCamelContext();
+ecc.setExchangeFactory(new PooledExchangeFactory());
+ecc.setProcessorExchangeFactory(new PooledProcessorExchangeFactory());
+ecc.getExchangeFactory().setStatisticsEnabled(true);
+ecc.getProcessorExchangeFactory().setStatisticsEnabled(true);
+
+return ecc;
+}
+
+@Override
+@BeforeEach
+public void setUp() throws Exception {
+super.setUp();
+template.sendBodyAndHeader(fileUri(), "aaa", Exchange.FILE_NAME, 
"aaa.txt");
+template.sendBodyAndHeader(fileUri(), "bbb", Exchange.FILE_NAME, 
"bbb.txt");
+template.sendBodyAndHeader(fileUri(), "ccc", Exchange.FILE_NAME, 
"ccc.txt");
 }
 
 @Test
-public void testSameExchange() throws Exception {
+public void testNotSameExchange() throws Exception {
 MockEndpoint mock = getMockEndpoint("mock:result");
-mock.expectedMessageCount(2);
-mock.expectedPropertyValuesReceivedInAnyOrder("myprop", 1, 3);
-mock.expectedHeaderValuesReceivedInAnyOrder("myheader", 2, 4);
+mock.expectedMessageCount(3);
+mock.expectedPropertyValuesReceivedInAnyOrder("myprop", 1, 3, 5);
+mock.expectedHeaderValuesReceivedInAnyOrder("myheader", 2, 4, 6);
 mock.message(0).header("first").isEqualTo(true);
 mock.message(1).header("first").isNull();
+mock.message(2).header("first").isNull();
 
 context.getRouteController().startAllRoutes();
 
 assertMockEndpointsSatisfied();
+
+PooledObjectFactory.Statistics stat
+= 
context.adapt(ExtendedCamelContext.class).getExchangeFactoryManager().getStatistics();
+assertEquals(1, stat.getCreatedCounter());
+assertEquals(2, stat.getAcquiredCounter());
+assertEquals(3, stat.getReleasedCounter());
+assertEquals(0, stat.getDiscardedCounter());
 }
 
 @Override
@@ -62,7 +87,8 @@ public class PooledExchangeTest extends ContextTestSupport {
 return new RouteBuilder() {
 @Override
 public void configure() throws Exception {
-
from("timer:foo?period=1=1=2").noAutoStartup()
+// maxMessagesPerPoll=1 to force polling 3 times to use pooled 
exchanges
+
from(fileUri("?initialDelay=0=10=1")).noAutoStartup()
 .setProperty("myprop", counter::incrementAndGet)
 .setHeader("myheader", counter::incrementAndGet)
 .process(new Processor() {
diff --git 

[camel] branch camel-3.14.x updated (dfde30c7192 -> 57c1b0cd927)

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

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


from dfde30c7192 CAMEL-18202: fix incorrectly setting the initial delay
 new 49765b89cfa CAMEL-18210: camel-core - Pooled exchanges in batch 
consumer may use an exchange concurrently
 new 57c1b0cd927 CAMEL-18210: camel-core - Pooled exchanges in batch 
consumer may use an exchange concurrently

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:
 .../main/java/org/apache/camel/PooledExchange.java |  2 +-
 .../camel/impl/engine/DefaultUnitOfWork.java   |  2 +-
 .../camel/impl/engine/PooledExchangeFactory.java   | 24 ++--
 .../engine/PooledProcessorExchangeFactory.java | 26 +++--
 ...t.java => BatchConsumerPooledExchangeTest.java} | 44 +-
 .../apache/camel/processor/PooledExchangeTest.java | 29 ++
 .../org/apache/camel/support/DefaultConsumer.java  |  9 -
 .../camel/support/DefaultPooledExchange.java   |  6 +--
 8 files changed, 97 insertions(+), 45 deletions(-)
 copy 
core/camel-core/src/test/java/org/apache/camel/processor/{PooledExchangeTest.java
 => BatchConsumerPooledExchangeTest.java} (64%)



[camel] 01/02: CAMEL-18210: camel-core - Pooled exchanges in batch consumer may use an exchange concurrently

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

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

commit 49765b89cfafa488cc12e96a9b06f2b4f68d5f82
Author: Claus Ibsen 
AuthorDate: Mon Jun 20 16:27:16 2022 +0200

CAMEL-18210: camel-core - Pooled exchanges in batch consumer may use an 
exchange concurrently
---
 .../main/java/org/apache/camel/PooledExchange.java |  2 +-
 .../camel/impl/engine/DefaultUnitOfWork.java   |  2 +-
 .../camel/impl/engine/PooledExchangeFactory.java   | 24 +++-
 .../engine/PooledProcessorExchangeFactory.java | 26 +-
 .../org/apache/camel/support/DefaultConsumer.java  |  9 ++--
 .../camel/support/DefaultPooledExchange.java   |  6 ++---
 6 files changed, 40 insertions(+), 29 deletions(-)

diff --git a/core/camel-api/src/main/java/org/apache/camel/PooledExchange.java 
b/core/camel-api/src/main/java/org/apache/camel/PooledExchange.java
index 764ed2b2ad8..0c471a78a51 100644
--- a/core/camel-api/src/main/java/org/apache/camel/PooledExchange.java
+++ b/core/camel-api/src/main/java/org/apache/camel/PooledExchange.java
@@ -45,7 +45,7 @@ public interface PooledExchange extends ExtendedExchange {
  * 
  * Important: This API is NOT intended for Camel end users, but 
used internally by Camel itself.
  */
-void done(boolean forced);
+void done();
 
 /**
  * Resets the exchange for reuse with the given created timestamp;
diff --git 
a/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultUnitOfWork.java
 
b/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultUnitOfWork.java
index 80b08c3634d..36821bbfc1a 100644
--- 
a/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultUnitOfWork.java
+++ 
b/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultUnitOfWork.java
@@ -259,7 +259,7 @@ public class DefaultUnitOfWork implements UnitOfWork {
 // pooled exchange has its own done logic which will reset this 
uow for reuse
 // so do not call onDone
 try {
-((PooledExchange) exchange).done(false);
+((PooledExchange) exchange).done();
 } catch (Throwable e) {
 // must catch exceptions to ensure synchronizations is also 
invoked
 log.warn("Exception occurred during exchange done. This 
exception will be ignored.", e);
diff --git 
a/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/PooledExchangeFactory.java
 
b/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/PooledExchangeFactory.java
index 1f9995617d0..a02ca09b438 100644
--- 
a/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/PooledExchangeFactory.java
+++ 
b/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/PooledExchangeFactory.java
@@ -44,7 +44,7 @@ public final class PooledExchangeFactory extends 
PrototypeExchangeFactory {
 @Override
 protected void doBuild() throws Exception {
 super.doBuild();
-// force to create and load the class during build time so the JVM 
does not
+// force creating and load the class during build time so the JVM does 
not
 // load the class on first exchange to be created
 DefaultPooledExchange dummy = new DefaultPooledExchange(camelContext);
 // force message init to load classes
@@ -75,10 +75,12 @@ public final class PooledExchangeFactory extends 
PrototypeExchangeFactory {
 if (statisticsEnabled) {
 statistics.acquired.increment();
 }
-// reset exchange for reuse
-PooledExchange ee = (PooledExchange) exchange;
-ee.reset(System.currentTimeMillis());
 }
+
+// reset exchange for reuse
+PooledExchange ee = (PooledExchange) exchange;
+ee.reset(System.currentTimeMillis());
+
 return exchange;
 }
 
@@ -95,21 +97,21 @@ public final class PooledExchangeFactory extends 
PrototypeExchangeFactory {
 if (statisticsEnabled) {
 statistics.acquired.increment();
 }
-// reset exchange for reuse
-PooledExchange ee = (PooledExchange) exchange;
-ee.reset(System.currentTimeMillis());
 }
+
+// reset exchange for reuse
+PooledExchange ee = (PooledExchange) exchange;
+ee.reset(System.currentTimeMillis());
+
 return exchange;
 }
 
 @Override
 public boolean release(Exchange exchange) {
 try {
-// done exchange before returning back to pool
+// done exchange before returning to pool
 PooledExchange ee = (PooledExchange) exchange;
-boolean force = !ee.isAutoRelease();
-ee.done(force);
-ee.onDone(null);
+ee.done();
 
 // only release back 

[camel] 01/02: CAMEL-18210: camel-core - Pooled exchanges in batch consumer may use an exchange concurrently

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

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

commit 6a95f58c5c43d83492c0ef2ea42db880f5308a04
Author: Claus Ibsen 
AuthorDate: Mon Jun 20 16:27:16 2022 +0200

CAMEL-18210: camel-core - Pooled exchanges in batch consumer may use an 
exchange concurrently
---
 .../main/java/org/apache/camel/PooledExchange.java |  2 +-
 .../camel/impl/engine/DefaultUnitOfWork.java   |  2 +-
 .../camel/impl/engine/PooledExchangeFactory.java   | 24 +++-
 .../engine/PooledProcessorExchangeFactory.java | 26 +-
 .../org/apache/camel/support/DefaultConsumer.java  |  9 ++--
 .../camel/support/DefaultPooledExchange.java   |  6 ++---
 6 files changed, 40 insertions(+), 29 deletions(-)

diff --git a/core/camel-api/src/main/java/org/apache/camel/PooledExchange.java 
b/core/camel-api/src/main/java/org/apache/camel/PooledExchange.java
index 764ed2b2ad8..0c471a78a51 100644
--- a/core/camel-api/src/main/java/org/apache/camel/PooledExchange.java
+++ b/core/camel-api/src/main/java/org/apache/camel/PooledExchange.java
@@ -45,7 +45,7 @@ public interface PooledExchange extends ExtendedExchange {
  * 
  * Important: This API is NOT intended for Camel end users, but 
used internally by Camel itself.
  */
-void done(boolean forced);
+void done();
 
 /**
  * Resets the exchange for reuse with the given created timestamp;
diff --git 
a/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultUnitOfWork.java
 
b/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultUnitOfWork.java
index 80b08c3634d..36821bbfc1a 100644
--- 
a/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultUnitOfWork.java
+++ 
b/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultUnitOfWork.java
@@ -259,7 +259,7 @@ public class DefaultUnitOfWork implements UnitOfWork {
 // pooled exchange has its own done logic which will reset this 
uow for reuse
 // so do not call onDone
 try {
-((PooledExchange) exchange).done(false);
+((PooledExchange) exchange).done();
 } catch (Throwable e) {
 // must catch exceptions to ensure synchronizations is also 
invoked
 log.warn("Exception occurred during exchange done. This 
exception will be ignored.", e);
diff --git 
a/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/PooledExchangeFactory.java
 
b/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/PooledExchangeFactory.java
index 1f9995617d0..a02ca09b438 100644
--- 
a/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/PooledExchangeFactory.java
+++ 
b/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/PooledExchangeFactory.java
@@ -44,7 +44,7 @@ public final class PooledExchangeFactory extends 
PrototypeExchangeFactory {
 @Override
 protected void doBuild() throws Exception {
 super.doBuild();
-// force to create and load the class during build time so the JVM 
does not
+// force creating and load the class during build time so the JVM does 
not
 // load the class on first exchange to be created
 DefaultPooledExchange dummy = new DefaultPooledExchange(camelContext);
 // force message init to load classes
@@ -75,10 +75,12 @@ public final class PooledExchangeFactory extends 
PrototypeExchangeFactory {
 if (statisticsEnabled) {
 statistics.acquired.increment();
 }
-// reset exchange for reuse
-PooledExchange ee = (PooledExchange) exchange;
-ee.reset(System.currentTimeMillis());
 }
+
+// reset exchange for reuse
+PooledExchange ee = (PooledExchange) exchange;
+ee.reset(System.currentTimeMillis());
+
 return exchange;
 }
 
@@ -95,21 +97,21 @@ public final class PooledExchangeFactory extends 
PrototypeExchangeFactory {
 if (statisticsEnabled) {
 statistics.acquired.increment();
 }
-// reset exchange for reuse
-PooledExchange ee = (PooledExchange) exchange;
-ee.reset(System.currentTimeMillis());
 }
+
+// reset exchange for reuse
+PooledExchange ee = (PooledExchange) exchange;
+ee.reset(System.currentTimeMillis());
+
 return exchange;
 }
 
 @Override
 public boolean release(Exchange exchange) {
 try {
-// done exchange before returning back to pool
+// done exchange before returning to pool
 PooledExchange ee = (PooledExchange) exchange;
-boolean force = !ee.isAutoRelease();
-ee.done(force);
-ee.onDone(null);
+ee.done();
 
 // only release back in pool 

[camel] 02/02: CAMEL-18210: camel-core - Pooled exchanges in batch consumer may use an exchange concurrently

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

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

commit 8fb0cb3a1688cd515c4cdc89d3ade25d38948939
Author: Claus Ibsen 
AuthorDate: Mon Jun 20 18:32:04 2022 +0200

CAMEL-18210: camel-core - Pooled exchanges in batch consumer may use an 
exchange concurrently
---
 ...t.java => BatchConsumerPooledExchangeTest.java} | 44 +-
 .../apache/camel/processor/PooledExchangeTest.java | 29 ++
 2 files changed, 57 insertions(+), 16 deletions(-)

diff --git 
a/core/camel-core/src/test/java/org/apache/camel/processor/PooledExchangeTest.java
 
b/core/camel-core/src/test/java/org/apache/camel/processor/BatchConsumerPooledExchangeTest.java
similarity index 64%
copy from 
core/camel-core/src/test/java/org/apache/camel/processor/PooledExchangeTest.java
copy to 
core/camel-core/src/test/java/org/apache/camel/processor/BatchConsumerPooledExchangeTest.java
index f771dc94aa5..0c5b017e2c2 100644
--- 
a/core/camel-core/src/test/java/org/apache/camel/processor/PooledExchangeTest.java
+++ 
b/core/camel-core/src/test/java/org/apache/camel/processor/BatchConsumerPooledExchangeTest.java
@@ -27,34 +27,59 @@ import org.apache.camel.Processor;
 import org.apache.camel.builder.RouteBuilder;
 import org.apache.camel.component.mock.MockEndpoint;
 import org.apache.camel.impl.engine.PooledExchangeFactory;
+import org.apache.camel.impl.engine.PooledProcessorExchangeFactory;
+import org.apache.camel.spi.PooledObjectFactory;
+import org.junit.jupiter.api.BeforeEach;
 import org.junit.jupiter.api.Test;
 
+import static org.junit.jupiter.api.Assertions.assertEquals;
 import static org.junit.jupiter.api.Assertions.assertSame;
 
-public class PooledExchangeTest extends ContextTestSupport {
+public class BatchConsumerPooledExchangeTest extends ContextTestSupport {
 
 private final AtomicInteger counter = new AtomicInteger();
 private final AtomicReference ref = new AtomicReference<>();
 
 @Override
 protected CamelContext createCamelContext() throws Exception {
-CamelContext context = super.createCamelContext();
-context.adapt(ExtendedCamelContext.class).setExchangeFactory(new 
PooledExchangeFactory());
-return context;
+ExtendedCamelContext ecc = (ExtendedCamelContext) 
super.createCamelContext();
+ecc.setExchangeFactory(new PooledExchangeFactory());
+ecc.setProcessorExchangeFactory(new PooledProcessorExchangeFactory());
+ecc.getExchangeFactory().setStatisticsEnabled(true);
+ecc.getProcessorExchangeFactory().setStatisticsEnabled(true);
+
+return ecc;
+}
+
+@Override
+@BeforeEach
+public void setUp() throws Exception {
+super.setUp();
+template.sendBodyAndHeader(fileUri(), "aaa", Exchange.FILE_NAME, 
"aaa.txt");
+template.sendBodyAndHeader(fileUri(), "bbb", Exchange.FILE_NAME, 
"bbb.txt");
+template.sendBodyAndHeader(fileUri(), "ccc", Exchange.FILE_NAME, 
"ccc.txt");
 }
 
 @Test
-public void testSameExchange() throws Exception {
+public void testNotSameExchange() throws Exception {
 MockEndpoint mock = getMockEndpoint("mock:result");
-mock.expectedMessageCount(2);
-mock.expectedPropertyValuesReceivedInAnyOrder("myprop", 1, 3);
-mock.expectedHeaderValuesReceivedInAnyOrder("myheader", 2, 4);
+mock.expectedMessageCount(3);
+mock.expectedPropertyValuesReceivedInAnyOrder("myprop", 1, 3, 5);
+mock.expectedHeaderValuesReceivedInAnyOrder("myheader", 2, 4, 6);
 mock.message(0).header("first").isEqualTo(true);
 mock.message(1).header("first").isNull();
+mock.message(2).header("first").isNull();
 
 context.getRouteController().startAllRoutes();
 
 assertMockEndpointsSatisfied();
+
+PooledObjectFactory.Statistics stat
+= 
context.adapt(ExtendedCamelContext.class).getExchangeFactoryManager().getStatistics();
+assertEquals(1, stat.getCreatedCounter());
+assertEquals(2, stat.getAcquiredCounter());
+assertEquals(3, stat.getReleasedCounter());
+assertEquals(0, stat.getDiscardedCounter());
 }
 
 @Override
@@ -62,7 +87,8 @@ public class PooledExchangeTest extends ContextTestSupport {
 return new RouteBuilder() {
 @Override
 public void configure() throws Exception {
-
from("timer:foo?period=1=1=2").noAutoStartup()
+// maxMessagesPerPoll=1 to force polling 3 times to use pooled 
exchanges
+
from(fileUri("?initialDelay=0=10=1")).noAutoStartup()
 .setProperty("myprop", counter::incrementAndGet)
 .setHeader("myheader", counter::incrementAndGet)
 .process(new Processor() {
diff --git 
a/core/camel-core/src/test/java/org/apache/camel/processor/PooledExchangeTest.java
 

[camel] branch main updated (319ce436572 -> 8fb0cb3a168)

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

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


from 319ce436572 (chores) camel-console: use format specifiers in log 
messages
 new 6a95f58c5c4 CAMEL-18210: camel-core - Pooled exchanges in batch 
consumer may use an exchange concurrently
 new 8fb0cb3a168 CAMEL-18210: camel-core - Pooled exchanges in batch 
consumer may use an exchange concurrently

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:
 .../main/java/org/apache/camel/PooledExchange.java |  2 +-
 .../camel/impl/engine/DefaultUnitOfWork.java   |  2 +-
 .../camel/impl/engine/PooledExchangeFactory.java   | 24 ++--
 .../engine/PooledProcessorExchangeFactory.java | 26 +++--
 ...t.java => BatchConsumerPooledExchangeTest.java} | 44 +-
 .../apache/camel/processor/PooledExchangeTest.java | 29 ++
 .../org/apache/camel/support/DefaultConsumer.java  |  9 -
 .../camel/support/DefaultPooledExchange.java   |  6 +--
 8 files changed, 97 insertions(+), 45 deletions(-)
 copy 
core/camel-core/src/test/java/org/apache/camel/processor/{PooledExchangeTest.java
 => BatchConsumerPooledExchangeTest.java} (64%)



[camel-kamelets] branch regen_bot updated (5b994ade -> 05815de6)

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

github-bot pushed a change to branch regen_bot
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git


omit 5b994ade Regen for commit 63d93ce16fc8bc5e5cdece4f125199629d6108c8
 add 05815de6 Regen for commit 63d93ce16fc8bc5e5cdece4f125199629d6108c8 
(#948)

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   (5b994ade)
\
 N -- N -- N   refs/heads/regen_bot (05815de6)

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.

No new revisions were added by this update.

Summary of changes:



[camel-kamelets] branch main updated: Regen for commit 63d93ce16fc8bc5e5cdece4f125199629d6108c8 (#948)

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

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


The following commit(s) were added to refs/heads/main by this push:
 new 05815de6 Regen for commit 63d93ce16fc8bc5e5cdece4f125199629d6108c8 
(#948)
05815de6 is described below

commit 05815de6a62cd59e43c06dc6843aa76117c7ecad
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Mon Jun 20 18:31:33 2022 +0200

Regen for commit 63d93ce16fc8bc5e5cdece4f125199629d6108c8 (#948)

Signed-off-by: GitHub 

Co-authored-by: davsclaus 
---
 .../src/main/resources/kamelets/google-bigquery-sink.kamelet.yaml   | 2 +-
 .../src/main/resources/kamelets/jms-ibm-mq-sink.kamelet.yaml| 2 +-
 .../src/main/resources/kamelets/jms-ibm-mq-source.kamelet.yaml  | 2 +-
 .../camel-kamelets/src/main/resources/kamelets/mysql-sink.kamelet.yaml  | 2 +-
 .../src/main/resources/kamelets/mysql-source.kamelet.yaml   | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git 
a/library/camel-kamelets/src/main/resources/kamelets/google-bigquery-sink.kamelet.yaml
 
b/library/camel-kamelets/src/main/resources/kamelets/google-bigquery-sink.kamelet.yaml
index e57a39ec..5a1a6620 100644
--- 
a/library/camel-kamelets/src/main/resources/kamelets/google-bigquery-sink.kamelet.yaml
+++ 
b/library/camel-kamelets/src/main/resources/kamelets/google-bigquery-sink.kamelet.yaml
@@ -21,7 +21,7 @@ metadata:
   annotations:
 camel.apache.org/kamelet.support.level: "Preview"
 camel.apache.org/catalog.version: "main-SNAPSHOT"
-camel.apache.org/kamelet.icon: 
"data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjI1MDAiIHdpZHRoPSIyNTAwIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9Ii0xLjYzMzIzNTQzMzMyODI1NiA3LjAzMjYwOTMzMDMxNTY1NjUgMTMxLjI2NTc0NjgyNDE2ODc2IDExNC42MzQzOTA2Njk2ODQzNSI+PGxpbmVhckdyYWRpZW50IGlkPSJhIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjY0IiB4Mj0iNjQiIHkxPSI3LjAzNCIgeTI9IjEyMC43ODkiPjxzdG9wIG9mZnNldD0iMCIgc3RvcC1jb2xvcj0iIzQzODdmZCIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iIzQ2ODNlYS
 [...]
+camel.apache.org/kamelet.icon: 
"data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjI1MDAiIHdpZHRoPSIyNTAwIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgICAgdmlld0JveD0iLTEuNjMzMjM1NDMzMzI4MjU2IDcuMDMyNjA5MzMwMzE1NjU2NSAxMzEuMjY1NzQ2ODI0MTY4NzYgMTE0LjYzNDM5MDY2OTY4NDM1IiB2ZXJzaW9uPSIxLjAiPgogICAgPGxpbmVhckdyYWRpZW50IGlkPSJhIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjY0IiB4Mj0iNjQiIHkxPSI3LjAzNCIgeTI9IjEyMC43ODkiPgogICAgICAgIDxzdG9wIG9mZnNldD0iMCIgc3RvcC1jb2xvcj0iIzQzODdmZCIvPgogIC
 [...]
 camel.apache.org/provider: "Apache Software Foundation"
 camel.apache.org/kamelet.group: "Google Big Query"
   labels:
diff --git 
a/library/camel-kamelets/src/main/resources/kamelets/jms-ibm-mq-sink.kamelet.yaml
 
b/library/camel-kamelets/src/main/resources/kamelets/jms-ibm-mq-sink.kamelet.yaml
index 1d899d08..637a9d42 100644
--- 
a/library/camel-kamelets/src/main/resources/kamelets/jms-ibm-mq-sink.kamelet.yaml
+++ 
b/library/camel-kamelets/src/main/resources/kamelets/jms-ibm-mq-sink.kamelet.yaml
@@ -19,7 +19,7 @@ kind: Kamelet
 metadata:
   name: jms-ibm-mq-sink
   annotations:
-camel.apache.org/kamelet.icon: 
"data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgNTczLjA4IDU3Ni45NyI+PGRlZnM+PHN0eWxlPi5jbHMtMXtmaWxsOiNmZmY7fS5jbHMtMntmaWxsOiM1YTc3YjU7fS5jbHMtM3tmaWxsOiNhZmJlZTA7fS5jbHMtNHtjbGlwLXBhdGg6dXJsKCNjbGlwLXBhdGgpO30uY2xzLTV7Y2xpcC1wYXRoOnVybCgjY2xpcC1wYXRoLTIpO308L3N0eWxlPjxjbGlwUGF0aCBpZD0iY2xpcC1wYXRoIj48cG
 [...]
+camel.apache.org/kamelet.icon: 
"data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIgogICAgIHZpZXdCb3g9IjAgMCA1NzMuMDggNTc2Ljk3Ij4KICAgIDxkZWZzPgogICAgICAgIDxzdHlsZT4KICAgICAgICAgICAgLmNscy0xe2ZpbGw6I2ZmZjt9LmNscy0ye2ZpbGw6IzVhNzdiNTt9LmNscy0ze2ZpbGw6I2FmYmVlMDt9LmNscy00e2NsaXAtcGF0aDp1cmwoI2NsaXAtcGF0aCk7fS5jbHMtNXtjbGlwLXBhdGg6dXJsKCNjbGlwLXBhdGgtMik7fQogIC
 [...]
 camel.apache.org/kamelet.support.level: "Preview"
 camel.apache.org/provider: "Apache Software Foundation"
 camel.apache.org/catalog.version: "main-SNAPSHOT"
diff --git 
a/library/camel-kamelets/src/main/resources/kamelets/jms-ibm-mq-source.kamelet.yaml
 
b/library/camel-kamelets/src/main/resources/kamelets/jms-ibm-mq-source.kamelet.yaml
index 7de7cba4..def3c8c8 100644
--- 
a/library/camel-kamelets/src/main/resources/kamelets/jms-ibm-mq-source.kamelet.yaml
+++ 
b/library/camel-kamelets/src/main/resources/kamelets/jms-ibm-mq-source.kamelet.yaml
@@ -19,7 +19,7 @@ kind: Kamelet
 metadata:
   name: jms-ibm-mq-source
   annotations:
-camel.apache.org/kamelet.icon: 

[GitHub] [camel-kamelets] davsclaus merged pull request #948: Generated sources regen

2022-06-20 Thread GitBox


davsclaus merged PR #948:
URL: https://github.com/apache/camel-kamelets/pull/948


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

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



[camel-examples] branch main updated: Remove unused import (#98)

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

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


The following commit(s) were added to refs/heads/main by this push:
 new 2fc6cf75 Remove unused import (#98)
2fc6cf75 is described below

commit 2fc6cf7530364f6276f1428d98d325bc880fc63e
Author: Aurélien Pupier 
AuthorDate: Mon Jun 20 18:30:48 2022 +0200

Remove unused import (#98)

Signed-off-by: Aurélien Pupier 
---
 .../src/test/java/org/apache/camel/example/MainWithAnnotationTest.java   | 1 -
 1 file changed, 1 deletion(-)

diff --git 
a/examples/main/src/test/java/org/apache/camel/example/MainWithAnnotationTest.java
 
b/examples/main/src/test/java/org/apache/camel/example/MainWithAnnotationTest.java
index 2afb2ffc..f0776162 100644
--- 
a/examples/main/src/test/java/org/apache/camel/example/MainWithAnnotationTest.java
+++ 
b/examples/main/src/test/java/org/apache/camel/example/MainWithAnnotationTest.java
@@ -22,7 +22,6 @@ import org.apache.camel.BeanInject;
 import org.apache.camel.CamelContext;
 import org.apache.camel.builder.NotifyBuilder;
 import org.apache.camel.test.main.junit5.CamelMainTest;
-import org.apache.camel.test.main.junit5.CamelMainTestSupport;
 import org.junit.jupiter.api.Test;
 
 import static org.junit.jupiter.api.Assertions.assertTrue;



[GitHub] [camel-examples] davsclaus merged pull request #98: Remove unused import

2022-06-20 Thread GitBox


davsclaus merged PR #98:
URL: https://github.com/apache/camel-examples/pull/98


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

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



[GitHub] [camel] davsclaus closed pull request #7823: Generated sources regen

2022-06-20 Thread GitBox


davsclaus closed pull request #7823: Generated sources regen
URL: https://github.com/apache/camel/pull/7823


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

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



[GitHub] [camel] github-actions[bot] commented on pull request #7830: Upgrade Mybatis to version 3.5.10

2022-06-20 Thread GitBox


github-actions[bot] commented on PR #7830:
URL: https://github.com/apache/camel/pull/7830#issuecomment-1160605806

   :no_entry_sign: There are (likely) no components to be tested in this PR


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

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



[GitHub] [camel-k] claudio4j commented on a diff in pull request #3373: fix(knative): Make knative broker name configurable

2022-06-20 Thread GitBox


claudio4j commented on code in PR #3373:
URL: https://github.com/apache/camel-k/pull/3373#discussion_r901802474


##
e2e/knative/knative_test.go:
##
@@ -118,6 +118,20 @@ func TestRunBroker(t *testing.T) {
})
 }
 
+func TestRunCustomBroker(t *testing.T) {

Review Comment:
   Done, thanks for the review.



-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

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



[GitHub] [camel-quarkus] zhfeng commented on issue #3860: paho-mqtt5 test failing with

2022-06-20 Thread GitBox


zhfeng commented on issue #3860:
URL: https://github.com/apache/camel-quarkus/issues/3860#issuecomment-1160581751

   My nofiles is `1024`
   ```
   $ docker run --rm debian sh -c "ulimit -n"
   1024
   ```


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

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



[GitHub] [camel-quarkus] zhfeng commented on issue #3860: paho-mqtt5 test failing with

2022-06-20 Thread GitBox


zhfeng commented on issue #3860:
URL: https://github.com/apache/camel-quarkus/issues/3860#issuecomment-1160576893

   Hi @ppalaga 
   
   I can confirm that `paho-mqtt5` works on my `Fedora 35`.


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

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



[GitHub] [camel-quarkus] ppalaga commented on issue #3860: paho-mqtt5 test failing with

2022-06-20 Thread GitBox


ppalaga commented on issue #3860:
URL: https://github.com/apache/camel-quarkus/issues/3860#issuecomment-1160566798

   For the record, my dockerd indeed sees nofiles 1073741816 : 
   
   ```
   $ docker run --rm debian sh -c "ulimit -n"
   1073741816
   ```
   


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

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



[GitHub] [camel-quarkus] ppalaga opened a new issue, #3860: paho-mqtt5 test failing with

2022-06-20 Thread GitBox


ppalaga opened a new issue, #3860:
URL: https://github.com/apache/camel-quarkus/issues/3860

   I cannot run the paho-mqtt5 test. It looks like Testcontainers cannot start 
the container
   
   ```
   Running org.apache.camel.quarkus.component.paho.mqtt5.it.PahoMqtt5Test
   2022-06-20 17:01:06,720 INFO  [org.jbo.threads] (main) JBoss Threads version 
3.4.2.Final
   2022-06-20 17:01:07,800 INFO  
[org.apa.cam.qua.com.pah.mqt.it.PahoMqtt5TestResource] (pool-3-thread-1) 
TestcontainersConfiguration(userProperties={docker.client.strategy=org.testcontainers.dockerclient.UnixSocketClientProviderStrategy},
 classpathProperties={}, 
environment={PATH=/home/ppalaga/gems/bin:/home/ppalaga/orgs/graalvm/mx:/home/ppalaga/bin/async-profiler-1.6-linux-x64:/home/ppalaga/bin/vscode-installations/code/bin:/home/ppalaga/.yarn/bin:/home/ppalaga/.config/yarn/global/node_modules/.bin:/home/ppalaga/bin:/home/ppalaga/bin/gradle-3.5.x/bin:/home/ppalaga/gems/bin:/home/ppalaga/.sdkman/candidates/mvnd/current/bin:/home/ppalaga/.sdkman/candidates/maven/current/bin:/home/ppalaga/.sdkman/candidates/jbang/current/bin:/home/ppalaga/.sdkman/candidates/jbake/current/bin:/home/ppalaga/.sdkman/candidates/java/current/bin:/home/ppalaga/orgs/graalvm/mx:/home/ppalaga/bin/async-profiler-1.6-linux-x64:/home/ppalaga/bin/vscode-installations/code/bin:/home/ppalaga/.yarn/bin:/home/ppalaga/
 
.config/yarn/global/node_modules/.bin:/home/ppalaga/bin:/home/ppalaga/bin/gradle-3.5.x/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin,
 IMSETTINGS_MODULE=none, INVOCATION_ID=a5e28c0b01a74dc4873a2d517263007b, 
XAUTHORITY=/run/user/1000/xauth_yYFUEH, SDKMAN_VERSION=5.15.0, 
HISTCONTROL=ignoredups, XMODIFIERS=@im=none, 
XDG_DATA_DIRS=/home/ppalaga/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share,
 GTK_IM_MODULE=gtk-im-context-simple, 
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus, XDG_CURRENT_DESKTOP=KDE, 
JOURNAL_STREAM=8:47252, QT_AUTO_SCREEN_SCALE_FACTOR=0, 
MAVEN_HOME=/home/ppalaga/.sdkman/candidates/maven/3.8.4, 
MAIL=/var/spool/mail/ppalaga, SSH_AGENT_PID=1881, 
SDKMAN_DIR=/home/ppalaga/.sdkman, 
GRAALVM_HOME=/home/ppalaga/.sdkman/candidates/java/21.2.0.r11-grl, 
SESSION_MANAGER=local/unix:@/tmp/.ICE-unix/1979,unix/unix:/tmp/.ICE-unix/1979, 
LOGNAME=ppalaga, JBANG_EDITOR=code, MANAGERPID=1565, 
PWD=/home/ppalaga/orgs/cq/camel-qua
 rkus/integration-tests/paho-mqtt5, XCURSOR_THEME=breeze_cursors, 
LANGUAGE=en_US, KDE_SESSION_VERSION=5, LESSOPEN=||/usr/bin/lesspipe.sh %s, 
SHELL=/bin/bash, SDKMAN_CANDIDATES_API=https://api.sdkman.io/2, 
ECLIPSE_WORKSPACE=/home/ppalaga/orgs/cq, 
OLDPWD=/home/ppalaga/orgs/cq/camel-quarkus/integration-tests/paho-mqtt5, 
GEM_HOME=/home/ppalaga/gems, KDE_FULL_SESSION=true, 
SSH_ASKPASS=/usr/bin/ksshaskpass, 
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0, 
DEBUGINFOD_URLS=https://debuginfod.fedoraproject.org/ , 
FG_AIRCRAFT=/home/ppalaga/FlightGear/Aircraft, 
IMSETTINGS_INTEGRATE_DESKTOP=yes, 
MVND_HOME=/home/ppalaga/.sdkman/candidates/mvnd/current, SYSTEMD_EXEC_PID=2052, 
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=0
 
1;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01
 
;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.m4a=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.oga=01;36:*.opus=01;36:*.spx=01;36:*.xspf=01;36:,
 XDG_SESSION_DESKTOP=KDE, SHLVL=2, FG_SCENERY=/home/ppalaga/FlightGear/Scenery, 
KDE_APPLICATIONS_AS_SCOPE=1, OXYGEN_DISABLE_INNER_SHADOWS_HACK=1, 
QT_IM_MODULE=xim, HISTSIZE=10, 
SDKMAN_OLD_PWD=/home/ppalaga/orgs/cq/camel-quarkus/integration-tests/paho-mqtt5,
 JAVA_HOME=/home/data/jvm/adopt-openjdk/jdk-11, BASH_FUNC_which%%=() {  ( alias;
eval ${which_declare} ) | 

svn commit: r55222 - in /release/camel: ./ camel-quarkus/2.10.0/ camel-quarkus/2.9.0/

2022-06-20 Thread zhfeng
Author: zhfeng
Date: Mon Jun 20 15:02:07 2022
New Revision: 55222

Log:
Apache Camel Quarkus 2.10.0 released artifacts

Added:
release/camel/camel-quarkus/2.10.0/
release/camel/camel-quarkus/2.10.0/apache-camel-quarkus-2.10.0-src.zip   
(with props)
release/camel/camel-quarkus/2.10.0/apache-camel-quarkus-2.10.0-src.zip.asc  
 (with props)

release/camel/camel-quarkus/2.10.0/apache-camel-quarkus-2.10.0-src.zip.sha512
Removed:
release/camel/camel-quarkus/2.9.0/
Modified:
release/camel/KEYS

Modified: release/camel/KEYS
==
--- release/camel/KEYS (original)
+++ release/camel/KEYS Mon Jun 20 15:02:07 2022
@@ -1462,3 +1462,59 @@ WegyrM9nhrNysrXES6bmmaTMxitwrSjo/4pEJLQw
 o/p7makJObKkf/tuq+bOKslMF4M=
 =O1XT
 -END PGP PUBLIC KEY BLOCK-
+pub   rsa4096 2022-05-25 [SC]
+  F956838B0689E06BDC1BD1AFF8F13B4C313B4930
+uid [ 绝对 ] Zheng Feng 
+sub   rsa4096 2022-05-25 [E]
+
+-BEGIN PGP PUBLIC KEY BLOCK-
+
+mQINBGKOXkcBEADAFj79e3zJXhuJ28Jknys9f2KesxRMRw3q1BivQPEFJ8JkB8Xk
+fNlm4ek9sNjorg/kqz1CEKsRRdtk8QD2Bsf6CxGY/wwmUenGr1xEFXtR1MrNd6M7
+XZODlj31rArCatz0WM0qNCacGao7EFVNIiOZ7DB858mEQplD2dmwv073+LhQDb4v
+iKDJBLAR+Ep88uF82yTOiheyF8aaes2jcV3jLxTWb0jU17vJIrwqKy6joec8F/Z0
+tYy5s6QpcZvU9DcktzDwh+q/HZHUg5Mn4LAg5uL1N1Ive6sblKW9aIGETZhYBEcQ
++4Iq2GBAD+6qv4wYtDO2eeGM5iXM3FQxjcufHiQ0iPYebbTYG+yexXVQZ/Nkm/3M
+h81uC9/OLT9xmzkHjKnMFuLgl6SorxaTdkTr/qMXlgEIx0Qt/Ui7ugqYutKWgy5r
+ebgHnAey/XGPpS7HpnFYy7RBRZcBk275GOboXD7HhvmICHYtN0KHmbarXeWWp1IF
+J/9tIbJ/OqldR2MTe7PxPzfT0DH6zNYOncTPbtlN4Chv6gR2gsYMhe42auTYHDBg
+QuCCWJSgeVE3GD3/9APelIxTqYIze/l8NcBjU0kA2LLy2lieSHl48X1+m9rOFC4l
+r8X+g7X5r8Bekwlpk1Gkz6MpFpMnSxd9rOAxokxSO+A+OD1dsJ9j/8narwARAQAB
+tB5aaGVuZyBGZW5nIDx6aGZlbmdAYXBhY2hlLm9yZz6JAlIEEwEIADwWIQT5VoOL
+Bonga9wb0a/48TtMMTtJMAUCYo5eRwIbAwULCQgHAgMiAgEGFQoJCAsCBBYCAwEC
+HgcCF4AACgkQ+PE7TDE7STCJrg/9H2kpINY2B0cA+j5moRsAjEq1ph3oMq5nO74r
+XgZ/JQ9YMJp6tX8EK6S1/X8p1MzJ9eBfwyyf6SFtioehLwnqzIKBGivjTybtjw33
+GrmlmLS2wccsVn6IvMH+suFWK5US19TpyFe2pICoLq+PrBKPYcVL/tpHav0prHfe
+6Tr7BVT2fAHtS68hyHabYlRK2GNT5Cd7EyBp39/i24jMi0UMWs0dkSK54ogD13n2
+vO5NlFJ1ROXK83BxrUJuJKw9gfGUcf1Pm5Hp75KmmWdgxs4Em7V0YI4ZAZYj3id4
+nyM07vwdrn76F2+du7E79vLvc8l1BPKNXjabO2mqHY6SqbA/nRHvP3aTkMnkvPjI
+XQqcAh40/W5HR1CNlv9fnT6KxC7e78I9mGU/o+Ck63sbV9j+apmD9cRYjcetVHZ8
+GUCLx5jxEzFmhEJZmZYtHgryQSXm5k8GOC/reIWMnvNlEobSsMF8iYdp9/FTuCQG
+Hlkpvf02SQ0ZUW/ds3eZSFOCcjDe6AIUWEuV1n9n3Jqw9PKANVOkcSPNb3OpEoVC
+XMZO1CMLQWjcvl/i5tqKLNsuY4jXcaQEX7H8WZVnyokmMJvsCli/qnJZStkHDLUG
++YSDYESA/fCG/mrfv7NiVeOETk+xZTu3X6suh7DV1tRcrHIA6fkTSB3FQxKyRU1Q
+ihsrNb25Ag0EYo5eRwEQANnwM24rfzz8ji9FgBQKiLEK4o/fZ9RqpbFOyEEz4XZU
+2TYBApSwAyGVvp/zVLrgiBdH3Y3UwQymL9w3Gc16D8I9gvfo5CN9NrvJqzi6YgXR
+qr/AO+yyZu1dg2RJ5ARRtw3Hl/P4WbZOmnTvWIcNyTgwVnDKt9XZnCLN1+6joBnP
+Hwy7rkdHY9Vi0MCMb8H3/XFrM6n3ThTq2M/SVZ9VhAM1MZQ2jicd1SGJctschQH6
+LFUH7xtyJjd1DUrfxmxn93oRuSGJKTDMidakY5bCwi8NndXtZSOOmbqEKrJUT467
+5a+g0EFPI1X9TnMbFzcWMbQrceWI/HB01vi7VWolZzyE9dQg0NTXqESea5PCik4L
+N4L9tMmgxc/l6tfsxBZfRxWZouqCbPkVQ9TmoHMgfJ97vJo6e09PoicGRCNHslXK
+FHzWR4Y6/y58ZEMDldc+mX/MAx47OvMmOtrUCbUEPPwZRlGVh7UgYMMkAtoVZHrt
+lZQPKzVGd2/Af/qYW0rQd77ErmUWigTv2fAexbllMQ5NcaFje/2NjF9osMy3fIXH
+AcMDsJmDxvkkaOe9zt/z7kcNINGDT3dmHsbDygcyqV1nzrq0m7adeDE1WXecpIwe
+bYzXMnr4HtwRWH9H7BilPY1nI96iAZer1leAvJcMmbCVLSRTHQObJ8FwdLGAN+ip
+ABEBAAGJAjYEGAEIACAWIQT5VoOLBonga9wb0a/48TtMMTtJMAUCYo5eRwIbDAAK
+CRD48TtMMTtJMPJTEACnli4yUeLjdMnQ5Ye0Sm0s2TfGjnKAOxmUY581+Oe1kppH
+TO/DBYu4GkGC0Uu+MKswVuZyxZpi+Mi7x9Trd2sTh9SK1eMByVF7Ycb8mpG/zUTA
+DuWwHOOsEKgm0Fc0qE/JbyjYgOmpf6y/p96xkupPe1NTmw7piIiLKu445sU/V9Uz
+fibQU34fOX+VszvqKWx7pvLEYOx5SJMeae7aR8Mf01uDIQns0Kl58LS6Dw/ZaYhl
+JIiFeK9QyOzLV9BAErmefcUDblj6ub9KvIa+6izJ7RcDSnh+wS/ghNC4VniYWrHG
+MNSL6T7VmHym7U4LaHdbQQzYzIUkJsYmh2q8/9bowUvTGTz83Hki4vwaOYje6yOr
+ntR2L9lnfARe9gZdjAFBZ2VTwfbz+hnPwLcXPKuWGdOXD9MgKSUNJWmP7nHmIBT3
+wiW8kMWIMNo8wVJdeM+qb7CqWP8ZYCQVhar0ruJ7miaA5dLA+tX+yldMOFCNd2pr
+/6e7U6v9zwGiXBDUbIQCE+ndxZ/dZD034b8CtO+21XNJaDyr3U9bPdBLnJyHfBcp
+MkJ1vaI+0VhmP4X1fWibVxDCNQvRRQLkkxv43pcDjPLnfVpW43Aau6oJ1bfdqWb/
+8RcXEG38y2TOHwBs6gX96WkhCQHcY5E2xj7HueujcaSri2G+OdI2oY+me4oViA==
+=LgP2
+-END PGP PUBLIC KEY BLOCK-

Added: release/camel/camel-quarkus/2.10.0/apache-camel-quarkus-2.10.0-src.zip
==
Binary file - no diff available.

Propchange: 
release/camel/camel-quarkus/2.10.0/apache-camel-quarkus-2.10.0-src.zip
--
svn:mime-type = application/zip

Added: 
release/camel/camel-quarkus/2.10.0/apache-camel-quarkus-2.10.0-src.zip.asc
==
Binary file - no diff available.

Propchange: 
release/camel/camel-quarkus/2.10.0/apache-camel-quarkus-2.10.0-src.zip.asc
--
svn:mime-type = application/pgp-signature

Added: 

[GitHub] [camel] zhfeng opened a new pull request, #7830: Upgrade Mybatis to version 3.5.10

2022-06-20 Thread GitBox


zhfeng opened a new pull request, #7830:
URL: https://github.com/apache/camel/pull/7830

   
   


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

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



[GitHub] [camel-k-runtime] squakez commented on pull request #833: Add new module for structural Maven logging

2022-06-20 Thread GitBox


squakez commented on PR #833:
URL: https://github.com/apache/camel-k-runtime/pull/833#issuecomment-1160543585

   A test was failing. I've restarted it, if green we can merge.


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

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



[camel-quarkus] branch camel-main updated (1dea37e04f -> 303c2cec85)

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

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


omit 1dea37e04f Upgrade Camel to 3.18.0
 add 303c2cec85 Upgrade Camel to 3.18.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   (1dea37e04f)
\
 N -- N -- N   refs/heads/camel-main (303c2cec85)

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.

No new revisions were added by this update.

Summary of changes:
 docs/modules/ROOT/pages/reference/extensions/yaml-dsl.adoc | 6 ++
 1 file changed, 6 insertions(+)



[GitHub] [camel-quarkus] zhfeng commented on issue #3858: Consider removing configuration for `camel.main.source-location-enabled`

2022-06-20 Thread GitBox


zhfeng commented on issue #3858:
URL: https://github.com/apache/camel-quarkus/issues/3858#issuecomment-1160495372

   OK, I recall that @davsclaus mention in 
https://github.com/apache/camel-quarkus/issues/3432 that if we enable it, that 
can capture the source location : line-number for all the DSLs at build time. 
   
   I agree to make it part of `CamelConfig`.
   
   I don't remember that there is `camel.context.source-location-enabled` and 
it looks like `CamelContextRuntime` is never used now. Only `CamelMainRuntime` 
is default to create and bootstrap.


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

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



[camel] branch regen_bot updated (857e0abe6e0 -> 319ce436572)

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

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


from 857e0abe6e0 (chores) openapi-rest-dsl-generator: removed unused 
parameters
 add 4175a140a2f (chores) camel-debug: use format specifiers in log messages
 add 98c13b5672d (chores) camel-google-bigquery: remove unnecessary 
toString()
 add bd5e1b34235 (chores) camel-jira: use format specifiers in log messages
 add 3dc7d795d68 (chores) camel-mock: remove unnecessary toString()
 add 3d3107d1353 (chores) camel-rabbitmq: remove unnecessary toString()
 add 72ed2803475 (chores) camel-test-spring-junit5: use format specifiers 
in log messages
 add a8c19be2c39 (chores) camel-base-engine: use format specifiers in log 
messages
 add 319ce436572 (chores) camel-console: use format specifiers in log 
messages

No new revisions were added by this update.

Summary of changes:
 .../java/org/apache/camel/component/debug/JmxConnectorService.java   | 3 +--
 .../component/google/bigquery/sql/GoogleBigQuerySQLProducer.java | 2 +-
 .../apache/camel/component/jira/consumer/AbstractJiraConsumer.java   | 4 ++--
 .../org/apache/camel/component/jira/consumer/NewIssuesConsumer.java  | 5 +++--
 .../src/main/java/org/apache/camel/component/mock/TimeClause.java| 2 +-
 .../apache/camel/component/rabbitmq/RabbitMQMessageConverter.java| 2 +-
 .../org/apache/camel/test/spring/junit5/RouteCoverageDumper.java | 2 +-
 .../main/java/org/apache/camel/impl/engine/AbstractCamelContext.java | 4 ++--
 .../java/org/apache/camel/impl/console/DefaultDevConsolesLoader.java | 4 ++--
 9 files changed, 14 insertions(+), 14 deletions(-)



[GitHub] [camel-k] robertonav20 commented on pull request #3309: MultiArchitecture support

2022-06-20 Thread GitBox


robertonav20 commented on PR #3309:
URL: https://github.com/apache/camel-k/pull/3309#issuecomment-1160426298

   Nice! Thanks to you for your guide!


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

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



[camel] branch regen_bot updated (525c97c0aff -> 857e0abe6e0)

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

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


from 525c97c0aff Polished
 add fdc66987bea chore(deps): Included dependency review
 add 4e8707268be (chores) camel-bean: removed unused parameters
 add fc2709f06ae (chores) camel-directvm: removed unused parameters
 add cf0d203447e (chores) camel-file: removed unused parameters
 add 93d12a8037e (chores) camel-mail: removed unused parameters
 add b9fffea37fb (chores) camel-quickfix: removed unused parameters
 add aade2d86506 (chores) camel-thrift: removed unused parameters
 add 02f74172b19 (chores) camel-vertx-kafka-component: removed unused 
parameters
 add 6f088a755e9 (chores) camel-websocket: removed/documented unused 
parameters
 add 857e0abe6e0 (chores) openapi-rest-dsl-generator: removed unused 
parameters

No new revisions were added by this update.

Summary of changes:
 .github/workflows/depsreview.yaml  | 14 ++
 .../component/bean/AbstractCamelInvocationHandler.java |  4 ++--
 .../apache/camel/component/directvm/DirectVmComponent.java |  2 +-
 .../apache/camel/component/directvm/DirectVmConsumer.java  |  4 ++--
 .../file/strategy/FileLockExclusiveReadLockStrategy.java   |  4 ++--
 .../file/strategy/MarkerFileExclusiveReadLockStrategy.java |  9 -
 .../java/org/apache/camel/component/mail/MailBinding.java  |  4 ++--
 .../camel/component/quickfixj/QuickfixjComponent.java  |  1 -
 .../camel/component/quickfixj/QuickfixjEndpoint.java   |  4 ++--
 .../apache/camel/component/quickfixj/QuickfixjEngine.java  |  8 
 .../camel/component/quickfixj/QuickfixjProducer.java   |  4 ++--
 .../camel/component/quickfixj/QuickfixjProducerTest.java   |  2 +-
 .../org/apache/camel/component/quickfixj/TestSupport.java  |  8 +++-
 .../org/apache/camel/component/thrift/ThriftComponent.java |  6 +++---
 .../apache/camel/component/thrift/ThriftConfiguration.java |  3 +--
 .../vertx/kafka/VertxKafkaConfigurationOptionsProxy.java   |  4 ++--
 .../kafka/operations/VertxKafkaProducerOperations.java |  4 ++--
 .../camel/component/websocket/WebsocketComponent.java  |  6 +++---
 .../camel/component/websocket/WebsocketEndpoint.java   |  3 +--
 .../camel/component/websocket/WebsocketProducer.java   |  6 +-
 .../camel/component/websocket/WebsocketEndpointTest.java   |  2 +-
 .../camel/generator/openapi/RestDefinitionEmitter.java |  3 +--
 .../generator/openapi/RestDslDefinitionGenerator.java  |  5 ++---
 .../camel/generator/openapi/RestDslXmlGenerator.java   |  2 +-
 .../camel/generator/openapi/RestDslYamlGenerator.java  |  2 +-
 .../camel/generator/openapi/RestDefinitionEmitterTest.java |  2 +-
 .../camel/generator/openapi/RestDslGeneratorTest.java  |  2 +-
 .../camel/generator/openapi/RestDslGeneratorV3Test.java|  2 +-
 28 files changed, 65 insertions(+), 55 deletions(-)
 create mode 100644 .github/workflows/depsreview.yaml



[GitHub] [camel-examples] apupier commented on pull request #98: Remove unused import

2022-06-20 Thread GitBox


apupier commented on PR #98:
URL: https://github.com/apache/camel-examples/pull/98#issuecomment-1160419368

   failure is unrelated to the Pull request. it is emphasizing tha the main 
branch is broken:
   ```
   Error:  COMPILATION ERROR : 
   [INFO] -
   Error:  
/home/runner/work/camel-examples/camel-examples/examples/resume-api/resume-api-file-offset/src/main/java/org/apache/camel/example/resume/file/offset/main/MainApp.java:[61,76]
 method createConsumer in class 
org.apache.camel.processor.resume.kafka.SingleNodeKafkaResumeStrategy cannot 
be applied to given types;
 required: no arguments
 found: java.lang.String
 reason: actual and formal argument lists differ in length
   Error:  
/home/runner/work/camel-examples/camel-examples/examples/resume-api/resume-api-file-offset/src/main/java/org/apache/camel/example/resume/file/offset/main/MainApp.java:[66,76]
 method createProducer in class 
org.apache.camel.processor.resume.kafka.SingleNodeKafkaResumeStrategy cannot 
be applied to given types;
 required: no arguments
 found: java.lang.String
 reason: actual and formal argument lists differ in length
   Error:  
/home/runner/work/camel-examples/camel-examples/examples/resume-api/resume-api-file-offset/src/main/java/org/apache/camel/example/resume/file/offset/main/MainApp.java:[68,16]
 constructor SingleNodeKafkaResumeStrategy in class 
org.apache.camel.processor.resume.kafka.SingleNodeKafkaResumeStrategy cannot 
be applied to given types;
   ```


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

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



[GitHub] [camel-k] squakez commented on issue #1238: Multi-architecture support

2022-06-20 Thread GitBox


squakez commented on issue #1238:
URL: https://github.com/apache/camel-k/issues/1238#issuecomment-1160417922

   Partially available in #3309


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

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



[GitHub] [camel-k] phantomjinx commented on issue #3364: Add E2E workflow using Windows runner for testing Camel K CLI client and local run

2022-06-20 Thread GitBox


phantomjinx commented on issue #3364:
URL: https://github.com/apache/camel-k/issues/3364#issuecomment-1160417232

   Happy to take this on.


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

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



[GitHub] [camel-k] squakez commented on pull request #3309: MultiArchitecture support

2022-06-20 Thread GitBox


squakez commented on PR #3309:
URL: https://github.com/apache/camel-k/pull/3309#issuecomment-1160416100

   Merged. Thanks for the contribution! I think we can have a blog announcing 
this experimental feature, feel free to add one into 
[camel-website](https://github.com/apache/camel-website). I guess we can reuse 
part of the documentation you already wrote, maybe with some snapshot taken 
from your tests (and some performance measurement). 


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

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



[camel-k] branch main updated: MultiArchitecture support (#3309)

2022-06-20 Thread pcongiusti
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/main by this push:
 new d71cddff2 MultiArchitecture support (#3309)
d71cddff2 is described below

commit d71cddff2064e90e3fe7deae8b81ec416acd7d89
Author: Roberto Navarra 
AuthorDate: Mon Jun 20 14:55:47 2022 +0200

MultiArchitecture support (#3309)

* restore core to upstream version
update docker file for camel-k operator
change makefile to build multiplatform image
add platform parameter to buildah task

* correct image and make file script

* update buildah image version for multi platform support

* replace arch with platform

* add variant field and change the policy

* add docker.io inside baseimage

* obtain architecture value from PublishStrategyOptions
add buildah go file inside builder package
add Architecture field inside publish task and mapping to buildah

* replace name of buildah property

* correct buildah attribute

* correct attribute name
platform attribute moved to BuildahTask

* add Dockerfile.arch to support arm64
add images-arch images-dev-arch bundle-build-arch for manual build

* remove useless import

* execute goimports lint

* correct docker file for buildx

* correct makefile command
use platform attribute if exists
docker.io from defaults.go

* fix platform initialize

* improve readibility of bud command

* remove useless containerd dependency

* Fix makefile images-arch command

* correct docker image name

* add default docker.io to baseimage because buildah required it
correct bud initialization

* correct bud command

* correct bud command with platform

* add log to trace platform attribute

* add docs page to describe multi architecture use

* add note

* Generate CRD

* regenerate crd

Co-authored-by: ConsNavarraRoberto 
Co-authored-by: raspberry 
---
 build/Dockerfile.arch  | 47 +
 config/crd/bases/camel.apache.org_builds.yaml  |  3 +
 .../pages/configuration/multi-architecture.adoc| 81 ++
 docs/modules/ROOT/partials/apis/camel-k-crds.adoc  | 40 ++-
 docs/modules/ROOT/partials/apis/kamelets-crds.adoc | 14 
 go.sum |  1 +
 helm/camel-k/crds/crd-build.yaml   |  3 +
 pkg/apis/camel/v1/build_types.go   |  2 +
 .../defaults/defaults.go => builder/buildah.go}| 35 +-
 pkg/controller/build/build_pod.go  | 18 -
 pkg/trait/builder.go   | 11 +++
 pkg/util/defaults/defaults.go  |  4 +-
 script/Makefile| 38 +-
 13 files changed, 254 insertions(+), 43 deletions(-)

diff --git a/build/Dockerfile.arch b/build/Dockerfile.arch
new file mode 100644
index 0..799e65da5
--- /dev/null
+++ b/build/Dockerfile.arch
@@ -0,0 +1,47 @@
+# 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.
+
+FROM --platform=$BUILDPLATFORM ghcr.io/graalvm/graalvm-ce:ol8-java11-22.1.0
+
+ARG MAVEN_VERSION="3.8.4"
+ARG MAVEN_HOME="/usr/share/maven"
+ARG 
SHA="a9b2d825eacf2e771ed5d6b0e01398589ac1bfa4171f36154d1b5787879605507802f699da6f7cfc80732a5282fd31b28e4cd6052338cbef0fa1358b48a5e3c8"
+ARG 
BASE_URL="https://archive.apache.org/dist/maven/maven-3/${MAVEN_VERSION}/binaries;
+
+USER 0
+
+RUN mkdir -p ${MAVEN_HOME} \
+&& curl -Lso /tmp/maven.tar.gz 
${BASE_URL}/apache-maven-${MAVEN_VERSION}-bin.tar.gz \
+&& echo "${SHA} /tmp/maven.tar.gz" | sha512sum -c - \
+&& tar -xzC ${MAVEN_HOME} --strip-components=1 -f /tmp/maven.tar.gz \
+&& rm -v /tmp/maven.tar.gz \
+&& ln -s ${MAVEN_HOME}/bin/mvn /usr/bin/mvn \
+&& rm ${MAVEN_HOME}/lib/maven-slf4j-provider*
+
+ADD build/_maven_output /tmp/artifacts/m2
+ADD build/_kamelets /kamelets
+COPY build/_maven_overlay/ /usr/share/maven/lib/
+ADD 

[GitHub] [camel-k] squakez merged pull request #3309: MultiArchitecture support

2022-06-20 Thread GitBox


squakez merged PR #3309:
URL: https://github.com/apache/camel-k/pull/3309


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

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



[GitHub] [camel-k] squakez commented on pull request #3185: Add settings security to Maven build

2022-06-20 Thread GitBox


squakez commented on PR #3185:
URL: https://github.com/apache/camel-k/pull/3185#issuecomment-1160409594

   Merged. Thanks for the contribution!


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

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



[camel-k] 02/02: New resources generated from make command

2022-06-20 Thread pcongiusti
This is an automated email from the ASF dual-hosted git repository.

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

commit d93c44bcc85b3c9369238a28b196e5b70524a7a7
Author: haanhvu 
AuthorDate: Wed May 18 22:17:12 2022 +0700

New resources generated from make command
---
 pkg/resources/resources.go | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/pkg/resources/resources.go b/pkg/resources/resources.go
index dafa8498c..8bd9fad71 100644
--- a/pkg/resources/resources.go
+++ b/pkg/resources/resources.go
@@ -117,9 +117,9 @@ var assets = func() http.FileSystem {
"/crd/bases/camel.apache.org_builds.yaml": 
۰CompressedFileInfo{
name: "camel.apache.org_builds.yaml",
modTime:  time.Time{},
-   uncompressedSize: 40596,
+   uncompressedSize: 43260,
 
-   compressedContent: 
[]byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x3d\x6b\x73\xe3\x38\x72\xdf\xfd\x2b\xba\xd6\x1f\xc6\x53\x65\x49\xbb\x7b\x8f\x6c\x9c\x4a\xa5\x74\x9e\x9d\x3d\x67\x1e\x76\x46\xde\xb9\xbb\x6f\x86\xc8\x96\x84\x13\x09\x30\x00\x68\x8d\x2e\x95\xff\x9e\x42\x03\xa0\x28\x89\x0f\xd0\x8f\x99\xcb\x9d\xf1\x65\xc6\x14\xd8\xe8\x6e\x34\xfa\x85\x06\x78\x0a\xa3\xa7\x6b\x27\xa7\xf0\x9e\x27\x28\x34\xa6\x60\x24\x98\x15\xc2\xb4\x60\xc9\x0a\x61\x26\x17\x66\xc3\x14\xc2\x5b\x59\x8a\x94\x
 [...]
+   compressedContent: 
[]byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x3d\x5d\x73\x1b\x39\x8e\xef\xfe\x15\xa8\xf1\x43\x9c\x2a\x4b\x9a\x99\xfd\xb8\x39\x5f\x5d\x5d\x69\x9d\x99\x59\x5f\x3e\x9c\x8b\x3c\xd9\xdd\x37\x53\xdd\x90\xc4\x51\x37\xd9\x47\xb2\xad\x68\xaf\xee\xbf\x5f\x11\x24\x5b\x2d\xa9\x3f\xd8\x8e\x9d\xec\xed\x88\x2f\x89\x5b\x24\x08\x82\x20\x00\x82\x20\x78\x0e\xa3\xa7\x2b\x67\xe7\xf0\x86\x27\x28\x34\xa6\x60\x24\x98\x15\xc2\xb4\x60\xc9\x0a\x61\x26\x17\x66\xc3\x14\xc2\x4f\xb2\x14\x
 [...]
},
"/crd/bases/camel.apache.org_camelcatalogs.yaml": 
۰CompressedFileInfo{
name: "camel.apache.org_camelcatalogs.yaml",
@@ -138,9 +138,9 @@ var assets = func() http.FileSystem {
"/crd/bases/camel.apache.org_integrationplatforms.yaml": 
۰CompressedFileInfo{
name: 
"camel.apache.org_integrationplatforms.yaml",
modTime:  time.Time{},
-   uncompressedSize: 33529,
+   uncompressedSize: 38193,
 
-   compressedContent: 
[]byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x5d\xdd\x73\xe3\x38\x72\x7f\xd7\x5f\xd1\xb5\x7e\x98\xd9\x2a\x89\xda\xcd\x7d\xe4\xa2\x54\x2a\xa5\xd3\x78\xf6\x1c\xcf\xd8\x8e\xa5\x99\xcd\x3d\xad\x21\xb2\x45\xe2\x0c\x02\x0c\x00\x4a\xa3\x4b\xe5\x7f\x4f\xe1\x83\x14\x25\xf1\x4b\x1e\xcf\x65\x6b\x8b\x7c\xd8\xf5\x88\x40\xa3\xd1\xdd\xe8\xfe\x35\x80\x2e\x5e\xc1\xe4\xf5\x9e\xd1\x15\x7c\xa0\x21\x72\x85\x11\x68\x01\x3a\x41\x98\x67\x24\x4c\x10\x96\x62\xa3\x77\x44\x22\xbc\x17\x
 [...]
+   compressedContent: 
[]byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x7d\xdf\x93\xdb\x38\x72\xff\xbb\xfe\x8a\xae\x9d\x07\x7b\xab\x24\x6a\xf7\x7b\x3f\xbe\x97\x49\xa5\x52\x3a\x79\xbc\x37\x19\xdb\x33\x19\xc9\xde\xdc\xd3\x0e\x44\xb6\x44\xdc\x80\x00\x03\x80\x92\x75\xa9\xfc\xef\x29\x34\x40\x89\x92\x48\x8a\x1a\xdb\x97\xad\x0d\xf9\xb0\x3b\x26\x81\x46\xa3\xbb\xd1\xfd\x01\x89\x6e\x5d\xc1\xe8\xeb\x5d\x83\x2b\x78\xc7\x63\x94\x06\x13\xb0\x0a\x6c\x8a\x30\xc9\x59\x9c\x22\xcc\xd4\xd2\x6e\x98\x46\x
 [...]
},
"/crd/bases/camel.apache.org_integrations.yaml": 
۰CompressedFileInfo{
name: "camel.apache.org_integrations.yaml",



[camel-k] 01/02: Add settings security to Maven build

2022-06-20 Thread pcongiusti
This is an automated email from the ASF dual-hosted git repository.

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

commit 6c397ba62c12c3acb63d1c81a9939216f49c414c
Author: haanhvu 
AuthorDate: Wed May 11 16:30:36 2022 +0700

Add settings security to Maven build
---
 config/crd/bases/camel.apache.org_builds.yaml  |  44 +++
 .../camel.apache.org_integrationplatforms.yaml |  84 
 docs/modules/ROOT/pages/configuration/maven.adoc   |  33 -
 docs/modules/ROOT/partials/apis/camel-k-crds.adoc  |   8 ++
 examples/maven/README.md   |  17 +++
 examples/maven/ip.yaml |  15 +++
 helm/camel-k/crds/crd-build.yaml   |  44 +++
 helm/camel-k/crds/crd-integration-platform.yaml|  84 
 pkg/apis/camel/v1/maven_types.go   |   3 +
 pkg/apis/camel/v1/zz_generated.deepcopy.go |   1 +
 pkg/builder/project.go |   8 ++
 pkg/builder/project_test.go| 142 +
 pkg/builder/quarkus.go |   2 +
 pkg/builder/types.go   |  11 +-
 pkg/util/maven/maven_command.go|   7 +
 15 files changed, 497 insertions(+), 6 deletions(-)

diff --git a/config/crd/bases/camel.apache.org_builds.yaml 
b/config/crd/bases/camel.apache.org_builds.yaml
index 6ac023fd6..5db172705 100644
--- a/config/crd/bases/camel.apache.org_builds.yaml
+++ b/config/crd/bases/camel.apache.org_builds.yaml
@@ -373,6 +373,50 @@ spec:
   - key
   type: object
   type: object
+settingsSecurity:
+  description: A reference to the ConfigMap or 
Secret
+key that contains the security of the Maven 
settings.
+  properties:
+configMapKeyRef:
+  description: Selects a key of a ConfigMap.
+  properties:
+key:
+  description: The key to select.
+  type: string
+name:
+  description: 'Name of the referent. More 
info:
+
https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
+TODO: Add other useful fields. 
apiVersion,
+kind, uid?'
+  type: string
+optional:
+  description: Specify whether the 
ConfigMap or
+its key must be defined
+  type: boolean
+  required:
+  - key
+  type: object
+secretKeyRef:
+  description: Selects a key of a secret.
+  properties:
+key:
+  description: The key of the secret to 
select
+from.  Must be a valid secret key.
+  type: string
+name:
+  description: 'Name of the referent. More 
info:
+
https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
+TODO: Add other useful fields. 
apiVersion,
+kind, uid?'
+  type: string
+optional:
+  description: Specify whether the Secret 
or its
+key must be defined
+  type: boolean
+  required:
+  - key
+  type: object
+  type: object
   type: object
 name:
   description: name of the task
diff --git a/config/crd/bases/camel.apache.org_integrationplatforms.yaml 
b/config/crd/bases/camel.apache.org_integrationplatforms.yaml
index 1b82862f5..d83005fbe 100644
--- a/config/crd/bases/camel.apache.org_integrationplatforms.yaml
+++ b/config/crd/bases/camel.apache.org_integrationplatforms.yaml
@@ -223,6 +223,48 @@ spec:
 - key
 type: 

[camel-k] branch main updated (030f95804 -> d93c44bcc)

2022-06-20 Thread pcongiusti
This is an automated email from the ASF dual-hosted git repository.

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


from 030f95804 feat(cli): promote kameletbinding support
 new 6c397ba62 Add settings security to Maven build
 new d93c44bcc New resources generated from make command

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:
 config/crd/bases/camel.apache.org_builds.yaml  |  44 +++
 .../camel.apache.org_integrationplatforms.yaml |  84 
 docs/modules/ROOT/pages/configuration/maven.adoc   |  33 -
 docs/modules/ROOT/partials/apis/camel-k-crds.adoc  |   8 ++
 examples/maven/README.md   |  17 +++
 examples/maven/ip.yaml |  15 +++
 helm/camel-k/crds/crd-build.yaml   |  44 +++
 helm/camel-k/crds/crd-integration-platform.yaml|  84 
 pkg/apis/camel/v1/maven_types.go   |   3 +
 pkg/apis/camel/v1/zz_generated.deepcopy.go |   1 +
 pkg/builder/project.go |   8 ++
 pkg/builder/project_test.go| 142 +
 pkg/builder/quarkus.go |   2 +
 pkg/builder/types.go   |  11 +-
 pkg/resources/resources.go |   8 +-
 pkg/util/maven/maven_command.go|   7 +
 16 files changed, 501 insertions(+), 10 deletions(-)
 create mode 100644 examples/maven/README.md
 create mode 100644 examples/maven/ip.yaml



[GitHub] [camel-k] squakez merged pull request #3185: Add settings security to Maven build

2022-06-20 Thread GitBox


squakez merged PR #3185:
URL: https://github.com/apache/camel-k/pull/3185


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

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



[GitHub] [camel-k] squakez closed issue #2747: Adding mavens settings-security.xml to the spec.build.maven is not possible

2022-06-20 Thread GitBox


squakez closed issue #2747: Adding mavens settings-security.xml to the 
spec.build.maven is not possible
URL: https://github.com/apache/camel-k/issues/2747


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

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



[camel-examples] branch main updated (20ef48cd -> 5bb0645a)

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

orpiske pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/camel-examples.git


from 20ef48cd CAMEL-18132: add test scope dependency for github resource 
resolution
 add 5bb0645a CAMEL-18128: updates the examples

No new revisions were added by this update.

Summary of changes:
 .../example/resume/aws/kinesis/main/MainApp.java   | 18 ---
 .../example/resume/cassandra/main/MainApp.java | 16 +-
 .../example/resume/strategies/kafka/KafkaUtil.java | 57 ++
 .../example/resume/file/offset/main/MainApp.java   | 21 ++--
 .../clusterized/main/ClusterizedListener.java  | 20 
 .../camel/example/resume/fileset/main/MainApp.java | 18 +--
 6 files changed, 85 insertions(+), 65 deletions(-)
 create mode 100644 
examples/resume-api/resume-api-common/src/main/java/org/apache/camel/example/resume/strategies/kafka/KafkaUtil.java



[GitHub] [camel-examples] orpiske merged pull request #97: CAMEL-18128: updates the examples

2022-06-20 Thread GitBox


orpiske merged PR #97:
URL: https://github.com/apache/camel-examples/pull/97


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

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



  1   2   >