Re: [I] Pull image failed from private registry due to no pull secret [camel-karavan]

2024-03-09 Thread via GitHub


Taymindis closed issue #1167: Pull image failed from private registry due to no 
pull secret 
URL: https://github.com/apache/camel-karavan/issues/1167


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



Re: [I] [CI] - Quarkus Main Branch Build Failure [camel-quarkus]

2024-03-09 Thread via GitHub


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

   The 
[quarkus-main](https://github.com/apache/camel-quarkus/tree/quarkus-main) 
branch build has failed:
   
   * Build ID: 8218876843-1417-1d5bc0da-cce8-4709-b334-72c84b87c804
   * Camel Quarkus Commit: e888ec9a48b1f8e1f491847e398511f3feb92dbc
   
   * Quarkus Main Commit: b2930ef0dcb3aa8b9259d650cf6c8abb974b1ec3
   * Link to build: 
https://github.com/apache/camel-quarkus/actions/runs/8218876843


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



Re: [I] [CI] - Camel Main Branch Build Failure [camel-quarkus]

2024-03-09 Thread via GitHub


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

   The [camel-main](https://github.com/apache/camel-quarkus/tree/camel-main) 
branch build has failed:
   
   * Build ID: 8218108163-1313-b8a93d8a-2c2f-4854-bc74-ded985218fdd
   * Camel Quarkus Commit: aa65577f09601cc2092b1126fe441b2a671dbea6
   
   * Camel Main Commit: b2930ef0dcb3aa8b9259d650cf6c8abb974b1ec3
   * Link to build: 
https://github.com/apache/camel-quarkus/actions/runs/8218108163


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



Re: [PR] Update what-platforms-are-supported.adoc [camel]

2024-03-09 Thread via GitHub


nrkkalyan commented on PR #13424:
URL: https://github.com/apache/camel/pull/13424#issuecomment-1986962385

   The + sign I mean for java 11 and above.
   Is it not the case that one can use Java 17 to compile and run applications 
with apache 3.x?


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



Re: [PR] Update what-platforms-are-supported.adoc [camel]

2024-03-09 Thread via GitHub


davsclaus commented on PR #13424:
URL: https://github.com/apache/camel/pull/13424#issuecomment-1986961138

   Remove the `+` sign


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



Re: [PR] Update what-platforms-are-supported.adoc [camel]

2024-03-09 Thread via GitHub


nrkkalyan commented on PR #13424:
URL: https://github.com/apache/camel/pull/13424#issuecomment-1986954785

   Hi Claus
   
   Thank you for your comments, but sorry to say, I don't understand what you 
mean "update the PR with better information,"
   
   As my understanding is, one can use latest Java version (Java11 or above) 
for 3.x Apache camel.
   And 3.x is not restricted to work only with Java11. 
   Like wise 3.17 is compatible to compile and run with Java 17 and higher java 
version.
   Please clarify?
   
   


-- 
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) annotated tag camel-4.4.1 created (now 880338686d3)

2024-03-09 Thread gzurowski
This is an automated email from the ASF dual-hosted git repository.

gzurowski pushed a change to annotated tag camel-4.4.1
in repository https://gitbox.apache.org/repos/asf/camel.git


  at 880338686d3 (tag)
 tagging d57ffb8acbfbfaf1880587bf77fa44d2db052f48 (commit)
 replaces camel-4.4.0
  by Gregor Zurowski
  on Sat Mar 9 18:21:56 2024 +

- Log -
[maven-release-plugin] copy for tag camel-4.4.1
---

No new revisions were added by this update.



(camel) branch release/4.4.1 created (now 9919181631d)

2024-03-09 Thread gzurowski
This is an automated email from the ASF dual-hosted git repository.

gzurowski pushed a change to branch release/4.4.1
in repository https://gitbox.apache.org/repos/asf/camel.git


  at 9919181631d Regen

No new revisions were added by this update.



Error while running github feature from .asf.yaml in camel-website-pub!

2024-03-09 Thread Apache Infrastructure


An error occurred while running github feature in .asf.yaml!:
422 {"message": "Validation Failed", "errors": [{"message": "Sorry, you need to 
allow at least one merge strategy. (no_merge_method)", "resource": 
"Repository", "field": "merge_commit_allowed", "code": "invalid"}], 
"documentation_url": 
"https://docs.github.com/rest/repos/repos#update-a-repository"}



(camel-website-pub) branch asf-site updated (dc0a982ee -> 360794123)

2024-03-09 Thread git-site-role
This is an automated email from the ASF dual-hosted git repository.

git-site-role pushed a change to branch asf-site
in repository https://gitbox.apache.org/repos/asf/camel-website-pub.git


 discard dc0a982ee Website updated to ca4ca152544e8315ea8294df16d4dd73b3e7cfb0
 discard 8e6a2e67d Website updated to 325e929157412b27394080f4d4dba3d821476ddf
 new c7ff57e7d Website updated to 325e929157412b27394080f4d4dba3d821476ddf
 new 360794123 Website updated to d022b3c9c00840ef925d6b60b9c3d526df44c777

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   (dc0a982ee)
\
 N -- N -- N   refs/heads/asf-site (360794123)

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

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

The 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:
 .htaccess |  144 +-
 .well-known/security.txt  |2 +-
 download/index.html   |2 +-
 site-manifest.json|2 +-
 sitemap-camel-core.xml|   14 +-
 sitemap-camel-k.xml   |  598 ++--
 sitemap-camel-kafka-connector.xml |  824 +++---
 sitemap-camel-kamelets.xml| 1400 -
 sitemap-camel-karaf.xml   |   38 +-
 sitemap-camel-quarkus.xml | 2008 ++---
 sitemap-camel-spring-boot.xml |   56 +-
 sitemap-components.xml| 5764 ++---
 sitemap-manual.xml|  422 +--
 13 files changed, 5637 insertions(+), 5637 deletions(-)



Error while running github feature from .asf.yaml in camel-website-pub!

2024-03-09 Thread Apache Infrastructure


An error occurred while running github feature in .asf.yaml!:
422 {"message": "Validation Failed", "errors": [{"message": "Sorry, you need to 
allow at least one merge strategy. (no_merge_method)", "resource": 
"Repository", "field": "merge_commit_allowed", "code": "invalid"}], 
"documentation_url": 
"https://docs.github.com/rest/repos/repos#update-a-repository"}



(camel-website-pub) branch asf-site updated (2165b57d3 -> dc0a982ee)

2024-03-09 Thread git-site-role
This is an automated email from the ASF dual-hosted git repository.

git-site-role pushed a change to branch asf-site
in repository https://gitbox.apache.org/repos/asf/camel-website-pub.git


 discard 2165b57d3 Website updated to e321af7749a6ceb0918c325ce701a4f4266d9650
 discard a2f199c05 Website updated to 325e929157412b27394080f4d4dba3d821476ddf
 new 8e6a2e67d Website updated to 325e929157412b27394080f4d4dba3d821476ddf
 new dc0a982ee Website updated to ca4ca152544e8315ea8294df16d4dd73b3e7cfb0

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   (2165b57d3)
\
 N -- N -- N   refs/heads/asf-site (dc0a982ee)

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

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

The 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:
 .htaccess  |  142 +-
 .well-known/security.txt   |2 +-
 camel-k/next/apis/camel-k.html |2 +-
 camel-k/next/traits/cron.html  |2 +-
 camel-quarkus/3.2.x/index.html |2 +-
 camel-quarkus/3.8.x/index.html |2 +-
 .../3.8.x/user-guide/dependency-management.html|4 +-
 camel-quarkus/3.8.x/user-guide/first-steps.html|2 +-
 camel-quarkus/next/index.html  |2 +-
 .../next/user-guide/dependency-management.html |4 +-
 camel-quarkus/next/user-guide/first-steps.html |2 +-
 camel-spring-boot/4.4.x/list.html  |2 +-
 camel-spring-boot/next/list.html   |2 +-
 components/4.4.x/aws2-cw-component.html|2 +-
 components/4.4.x/aws2-sns-component.html   |2 +-
 components/4.4.x/azure-cosmosdb-component.html |2 +-
 components/4.4.x/azure-servicebus-component.html   |2 +-
 components/4.4.x/azure-storage-blob-component.html |2 +-
 .../4.4.x/azure-storage-datalake-component.html|2 +-
 .../4.4.x/azure-storage-queue-component.html   |2 +-
 components/4.4.x/azure-summary.html|2 +-
 components/4.4.x/consul-component.html |2 +-
 components/4.4.x/etcd3-component.html  |2 +-
 components/4.4.x/index.html|2 +-
 components/4.4.x/minio-component.html  |2 +-
 components/4.4.x/rest-api-component.html   |2 +-
 components/4.4.x/rest-component.html   |2 +-
 components/next/activemq-component.html|2 +-
 components/next/amqp-component.html|2 +-
 components/next/arangodb-component.html|2 +-
 components/next/as2-component.html |2 +-
 components/next/asterisk-component.html|2 +-
 .../next/atmosphere-websocket-component.html   |2 +-
 components/next/atom-component.html|2 +-
 components/next/avro-component.html|2 +-
 components/next/aws-bedrock-agent-component.html   |   10 +
 .../next/aws-bedrock-agent-runtime-component.html  |   10 +
 components/next/aws-bedrock-component.html |4 +-
 components/next/aws-cloudtrail-component.html  |2 +-
 components/next/aws-config-component.html  |2 +-
 components/next/aws-secrets-manager-component.html |2 +-
 components/next/aws-summary.html   |2 +-
 components/next/aws2-athena-component.html |2 +-
 components/next/aws2-cw-component.html |4 +-
 components/next/aws2-ddb-component.html|2 +-
 components/next/aws2-ddbstream-component.html  |2 +-
 components/next/aws2-ec2-component.html|2 +-
 components/next/aws2-ecs-component.html|2 +-
 components/next/aws2-eks-component.html|2 +-
 components/next/aws2-eventbridge-component.html|2 +-
 components/next/aws2-iam-component.html|2 +-
 components/next/aws2-kinesis-component.html|2 +-
 .../next/aws2-kinesis-firehose-component.html  |2 +-
 components/next/aws2-kms-component.html|2 +-
 components/next/aws2-lambda-component.html |2 +-
 components/next/aws2-mq-component.html |2 +-
 components/next/aws2-msk-component.html|2 +-
 

(camel-karavan) branch main updated: DHIS2 Icon

2024-03-09 Thread marat
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/main by this push:
 new 6cd48bdb DHIS2 Icon
6cd48bdb is described below

commit 6cd48bdba7762a46b05db093e3c082ea418ba154
Author: Marat Gubaidullin 
AuthorDate: Sat Mar 9 10:51:04 2024 -0500

DHIS2 Icon
---
 .../webui/src/designer/icons/ComponentIcons.tsx| 34 +-
 .../src/main/webui/src/designer/utils/CamelUi.tsx  |  4 ++-
 .../src/designer/icons/ComponentIcons.tsx  | 34 +-
 karavan-designer/src/designer/utils/CamelUi.tsx|  4 ++-
 .../src/designer/icons/ComponentIcons.tsx  | 34 +-
 karavan-space/src/designer/utils/CamelUi.tsx   |  4 ++-
 6 files changed, 108 insertions(+), 6 deletions(-)

diff --git a/karavan-app/src/main/webui/src/designer/icons/ComponentIcons.tsx 
b/karavan-app/src/main/webui/src/designer/icons/ComponentIcons.tsx
index c803bf11..3dee6246 100644
--- a/karavan-app/src/main/webui/src/designer/icons/ComponentIcons.tsx
+++ b/karavan-app/src/main/webui/src/designer/icons/ComponentIcons.tsx
@@ -16,6 +16,38 @@
  */
 import React from 'react';
 
+export function DHIS2Icon() {
+return (
+http://www.w3.org/2000/svg;
+id="Layer_1"
+viewBox="0 0 195 175"
+className="icon" width="32px" height="32px"
+data-name="Layer 1"
+>
+
+{".cls-1{fill:#0080d4}"}
+
+{"dhis2-logo-rgb-positive"}
+
+
+
+
+);
+}
+
 export function DirectIcon() {
 return (
 
 
-
+
 http://www.w3.org/2000/svg;
+id="Layer_1"
+viewBox="0 0 195 175"
+className="icon" width="32px" height="32px"
+data-name="Layer 1"
+>
+
+{".cls-1{fill:#0080d4}"}
+
+{"dhis2-logo-rgb-positive"}
+
+
+
+
+);
+}
+
 export function DirectIcon() {
 return (
 
 
-
+
 http://www.w3.org/2000/svg;
+id="Layer_1"
+viewBox="0 0 195 175"
+className="icon" width="32px" height="32px"
+data-name="Layer 1"
+>
+
+{".cls-1{fill:#0080d4}"}
+
+{"dhis2-logo-rgb-positive"}
+
+
+
+
+);
+}
+
 export function DirectIcon() {
 return (
 
 
-
+
 

(camel) branch regen_bot updated (e78afecbfe7 -> afcf15fd957)

2024-03-09 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 e78afecbfe7 Mark 4.4 EOL date
 add afcf15fd957 Mark 4.4 EOL date

No new revisions were added by this update.

Summary of changes:
 .../resources/org/apache/camel/catalog/releases/camel-releases.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



(camel) branch regen_bot updated (2dde228a468 -> e78afecbfe7)

2024-03-09 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 2dde228a468 CAMEL-20539: camel-jbang - Make it possible to turn off 
maven central so its easier to ensure all downloads can be done via maven 
proxy/mirror
 add e78afecbfe7 Mark 4.4 EOL date

No new revisions were added by this update.

Summary of changes:
 .../resources/org/apache/camel/catalog/releases/camel-releases.json  | 1 +
 1 file changed, 1 insertion(+)



(camel-website) branch regen_bot updated (d022b3c9 -> ca4ca152)

2024-03-09 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-website.git


from d022b3c9 Mark 4.4 EOL date
 add ca4ca152 Mark 4.4 EOL date

No new revisions were added by this update.

Summary of changes:
 content/releases/release-4.4.0.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



(camel) branch regen_bot updated (4a2b9c375ab -> 2dde228a468)

2024-03-09 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 4a2b9c375ab console in catalog (#13426)
 add 2dde228a468 CAMEL-20539: camel-jbang - Make it possible to turn off 
maven central so its easier to ensure all downloads can be done via maven 
proxy/mirror

No new revisions were added by this update.

Summary of changes:
 .../org/apache/camel/dsl/jbang/core/commands/version/VersionList.java  | 3 +--
 .../main/java/org/apache/camel/tooling/maven/MavenDownloaderImpl.java  | 1 +
 2 files changed, 2 insertions(+), 2 deletions(-)



(camel-website) branch regen_bot updated (e321af77 -> d022b3c9)

2024-03-09 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-website.git


from e321af77 Blogpost for VS Code Language Support 0.16.0 release
 add d022b3c9 Mark 4.4 EOL date

No new revisions were added by this update.

Summary of changes:
 content/releases/release-4.4.0.md | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)



(camel) branch main updated: Mark 4.4 EOL date

2024-03-09 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 afcf15fd957 Mark 4.4 EOL date
afcf15fd957 is described below

commit afcf15fd957bf89b711278151f96a2d17001bbe7
Author: Claus Ibsen 
AuthorDate: Sat Mar 9 16:43:27 2024 +0100

Mark 4.4 EOL date
---
 .../resources/org/apache/camel/catalog/releases/camel-releases.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/releases/camel-releases.json
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/releases/camel-releases.json
index dc62538e925..b32e2ae444c 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/releases/camel-releases.json
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/releases/camel-releases.json
@@ -859,7 +859,7 @@
 {
 "version": "4.4.0",
 "date": "2024-02-17",
-"eol": "2024-02-17",
+"eol": "2025-02-17",
 "kind": "lts",
 "jdk": "17,21"
 }



(camel-website) branch main updated: Mark 4.4 EOL date

2024-03-09 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-website.git


The following commit(s) were added to refs/heads/main by this push:
 new ca4ca152 Mark 4.4 EOL date
ca4ca152 is described below

commit ca4ca152544e8315ea8294df16d4dd73b3e7cfb0
Author: Claus Ibsen 
AuthorDate: Sat Mar 9 16:42:56 2024 +0100

Mark 4.4 EOL date
---
 content/releases/release-4.4.0.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/content/releases/release-4.4.0.md 
b/content/releases/release-4.4.0.md
index d0e1b251..5f5f7e8b 100644
--- a/content/releases/release-4.4.0.md
+++ b/content/releases/release-4.4.0.md
@@ -1,6 +1,6 @@
 ---
 date: 2024-02-17
-eol: 2024-02-17
+eol: 2025-02-17
 draft: false
 type: release-note
 version: 4.4.0



(camel) branch main updated: Mark 4.4 EOL date

2024-03-09 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 e78afecbfe7 Mark 4.4 EOL date
e78afecbfe7 is described below

commit e78afecbfe70980fd4e05cbc2dabd81ed20afb03
Author: Claus Ibsen 
AuthorDate: Sat Mar 9 16:41:50 2024 +0100

Mark 4.4 EOL date
---
 .../resources/org/apache/camel/catalog/releases/camel-releases.json  | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/releases/camel-releases.json
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/releases/camel-releases.json
index 7f20c95b7c3..dc62538e925 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/releases/camel-releases.json
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/releases/camel-releases.json
@@ -859,6 +859,7 @@
 {
 "version": "4.4.0",
 "date": "2024-02-17",
+"eol": "2024-02-17",
 "kind": "lts",
 "jdk": "17,21"
 }



(camel-website) branch main updated: Mark 4.4 EOL date

2024-03-09 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-website.git


The following commit(s) were added to refs/heads/main by this push:
 new d022b3c9 Mark 4.4 EOL date
d022b3c9 is described below

commit d022b3c9c00840ef925d6b60b9c3d526df44c777
Author: Claus Ibsen 
AuthorDate: Sat Mar 9 16:40:42 2024 +0100

Mark 4.4 EOL date
---
 content/releases/release-4.4.0.md | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/content/releases/release-4.4.0.md 
b/content/releases/release-4.4.0.md
index ec87a65e..d0e1b251 100644
--- a/content/releases/release-4.4.0.md
+++ b/content/releases/release-4.4.0.md
@@ -1,10 +1,11 @@
 ---
 date: 2024-02-17
+eol: 2024-02-17
 draft: false
 type: release-note
 version: 4.4.0
 title: "Release 4.4.0"
-preview: "New release 4.4.0"
+preview: "New LTS release 4.4.0"
 apiBreaking: ""
 knownIssues: ""
 jiraVersionId: 12353989



(camel) branch main updated: CAMEL-20539: camel-jbang - Make it possible to turn off maven central so its easier to ensure all downloads can be done via maven proxy/mirror

2024-03-09 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 2dde228a468 CAMEL-20539: camel-jbang - Make it possible to turn off 
maven central so its easier to ensure all downloads can be done via maven 
proxy/mirror
2dde228a468 is described below

commit 2dde228a46838cf07b07c3203b4399b940a33b5b
Author: Claus Ibsen 
AuthorDate: Sat Mar 9 16:39:07 2024 +0100

CAMEL-20539: camel-jbang - Make it possible to turn off maven central so 
its easier to ensure all downloads can be done via maven proxy/mirror
---
 .../org/apache/camel/dsl/jbang/core/commands/version/VersionList.java  | 3 +--
 .../main/java/org/apache/camel/tooling/maven/MavenDownloaderImpl.java  | 1 +
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/version/VersionList.java
 
b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/version/VersionList.java
index c7753ac5a06..aecf2c9759b 100644
--- 
a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/version/VersionList.java
+++ 
b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/version/VersionList.java
@@ -132,8 +132,7 @@ public class VersionList extends CamelCommand {
 
 main.stop();
 } catch (Exception e) {
-e.printStackTrace();
-printer().println("Error downloading available Camel versions");
+printer().println("Error downloading available Camel versions due 
to: " + e.getMessage());
 return 1;
 }
 
diff --git 
a/tooling/camel-tooling-maven/src/main/java/org/apache/camel/tooling/maven/MavenDownloaderImpl.java
 
b/tooling/camel-tooling-maven/src/main/java/org/apache/camel/tooling/maven/MavenDownloaderImpl.java
index 0870e35e55c..82c74971695 100644
--- 
a/tooling/camel-tooling-maven/src/main/java/org/apache/camel/tooling/maven/MavenDownloaderImpl.java
+++ 
b/tooling/camel-tooling-maven/src/main/java/org/apache/camel/tooling/maven/MavenDownloaderImpl.java
@@ -340,6 +340,7 @@ public class MavenDownloaderImpl extends ServiceSupport 
implements MavenDownload
 }
 }
 }
+centralResolutionRepository = centralRepository;
 
 if (mavenApacheSnapshotEnabled && !apacheSnapshotsIncluded) {
 // process apache snapshots even if it's not present in 
remoteRepositories, because it



Re: [PR] Update what-platforms-are-supported.adoc [camel]

2024-03-09 Thread via GitHub


davsclaus commented on PR #13424:
URL: https://github.com/apache/camel/pull/13424#issuecomment-1986886221

   Can you use this information to update the PR with better information, thanks


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

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

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



Re: [PR] Update camel-3-migration-guide.adoc [camel]

2024-03-09 Thread via GitHub


davsclaus commented on PR #13425:
URL: https://github.com/apache/camel/pull/13425#issuecomment-1986886182

   Can you use this information to update the PR with better information, thanks


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

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

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



Re: [PR] Update camel-3-migration-guide.adoc [camel]

2024-03-09 Thread via GitHub


davsclaus commented on PR #13425:
URL: https://github.com/apache/camel/pull/13425#issuecomment-1986886109

   Java 8 supported from 3.0 to 3.14
   Java 11 supported for all of 3.x
   Java 17 supported from 3.17
   Java 21 supported from 4.2


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



Re: [PR] Update what-platforms-are-supported.adoc [camel]

2024-03-09 Thread via GitHub


davsclaus commented on PR #13424:
URL: https://github.com/apache/camel/pull/13424#issuecomment-1986886065

   Java 8 supported from 3.0 to 3.14
   Java 11 supported for all of 3.x
   Java 17 supported from 3.17
   Java 21 supported from 4.2


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



Re: [I] Upload OpenAPI spec fails [camel-karavan]

2024-03-09 Thread via GitHub


davsclaus commented on issue #1163:
URL: https://github.com/apache/camel-karavan/issues/1163#issuecomment-1986879634

   Can you try with other json api files to see if its general or maybe it 
works with some simpler apis. This can help us track down what is the problem


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



Re: [I] Upload OpenAPI spec fails [camel-karavan]

2024-03-09 Thread via GitHub


davsclaus commented on issue #1163:
URL: https://github.com/apache/camel-karavan/issues/1163#issuecomment-1986879511

   Yes I had karavan crash as well


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



Re: [PR] CAMEL-16557: add a free form key value map on components, dataformats, languages, etc [camel]

2024-03-09 Thread via GitHub


davsclaus commented on PR #13423:
URL: https://github.com/apache/camel/pull/13423#issuecomment-1986878698

   Did you really put 
   
   ```
   @Metadata(annotations = {
   "autoscaling=true",
   })
   ```
   
   in all the components ?
   
   I think CK should just infer that it can scale, unless a very special 
component has set autoscaling=false
   And then only put this in the json if its false. The protocol=http and those 
language stuff is fine
   


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



Re: [PR] CAMEL-16557: add a free form key value map on components, dataformats, languages, etc [camel]

2024-03-09 Thread via GitHub


lburgazzoli commented on PR #13423:
URL: https://github.com/apache/camel/pull/13423#issuecomment-1986875248

   > A bit more is still there
   > 
   > "metadata": { "camel.apache.org/routes.language": "kotlin" },
   
   done, hopefully 


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



Re: [PR] CAMEL-16557: add a free form key value map on components, dataformats, languages, etc [camel]

2024-03-09 Thread via GitHub


davsclaus commented on PR #13423:
URL: https://github.com/apache/camel/pull/13423#issuecomment-1986869425

   A bit more is still there
   
   "metadata": { "camel.apache.org\/routes.language": "kotlin" },


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



Re: [PR] CAMEL-16557: add a free form key value map on components, dataformats, languages, etc [camel]

2024-03-09 Thread via GitHub


lburgazzoli commented on PR #13423:
URL: https://github.com/apache/camel/pull/13423#issuecomment-1986867831

   @davsclaus, I've removed the `org.apache.camel` prefix


-- 
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 (38deed9faac -> 4a2b9c375ab)

2024-03-09 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 38deed9faac Add note in 4.4 upgrade guide about openapi v2 (swagger) 
is deprecated
 add 4a2b9c375ab console in catalog (#13426)

No new revisions were added by this update.

Summary of changes:
 .../org/apache/camel/dev-console/catalog.json  |  15 +++
 .../org/apache/camel/dev-consoles.properties   |   7 ++
 .../camel/catalog/console/CatalogConsole.java  |   4 +-
 .../apache/camel/catalog/dev-consoles.properties   |  41 +++
 .../camel/catalog/dev-consoles/aws-secrets.json|  15 +++
 .../apache/camel/catalog/dev-consoles/aws2-s3.json |  15 +++
 .../camel/catalog/dev-consoles/azure-secrets.json  |  15 +++
 .../apache/camel/catalog/dev-consoles/bean.json|  15 +++
 .../apache/camel/catalog/dev-consoles/blocked.json |  15 +++
 .../catalog/dev-consoles/circuit-breaker.json  |  15 +++
 .../camel/catalog/dev-consoles/consumer.json   |  15 +++
 .../apache/camel/catalog/dev-consoles/context.json |  15 +++
 .../apache/camel/catalog/dev-consoles/debug.json   |  15 +++
 .../camel/catalog/dev-consoles/endpoint.json   |  15 +++
 .../apache/camel/catalog/dev-consoles/event.json   |  15 +++
 .../catalog/dev-consoles/fault-tolerance.json  |  15 +++
 .../org/apache/camel/catalog/dev-consoles/gc.json  |  15 +++
 .../camel/catalog/dev-consoles/gcp-secrets.json|  15 +++
 .../apache/camel/catalog/dev-consoles/health.json  |  15 +++
 .../camel/catalog/dev-consoles/inflight.json   |  15 +++
 .../camel/catalog/dev-consoles/java-security.json  |  15 +++
 .../org/apache/camel/catalog/dev-consoles/jvm.json |  15 +++
 .../org/apache/camel/catalog/dev-consoles/log.json |  15 +++
 .../apache/camel/catalog/dev-consoles/memory.json  |  15 +++
 .../camel/catalog/dev-consoles/micrometer.json |  15 +++
 .../apache/camel/catalog/dev-consoles/mina.json|  15 +++
 .../apache/camel/catalog/dev-consoles/mllp.json|  15 +++
 .../apache/camel/catalog/dev-consoles/netty.json   |  15 +++
 .../camel/catalog/dev-consoles/platform-http.json  |  15 +++
 .../camel/catalog/dev-consoles/properties.json |  15 +++
 .../apache/camel/catalog/dev-consoles/quartz.json  |  15 +++
 .../apache/camel/catalog/dev-consoles/reload.json  |  15 +++
 .../camel/catalog/dev-consoles/resilience4j.json   |  15 +++
 .../catalog/dev-consoles/route-controller.json |  15 +++
 .../camel/catalog/dev-consoles/route-dump.json |  15 +++
 .../apache/camel/catalog/dev-consoles/route.json   |  15 +++
 .../apache/camel/catalog/dev-consoles/source.json  |  15 +++
 .../catalog/dev-consoles/startup-recorder.json |  15 +++
 .../apache/camel/catalog/dev-consoles/stub.json|  15 +++
 .../apache/camel/catalog/dev-consoles/thread.json  |  15 +++
 .../org/apache/camel/catalog/dev-consoles/top.json |  15 +++
 .../apache/camel/catalog/dev-consoles/trace.json   |  15 +++
 .../camel/catalog/dev-consoles/transformers.json   |  15 +++
 .../catalog/dev-consoles/type-converters.json  |  15 +++
 .../camel/catalog/dev-consoles/variables.json  |  15 +++
 .../org/apache/camel/catalog/CamelCatalog.java |  19 
 .../catalog/CamelCatalogJSonSchemaResolver.java|   7 ++
 .../apache/camel/catalog/DefaultCamelCatalog.java  |  33 ++
 .../camel/catalog/DefaultRuntimeProvider.java  |  28 +
 .../main/java/org/apache/camel/catalog/Kind.java   |   1 +
 .../org/apache/camel/catalog/RuntimeProvider.java  |  10 ++
 .../org/apache/camel/catalog/CamelCatalogTest.java |  24 +
 .../org/apache/camel/dev-console/aws-secrets.json  |  15 +++
 .../org/apache/camel/dev-consoles.properties   |   7 ++
 .../aws/secretsmanager/SecretsDevConsole.java  |   2 +-
 .../org/apache/camel/dev-console/aws2-s3.json  |  15 +++
 .../org/apache/camel/dev-consoles.properties   |   7 ++
 .../camel/component/aws2/s3/AWS2S3Console.java |   2 +-
 .../apache/camel/dev-console/azure-secrets.json|  15 +++
 .../org/apache/camel/dev-consoles.properties   |   7 ++
 .../key/vault/AzureKeyVaultManagerDevConsole.java  |   2 +-
 .../org/apache/camel/dev-console/gcp-secrets.json  |  15 +++
 .../org/apache/camel/dev-consoles.properties   |   7 ++
 .../manager/GoogleSecretManagerDevConsole.java |   2 +-
 .../org/apache/camel/dev-console/knative.json  |  15 +++
 .../org/apache/camel/dev-consoles.properties   |   7 ++
 .../component/knative/http/KnativeHttpConsole.java |   2 +-
 .../org/apache/camel/dev-console/micrometer.json   |  15 +++
 .../org/apache/camel/dev-consoles.properties   |   7 ++
 .../component/micrometer/MicrometerConsole.java|   2 +-
 .../apache/camel/dev-console/fault-tolerance.json  |  15 +++
 .../org/apache/camel/dev-consoles.properties   |   7 ++
 .../faulttolerance/FaultToleranceConsole.java  |   5 +-
 .../org/apache/camel/dev-console/mina.json |  15 +++
 

(camel) branch dc deleted (was a843de1eebb)

2024-03-09 Thread davsclaus
This is an automated email from the ASF dual-hosted git repository.

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


 was a843de1eebb CAMEL-20531: Include dev-consoles into camel-catalog

The revisions that were on this branch are still contained in
other references; therefore, this change does not discard any commits
from the repository.



(camel-spring-boot) branch main updated: CAMEL-20531: Include dev-consoles into camel-catalog

2024-03-09 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 d1652516af5 CAMEL-20531: Include dev-consoles into camel-catalog
d1652516af5 is described below

commit d1652516af527feb71b85f4ee0a0a38f1623efa7
Author: Claus Ibsen 
AuthorDate: Sat Mar 9 13:04:22 2024 +0100

CAMEL-20531: Include dev-consoles into camel-catalog
---
 .../camel/springboot/catalog/SpringBootRuntimeProvider.java  | 12 
 1 file changed, 12 insertions(+)

diff --git 
a/catalog/camel-catalog-provider-springboot/src/main/java/org/apache/camel/springboot/catalog/SpringBootRuntimeProvider.java
 
b/catalog/camel-catalog-provider-springboot/src/main/java/org/apache/camel/springboot/catalog/SpringBootRuntimeProvider.java
index 323455170ab..a1a493e736e 100644
--- 
a/catalog/camel-catalog-provider-springboot/src/main/java/org/apache/camel/springboot/catalog/SpringBootRuntimeProvider.java
+++ 
b/catalog/camel-catalog-provider-springboot/src/main/java/org/apache/camel/springboot/catalog/SpringBootRuntimeProvider.java
@@ -35,11 +35,13 @@ public class SpringBootRuntimeProvider implements 
RuntimeProvider {
 private static final String DATAFORMAT_DIR = 
"org/apache/camel/springboot/catalog/dataformats";
 private static final String LANGUAGE_DIR = 
"org/apache/camel/springboot/catalog/languages";
 private static final String TRANSFORMER_DIR = 
"org/apache/camel/springboot/catalog/transformers";
+private static final String CONSOLE_DIR = 
"org/apache/camel/springboot/catalog/dev-consoles";
 private static final String OTHER_DIR = 
"org/apache/camel/springboot/catalog/others";
 private static final String COMPONENTS_CATALOG = 
"org/apache/camel/springboot/catalog/components.properties";
 private static final String DATA_FORMATS_CATALOG = 
"org/apache/camel/springboot/catalog/dataformats.properties";
 private static final String LANGUAGE_CATALOG = 
"org/apache/camel/springboot/catalog/languages.properties";
 private static final String TRANSFORMER_CATALOG = 
"org/apache/camel/springboot/catalog/transformers.properties";
+private static final String CONSOLES_CATALOG = 
"org/apache/camel/springboot/catalog/dev-consoles.properties";
 private static final String OTHER_CATALOG = 
"org/apache/camel/springboot/catalog/others.properties";
 
 private CamelCatalog camelCatalog;
@@ -89,6 +91,11 @@ public class SpringBootRuntimeProvider implements 
RuntimeProvider {
 return TRANSFORMER_DIR;
 }
 
+@Override
+public String getDevConsoleJSonSchemaDirectory() {
+return CONSOLE_DIR;
+}
+
 @Override
 public String getOtherJSonSchemaDirectory() {
 return OTHER_DIR;
@@ -114,6 +121,11 @@ public class SpringBootRuntimeProvider implements 
RuntimeProvider {
 return findNames(TRANSFORMER_CATALOG);
 }
 
+@Override
+public List findDevConsoleNames() {
+return findNames(CONSOLES_CATALOG);
+}
+
 @Override
 public List findOtherNames() {
 return findNames(OTHER_CATALOG);



Re: [PR] console in catalog [camel]

2024-03-09 Thread via GitHub


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


-- 
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 dc updated (0563fb87d8e -> a843de1eebb)

2024-03-09 Thread davsclaus
This is an automated email from the ASF dual-hosted git repository.

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


from 0563fb87d8e CAMEL-20531: Include dev-consoles into camel-catalog
 add a843de1eebb CAMEL-20531: Include dev-consoles into camel-catalog

No new revisions were added by this update.

Summary of changes:
 .../org/apache/camel/main/console/DependencyDownloaderConsole.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)



(camel) branch dc updated (3bc706ad155 -> 0563fb87d8e)

2024-03-09 Thread davsclaus
This is an automated email from the ASF dual-hosted git repository.

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


from 3bc706ad155 CAMEL-20531: Include dev-consoles into camel-catalog
 add 0563fb87d8e CAMEL-20531: Include dev-consoles into camel-catalog

No new revisions were added by this update.

Summary of changes:
 .../microprofile/faulttolerance/FaultToleranceConsole.java | 3 ++-
 .../org/apache/camel/component/resilience4j/ResilienceConsole.java | 3 ++-
 .../src/main/java/org/apache/camel/CatalogCamelContext.java| 4 ++--
 .../camel/dsl/jbang/core/commands/catalog/CatalogDevConsole.java   | 7 +++
 4 files changed, 9 insertions(+), 8 deletions(-)



Re: [PR] console in catalog [camel]

2024-03-09 Thread via GitHub


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

   :star2: Thank you for your contribution to the Apache Camel project! :star2: 
   
   :robot: CI automation will test this PR automatically.
   
   :camel: Apache Camel Committers, please review the following items:
   
   * First-time contributors **require MANUAL approval** for the GitHub Actions 
to run
   
   * You can use the command `/component-test (camel-)component-name1 
(camel-)component-name2..` to request a test from the test bot.
   
   * You can label PRs using `build-all`, `build-dependents`, `skip-tests` and 
`test-dependents` to fine-tune the checks executed by this PR.
   
   * Build and test logs are available in the Summary page. **Only** [Apache 
Camel committers](https://camel.apache.org/community/team/#committers) have 
access to the summary. 
   
   * :warning: Be careful when sharing logs. Review their contents before 
sharing them publicly.


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



[PR] console in catalog [camel]

2024-03-09 Thread via GitHub


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

   # Description
   
   
   
   # Target
   
   - [ ] I checked that the commit is targeting the correct branch (note that 
Camel 3 uses `camel-3.x`, whereas Camel 4 uses the `main` branch)
   
   # Tracking
   - [ ] If this is a large change, bug fix, or code improvement, I checked 
there is a [JIRA issue](https://issues.apache.org/jira/browse/CAMEL) filed for 
the change (usually before you start working on it).
   
   
   
   # Apache Camel coding standards and style
   
   - [ ] I checked that each commit in the pull request has a meaningful 
subject line and body.
   
   
   
   - [ ] I have run `mvn clean install -DskipTests` locally and I have 
committed all auto-generated changes
   
   
   
   


-- 
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 dc created (now 3bc706ad155)

2024-03-09 Thread davsclaus
This is an automated email from the ASF dual-hosted git repository.

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


  at 3bc706ad155 CAMEL-20531: Include dev-consoles into camel-catalog

This branch includes the following new commits:

 new 876f092d630 CAMEL-20531: camel-console - Add metadata for 
camel-catalog about dev consoles
 new 5568d6627ce CAMEL-20531: Include dev-consoles into camel-catalog
 new a81bf5f72f9 CAMEL-20531: Include dev-consoles into camel-catalog
 new 3bc706ad155 CAMEL-20531: Include dev-consoles into camel-catalog

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




(camel) 02/04: CAMEL-20531: Include dev-consoles into camel-catalog

2024-03-09 Thread davsclaus
This is an automated email from the ASF dual-hosted git repository.

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

commit 5568d6627ce32a71261710a3e12fdf20707029dc
Author: Claus Ibsen 
AuthorDate: Sat Mar 9 12:40:14 2024 +0100

CAMEL-20531: Include dev-consoles into camel-catalog
---
 .../org/apache/camel/dev-consoles.properties   |  7 +++
 .../apache/camel/catalog/dev-consoles.properties   | 41 +
 .../camel/catalog/dev-consoles/aws-secrets.json| 15 +
 .../apache/camel/catalog/dev-consoles/aws2-s3.json | 15 +
 .../camel/catalog/dev-consoles/azure-secrets.json  | 15 +
 .../apache/camel/catalog/dev-consoles/bean.json| 15 +
 .../apache/camel/catalog/dev-consoles/blocked.json | 15 +
 .../catalog/dev-consoles/circuit-breaker.json  | 15 +
 .../camel/catalog/dev-consoles/consumer.json   | 15 +
 .../apache/camel/catalog/dev-consoles/context.json | 15 +
 .../apache/camel/catalog/dev-consoles/debug.json   | 15 +
 .../camel/catalog/dev-consoles/endpoint.json   | 15 +
 .../apache/camel/catalog/dev-consoles/event.json   | 15 +
 .../catalog/dev-consoles/fault-tolerance.json  | 15 +
 .../org/apache/camel/catalog/dev-consoles/gc.json  | 15 +
 .../camel/catalog/dev-consoles/gcp-secrets.json| 15 +
 .../apache/camel/catalog/dev-consoles/health.json  | 15 +
 .../camel/catalog/dev-consoles/inflight.json   | 15 +
 .../camel/catalog/dev-consoles/java-security.json  | 15 +
 .../org/apache/camel/catalog/dev-consoles/jvm.json | 15 +
 .../org/apache/camel/catalog/dev-consoles/log.json | 15 +
 .../apache/camel/catalog/dev-consoles/memory.json  | 15 +
 .../camel/catalog/dev-consoles/micrometer.json | 15 +
 .../apache/camel/catalog/dev-consoles/mina.json| 15 +
 .../apache/camel/catalog/dev-consoles/mllp.json| 15 +
 .../apache/camel/catalog/dev-consoles/netty.json   | 15 +
 .../camel/catalog/dev-consoles/platform-http.json  | 15 +
 .../camel/catalog/dev-consoles/properties.json | 15 +
 .../apache/camel/catalog/dev-consoles/quartz.json  | 15 +
 .../apache/camel/catalog/dev-consoles/reload.json  | 15 +
 .../camel/catalog/dev-consoles/resilience4j.json   | 15 +
 .../catalog/dev-consoles/route-controller.json | 15 +
 .../camel/catalog/dev-consoles/route-dump.json | 15 +
 .../apache/camel/catalog/dev-consoles/route.json   | 15 +
 .../apache/camel/catalog/dev-consoles/source.json  | 15 +
 .../catalog/dev-consoles/startup-recorder.json | 15 +
 .../apache/camel/catalog/dev-consoles/stub.json| 15 +
 .../apache/camel/catalog/dev-consoles/thread.json  | 15 +
 .../org/apache/camel/catalog/dev-consoles/top.json | 15 +
 .../apache/camel/catalog/dev-consoles/trace.json   | 15 +
 .../camel/catalog/dev-consoles/transformers.json   | 15 +
 .../catalog/dev-consoles/type-converters.json  | 15 +
 .../camel/catalog/dev-consoles/variables.json  | 15 +
 .../org/apache/camel/catalog/CamelCatalog.java | 10 
 .../catalog/CamelCatalogJSonSchemaResolver.java|  7 +++
 .../apache/camel/catalog/DefaultCamelCatalog.java  | 21 +++
 .../camel/catalog/DefaultRuntimeProvider.java  | 28 +
 .../org/apache/camel/catalog/RuntimeProvider.java  | 10 
 .../org/apache/camel/catalog/CamelCatalogTest.java | 24 
 .../org/apache/camel/dev-consoles.properties   |  7 +++
 .../org/apache/camel/dev-consoles.properties   |  7 +++
 .../org/apache/camel/dev-consoles.properties   |  7 +++
 .../org/apache/camel/dev-consoles.properties   |  7 +++
 .../org/apache/camel/dev-consoles.properties   |  7 +++
 .../org/apache/camel/dev-consoles.properties   |  7 +++
 .../org/apache/camel/dev-consoles.properties   |  7 +++
 .../org/apache/camel/dev-consoles.properties   |  7 +++
 .../org/apache/camel/dev-consoles.properties   |  7 +++
 .../org/apache/camel/dev-consoles.properties   |  7 +++
 .../org/apache/camel/dev-consoles.properties   |  7 +++
 .../org/apache/camel/dev-consoles.properties   |  7 +++
 .../org/apache/camel/dev-consoles.properties   |  7 +++
 .../org/apache/camel/dev-consoles.properties   |  7 +++
 .../java/org/apache/camel/CatalogCamelContext.java |  8 +++
 .../apache/camel/catalog/JSonSchemaResolver.java   |  8 +++
 .../camel/impl/engine/AbstractCamelContext.java| 11 
 .../org/apache/camel/dev-consoles.properties   |  7 +++
 .../camel/catalog/impl/AbstractCamelCatalog.java   | 10 
 .../impl/CamelContextJSonSchemaResolver.java   | 10 
 .../camel/yaml/io/ModelJSonSchemaResolver.java |  5 ++
 .../org/apache/camel/dev-consoles.properties   |  7 +++
 .../camel/dev-console/dependency-downloader.json   |  2 +-
 .../org/apache/camel/dev-consoles.properties   |  7 +++
 .../camel/tooling/model/DevConsoleModel.java   | 39 +
 

(camel) 04/04: CAMEL-20531: Include dev-consoles into camel-catalog

2024-03-09 Thread davsclaus
This is an automated email from the ASF dual-hosted git repository.

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

commit 3bc706ad15535e568b4e79dfc6ed87a5b2090e93
Author: Claus Ibsen 
AuthorDate: Sat Mar 9 13:01:18 2024 +0100

CAMEL-20531: Include dev-consoles into camel-catalog
---
 .../resources/META-INF/org/apache/camel/dev-console/catalog.json| 2 +-
 .../resources/org/apache/camel/catalog/dev-consoles/aws-secrets.json| 2 +-
 .../resources/org/apache/camel/catalog/dev-consoles/aws2-s3.json| 2 +-
 .../resources/org/apache/camel/catalog/dev-consoles/azure-secrets.json  | 2 +-
 .../generated/resources/org/apache/camel/catalog/dev-consoles/bean.json | 2 +-
 .../resources/org/apache/camel/catalog/dev-consoles/blocked.json| 2 +-
 .../org/apache/camel/catalog/dev-consoles/circuit-breaker.json  | 2 +-
 .../resources/org/apache/camel/catalog/dev-consoles/consumer.json   | 2 +-
 .../resources/org/apache/camel/catalog/dev-consoles/context.json| 2 +-
 .../resources/org/apache/camel/catalog/dev-consoles/debug.json  | 2 +-
 .../resources/org/apache/camel/catalog/dev-consoles/endpoint.json   | 2 +-
 .../resources/org/apache/camel/catalog/dev-consoles/event.json  | 2 +-
 .../org/apache/camel/catalog/dev-consoles/fault-tolerance.json  | 2 +-
 .../generated/resources/org/apache/camel/catalog/dev-consoles/gc.json   | 2 +-
 .../resources/org/apache/camel/catalog/dev-consoles/gcp-secrets.json| 2 +-
 .../resources/org/apache/camel/catalog/dev-consoles/health.json | 2 +-
 .../resources/org/apache/camel/catalog/dev-consoles/inflight.json   | 2 +-
 .../resources/org/apache/camel/catalog/dev-consoles/java-security.json  | 2 +-
 .../generated/resources/org/apache/camel/catalog/dev-consoles/jvm.json  | 2 +-
 .../generated/resources/org/apache/camel/catalog/dev-consoles/log.json  | 2 +-
 .../resources/org/apache/camel/catalog/dev-consoles/memory.json | 2 +-
 .../resources/org/apache/camel/catalog/dev-consoles/micrometer.json | 2 +-
 .../generated/resources/org/apache/camel/catalog/dev-consoles/mina.json | 2 +-
 .../generated/resources/org/apache/camel/catalog/dev-consoles/mllp.json | 2 +-
 .../resources/org/apache/camel/catalog/dev-consoles/netty.json  | 2 +-
 .../resources/org/apache/camel/catalog/dev-consoles/platform-http.json  | 2 +-
 .../resources/org/apache/camel/catalog/dev-consoles/properties.json | 2 +-
 .../resources/org/apache/camel/catalog/dev-consoles/quartz.json | 2 +-
 .../resources/org/apache/camel/catalog/dev-consoles/reload.json | 2 +-
 .../resources/org/apache/camel/catalog/dev-consoles/resilience4j.json   | 2 +-
 .../org/apache/camel/catalog/dev-consoles/route-controller.json | 2 +-
 .../resources/org/apache/camel/catalog/dev-consoles/route-dump.json | 2 +-
 .../resources/org/apache/camel/catalog/dev-consoles/route.json  | 2 +-
 .../resources/org/apache/camel/catalog/dev-consoles/source.json | 2 +-
 .../org/apache/camel/catalog/dev-consoles/startup-recorder.json | 2 +-
 .../generated/resources/org/apache/camel/catalog/dev-consoles/stub.json | 2 +-
 .../resources/org/apache/camel/catalog/dev-consoles/thread.json | 2 +-
 .../generated/resources/org/apache/camel/catalog/dev-consoles/top.json  | 2 +-
 .../resources/org/apache/camel/catalog/dev-consoles/trace.json  | 2 +-
 .../resources/org/apache/camel/catalog/dev-consoles/transformers.json   | 2 +-
 .../org/apache/camel/catalog/dev-consoles/type-converters.json  | 2 +-
 .../resources/org/apache/camel/catalog/dev-consoles/variables.json  | 2 +-
 .../resources/META-INF/org/apache/camel/dev-console/aws-secrets.json| 2 +-
 .../resources/META-INF/org/apache/camel/dev-console/aws2-s3.json| 2 +-
 .../resources/META-INF/org/apache/camel/dev-console/azure-secrets.json  | 2 +-
 .../resources/META-INF/org/apache/camel/dev-console/gcp-secrets.json| 2 +-
 .../resources/META-INF/org/apache/camel/dev-console/knative.json| 2 +-
 .../resources/META-INF/org/apache/camel/dev-console/micrometer.json | 2 +-
 .../META-INF/org/apache/camel/dev-console/fault-tolerance.json  | 2 +-
 .../generated/resources/META-INF/org/apache/camel/dev-console/mina.json | 2 +-
 .../generated/resources/META-INF/org/apache/camel/dev-console/mllp.json | 2 +-
 .../resources/META-INF/org/apache/camel/dev-console/netty.json  | 2 +-
 .../resources/META-INF/org/apache/camel/dev-console/platform-http.json  | 2 +-
 .../resources/META-INF/org/apache/camel/dev-console/quartz.json | 2 +-
 .../resources/META-INF/org/apache/camel/dev-console/resilience4j.json   | 2 +-
 .../generated/resources/META-INF/org/apache/camel/dev-console/stub.json | 2 +-
 .../generated/resources/META-INF/org/apache/camel/dev-console/bean.json | 2 +-
 .../resources/META-INF/org/apache/camel/dev-console/blocked.json| 2 +-
 

(camel) 01/04: CAMEL-20531: camel-console - Add metadata for camel-catalog about dev consoles

2024-03-09 Thread davsclaus
This is an automated email from the ASF dual-hosted git repository.

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

commit 876f092d630e22315ef1c6e4a259b9537d51f8f9
Author: Claus Ibsen 
AuthorDate: Sat Mar 9 11:46:53 2024 +0100

CAMEL-20531: camel-console - Add metadata for camel-catalog about dev 
consoles
---
 .../org/apache/camel/dev-console/catalog.json  |  15 +++
 .../camel/catalog/console/CatalogConsole.java  |   4 +-
 .../org/apache/camel/dev-console/aws-secrets.json  |  15 +++
 .../aws/secretsmanager/SecretsDevConsole.java  |   2 +-
 .../org/apache/camel/dev-console/aws2-s3.json  |  15 +++
 .../camel/component/aws2/s3/AWS2S3Console.java |   2 +-
 .../apache/camel/dev-console/azure-secrets.json|  15 +++
 .../key/vault/AzureKeyVaultManagerDevConsole.java  |   2 +-
 .../org/apache/camel/dev-console/gcp-secrets.json  |  15 +++
 .../manager/GoogleSecretManagerDevConsole.java |   2 +-
 .../org/apache/camel/dev-console/knative.json  |  15 +++
 .../component/knative/http/KnativeHttpConsole.java |   2 +-
 .../org/apache/camel/dev-console/micrometer.json   |  15 +++
 .../component/micrometer/MicrometerConsole.java|   2 +-
 .../apache/camel/dev-console/fault-tolerance.json  |  15 +++
 .../faulttolerance/FaultToleranceConsole.java  |   4 +-
 .../org/apache/camel/dev-console/mina.json |  15 +++
 .../apache/camel/component/mina/MinaConsole.java   |   2 +-
 .../org/apache/camel/dev-console/mllp.json |  15 +++
 .../apache/camel/component/mllp/MllpConsole.java   |   2 +-
 .../org/apache/camel/dev-console/netty.json|  15 +++
 .../apache/camel/component/netty/NettyConsole.java |   2 +-
 .../apache/camel/dev-console/platform-http.json|  15 +++
 .../platform/http/PlatformHttpConsole.java |   2 +-
 .../org/apache/camel/dev-console/quartz.json   |  15 +++
 .../camel/component/quartz/QuartzConsole.java  |   2 +-
 .../org/apache/camel/dev-console/resilience4j.json |  15 +++
 .../component/resilience4j/ResilienceConsole.java  |   2 +-
 .../org/apache/camel/dev-console/stub.json |  15 +++
 .../apache/camel/component/stub/StubConsole.java   |   4 +-
 .../apache/camel/spi/annotations/DevConsole.java   |  17 ++-
 .../org/apache/camel/dev-console/bean.json |  15 +++
 .../org/apache/camel/dev-console/blocked.json  |  15 +++
 .../apache/camel/dev-console/circuit-breaker.json  |  15 +++
 .../org/apache/camel/dev-console/consumer.json |  15 +++
 .../org/apache/camel/dev-console/context.json  |  15 +++
 .../org/apache/camel/dev-console/debug.json|  15 +++
 .../org/apache/camel/dev-console/endpoint.json |  15 +++
 .../org/apache/camel/dev-console/event.json|  15 +++
 .../META-INF/org/apache/camel/dev-console/gc.json  |  15 +++
 .../org/apache/camel/dev-console/health.json   |  15 +++
 .../org/apache/camel/dev-console/inflight.json |  15 +++
 .../apache/camel/dev-console/java-security.json|  15 +++
 .../META-INF/org/apache/camel/dev-console/jvm.json |  15 +++
 .../META-INF/org/apache/camel/dev-console/log.json |  15 +++
 .../org/apache/camel/dev-console/memory.json   |  15 +++
 .../org/apache/camel/dev-console/properties.json   |  15 +++
 .../org/apache/camel/dev-console/reload.json   |  15 +++
 .../apache/camel/dev-console/route-controller.json |  15 +++
 .../org/apache/camel/dev-console/route-dump.json   |  15 +++
 .../org/apache/camel/dev-console/route.json|  15 +++
 .../org/apache/camel/dev-console/source.json   |  15 +++
 .../apache/camel/dev-console/startup-recorder.json |  15 +++
 .../org/apache/camel/dev-console/thread.json   |  15 +++
 .../META-INF/org/apache/camel/dev-console/top.json |  15 +++
 .../org/apache/camel/dev-console/trace.json|  15 +++
 .../org/apache/camel/dev-console/transformers.json |  15 +++
 .../apache/camel/dev-console/type-converters.json  |  15 +++
 .../org/apache/camel/dev-console/variables.json|  15 +++
 .../org/apache/camel/dev-console/circuit-breaker   |   2 +
 .../apache/camel/dev-console/route-circuit-breaker |   2 -
 .../apache/camel/impl/console/BeanDevConsole.java  |   2 +-
 .../apache/camel/impl/console/BlockedConsole.java  |   2 +-
 ...vConsole.java => CircuitBreakerDevConsole.java} |   8 +-
 .../camel/impl/console/ConsumerDevConsole.java |   2 +-
 .../camel/impl/console/ContextDevConsole.java  |   2 +-
 .../apache/camel/impl/console/DebugDevConsole.java |   2 +-
 .../impl/console/DefaultDevConsoleRegistry.java|   2 +-
 .../camel/impl/console/EndpointDevConsole.java |   2 +-
 .../apache/camel/impl/console/EventConsole.java|   2 +-
 .../impl/console/GarbageCollectorDevConsole.java   |   2 +-
 .../camel/impl/console/HealthDevConsole.java   |   2 +-
 .../apache/camel/impl/console/InflightConsole.java |   2 +-
 .../camel/impl/console/JavaSecurityDevConsole.java |   2 +-
 .../apache/camel/impl/console/JvmDevConsole.java   |   2 +-
 

(camel) 03/04: CAMEL-20531: Include dev-consoles into camel-catalog

2024-03-09 Thread davsclaus
This is an automated email from the ASF dual-hosted git repository.

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

commit a81bf5f72f9af941e01c1a7b3854bb859811b12f
Author: Claus Ibsen 
AuthorDate: Sat Mar 9 13:00:18 2024 +0100

CAMEL-20531: Include dev-consoles into camel-catalog
---
 .../org/apache/camel/catalog/CamelCatalog.java |  9 
 .../apache/camel/catalog/DefaultCamelCatalog.java  | 12 +
 .../main/java/org/apache/camel/catalog/Kind.java   |  1 +
 .../dsl/jbang/core/commands/CamelJBangMain.java|  2 +
 .../core/commands/catalog/CatalogDevConsole.java   | 57 ++
 .../maven/packaging/GenerateDevConsoleMojo.java| 26 +-
 6 files changed, 94 insertions(+), 13 deletions(-)

diff --git 
a/catalog/camel-catalog/src/main/java/org/apache/camel/catalog/CamelCatalog.java
 
b/catalog/camel-catalog/src/main/java/org/apache/camel/catalog/CamelCatalog.java
index 398f5d0f629..9ac41f70363 100644
--- 
a/catalog/camel-catalog/src/main/java/org/apache/camel/catalog/CamelCatalog.java
+++ 
b/catalog/camel-catalog/src/main/java/org/apache/camel/catalog/CamelCatalog.java
@@ -26,6 +26,7 @@ import org.apache.camel.tooling.model.ArtifactModel;
 import org.apache.camel.tooling.model.BaseModel;
 import org.apache.camel.tooling.model.ComponentModel;
 import org.apache.camel.tooling.model.DataFormatModel;
+import org.apache.camel.tooling.model.DevConsoleModel;
 import org.apache.camel.tooling.model.EipModel;
 import org.apache.camel.tooling.model.LanguageModel;
 import org.apache.camel.tooling.model.MainModel;
@@ -557,6 +558,12 @@ public interface CamelCatalog {
  */
 TransformerModel transformerModel(String name);
 
+/**
+ * @param  name the dev-console name to look up
+ * @return  the requested dev-console or {@code null} in case it is 
not available in this {@link CamelCatalog}
+ */
+DevConsoleModel devConsoleModel(String name);
+
 /**
  * @param  name the other name to look up
  * @return  the requested other or {@code null} in case it is not 
available in this {@link CamelCatalog}
@@ -591,6 +598,8 @@ public interface CamelCatalog {
 return languageModel(name);
 case transformer:
 return transformerModel(name);
+case console:
+return devConsoleModel(name);
 case other:
 return otherModel(name);
 case eip:
diff --git 
a/catalog/camel-catalog/src/main/java/org/apache/camel/catalog/DefaultCamelCatalog.java
 
b/catalog/camel-catalog/src/main/java/org/apache/camel/catalog/DefaultCamelCatalog.java
index 17289879a74..adc5e84aa8e 100644
--- 
a/catalog/camel-catalog/src/main/java/org/apache/camel/catalog/DefaultCamelCatalog.java
+++ 
b/catalog/camel-catalog/src/main/java/org/apache/camel/catalog/DefaultCamelCatalog.java
@@ -38,6 +38,7 @@ import org.apache.camel.tooling.model.ArtifactModel;
 import org.apache.camel.tooling.model.BaseModel;
 import org.apache.camel.tooling.model.ComponentModel;
 import org.apache.camel.tooling.model.DataFormatModel;
+import org.apache.camel.tooling.model.DevConsoleModel;
 import org.apache.camel.tooling.model.EipModel;
 import org.apache.camel.tooling.model.JsonMapper;
 import org.apache.camel.tooling.model.LanguageModel;
@@ -363,6 +364,11 @@ public class DefaultCamelCatalog extends 
AbstractCamelCatalog implements CamelCa
 return cache("transformer-model-" + name, name, 
super::transformerModel);
 }
 
+@Override
+public DevConsoleModel devConsoleModel(String name) {
+return cache("dev-console-model-" + name, name, 
super::devConsoleModel);
+}
+
 @Override
 public String otherJSonSchema(String name) {
 return cache("other-" + name, name, super::otherJSonSchema);
@@ -541,6 +547,12 @@ public class DefaultCamelCatalog extends 
AbstractCamelCatalog implements CamelCa
 return am;
 }
 }
+for (String name : findDevConsoleNames()) {
+ArtifactModel am = devConsoleModel(name);
+if (matchArtifact(am, groupId, artifactId, version)) {
+return am;
+}
+}
 return null;
 }
 
diff --git 
a/catalog/camel-catalog/src/main/java/org/apache/camel/catalog/Kind.java 
b/catalog/camel-catalog/src/main/java/org/apache/camel/catalog/Kind.java
index 6ca4c43b5ad..c1f589d02ea 100644
--- a/catalog/camel-catalog/src/main/java/org/apache/camel/catalog/Kind.java
+++ b/catalog/camel-catalog/src/main/java/org/apache/camel/catalog/Kind.java
@@ -24,6 +24,7 @@ public enum Kind {
 dataformat,
 language,
 transformer,
+console,
 other,
 eip
 }
diff --git 
a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/CamelJBangMain.java
 
b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/CamelJBangMain.java
index da0b6af9cca..89ef4cdd0fe 

Re: [PR] CAMEL-20521: camel-amqp - AMQP publisher application is losing messages with local JMS transaction enabled [camel]

2024-03-09 Thread via GitHub


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

   :robot: The Apache Camel test robot will run the tests for you :+1:


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



Re: [PR] CAMEL-20521: camel-amqp - AMQP publisher application is losing messages with local JMS transaction enabled [camel]

2024-03-09 Thread via GitHub


zhfeng commented on PR #13403:
URL: https://github.com/apache/camel/pull/13403#issuecomment-1986834934

   /component-test  camel-amqp


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



Re: [PR] CAMEL-20521: camel-amqp - AMQP publisher application is losing messages with local JMS transaction enabled [camel]

2024-03-09 Thread via GitHub


luigidemasi commented on code in PR #13403:
URL: https://github.com/apache/camel/pull/13403#discussion_r1518559799


##
components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsConfiguration.java:
##
@@ -620,7 +620,13 @@ private Object doSendToDestination(
 // Check commit - avoid commit call within a JTA transaction.
 if (session.getTransacted() && 
isSessionLocallyTransacted(session)) {
 // Transacted session created by this template -> commit.
-JmsUtils.commitIfNecessary(session);
+Assert.notNull(session, "Session must not be null");
+try {
+session.commit();

Review Comment:
   @davsclaus @orpiske, not able to reproduce with plain jms, it seems that 
this happens only with amqp/Qpid. I moved the changes to camel-amqp component.



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



Re: [PR] CAMEL-20521: camel-amqp - AMQP publisher application is losing messages with local JMS transaction enabled [camel]

2024-03-09 Thread via GitHub


zhfeng commented on PR #13403:
URL: https://github.com/apache/camel/pull/13403#issuecomment-1986829717

   /component-test camel-jms camel-amqp


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



Re: [PR] CAMEL-20521: camel-amqp - AMQP publisher application is losing messages with local JMS transaction enabled [camel]

2024-03-09 Thread via GitHub


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

   :robot: The Apache Camel test robot will run the tests for you :+1:


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



Re: [PR] CAMEL-20521: camel-amqp - AMQP publisher application is losing messages with local JMS transaction enabled [camel]

2024-03-09 Thread via GitHub


zhfeng commented on code in PR #13403:
URL: https://github.com/apache/camel/pull/13403#discussion_r1518557066


##
components/camel-amqp/src/main/java/org/apache/camel/component/amqp/AMQPConfiguration.java:
##
@@ -51,4 +64,28 @@ public void setIncludeAmqpAnnotations(boolean 
includeAmqpAnnotations) {
 this.includeAmqpAnnotations = includeAmqpAnnotations;
 }
 
+public static class CamelAmqpTemplate extends CamelJmsTemplate {
+
+public CamelAmqpTemplate(AMQPConfiguration config, ConnectionFactory 
connectionFactory) {
+super(config, connectionFactory);
+}
+
+@Override
+protected void commitIfNecessary(Session session) throws JMSException {
+//# CAMEL-20521 - we can't use JmsUtils.commitIfNecessary because 
it catches
+// jakarta.jms.IllegalStateException that can be thrown if the 
session is closed

Review Comment:
   OK, thanks for the explaination!



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



Re: [PR] CAMEL-20521: camel-amqp - AMQP publisher application is losing messages with local JMS transaction enabled [camel]

2024-03-09 Thread via GitHub


luigidemasi commented on code in PR #13403:
URL: https://github.com/apache/camel/pull/13403#discussion_r1518555101


##
components/camel-amqp/src/main/java/org/apache/camel/component/amqp/AMQPConfiguration.java:
##
@@ -51,4 +64,28 @@ public void setIncludeAmqpAnnotations(boolean 
includeAmqpAnnotations) {
 this.includeAmqpAnnotations = includeAmqpAnnotations;
 }
 
+public static class CamelAmqpTemplate extends CamelJmsTemplate {
+
+public CamelAmqpTemplate(AMQPConfiguration config, ConnectionFactory 
connectionFactory) {
+super(config, connectionFactory);
+}
+
+@Override
+protected void commitIfNecessary(Session session) throws JMSException {
+//# CAMEL-20521 - we can't use JmsUtils.commitIfNecessary because 
it catches
+// jakarta.jms.IllegalStateException that can be thrown if the 
session is closed

Review Comment:
   It leads to a redelivery if configured, this fix allows the exception to 
bubble up and can be handled by the error handler.
   At the moment the exception is stopped at   
`org.springframework.jms.support.JmsUtils.commitIfNecessary`, not even logged 
at trace level, so the camel route continue on the normal flow, like the commit 
had been successful.



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



Re: [PR] CAMEL-20521: camel-amqp - AMQP publisher application is losing messages with local JMS transaction enabled [camel]

2024-03-09 Thread via GitHub


luigidemasi commented on code in PR #13403:
URL: https://github.com/apache/camel/pull/13403#discussion_r1518555101


##
components/camel-amqp/src/main/java/org/apache/camel/component/amqp/AMQPConfiguration.java:
##
@@ -51,4 +64,28 @@ public void setIncludeAmqpAnnotations(boolean 
includeAmqpAnnotations) {
 this.includeAmqpAnnotations = includeAmqpAnnotations;
 }
 
+public static class CamelAmqpTemplate extends CamelJmsTemplate {
+
+public CamelAmqpTemplate(AMQPConfiguration config, ConnectionFactory 
connectionFactory) {
+super(config, connectionFactory);
+}
+
+@Override
+protected void commitIfNecessary(Session session) throws JMSException {
+//# CAMEL-20521 - we can't use JmsUtils.commitIfNecessary because 
it catches
+// jakarta.jms.IllegalStateException that can be thrown if the 
session is closed

Review Comment:
   It leads to a redelivery if configured, this fix allows the exception to 
bubble up and can be handled by the error handler.
   At the moment the exception is stopped at   
`org.springframework.jms.support.JmsUtils.commitIfNecessary`, not even logged 
at trace level, so the camel route continue on the normal flow, like the commit 
has ended successfully.



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