Re: [I] Env variable substitution doesn't work [camel-quarkus]

2023-10-22 Thread via GitHub


bradodarb commented on issue #82:
URL: https://github.com/apache/camel-quarkus/issues/82#issuecomment-1774403480

   The twtter feed tests ref env var placeholders in application.properties 
file. 
   
   Routes with property placeholders referencing env vars seems to remain 
broken. 


-- 
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] docker run for exported dockerfile of quarkus natvie meets error: Resource not found: classpath:/kamelets/timer-source.kamelet.yaml [camel-karavan]

2023-10-22 Thread via GitHub


Sabrina-Davis closed issue #907: docker run for exported dockerfile of quarkus 
natvie meets error: Resource not found: 
classpath:/kamelets/timer-source.kamelet.yaml  
URL: https://github.com/apache/camel-karavan/issues/907


-- 
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-kamelets] branch main updated: Updated CHANGELOG.md

2023-10-22 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-kamelets.git


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

commit cc4877b11f8f857ca2da0f4682616dca8be6451a
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Mon Oct 23 03:08:32 2023 +

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

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 358f25d2..a84c90d4 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -18,6 +18,7 @@
 
 **Merged pull requests:**
 
+- Generated sources regen for SBOM 
[\#1701](https://github.com/apache/camel-kamelets/pull/1701) 
([github-actions[bot]](https://github.com/apps/github-actions))
 - Added Kafka Apicurio Registry Sink Kamelet 
[\#1697](https://github.com/apache/camel-kamelets/pull/1697) 
([oscerd](https://github.com/oscerd))
 - Create a Specialized Kamelet starting from Kafka Source using Azure Schema 
Registry - Added Kamelet 
[\#1696](https://github.com/apache/camel-kamelets/pull/1696) 
([oscerd](https://github.com/oscerd))
 - Upgrade tests and doc to Camel 4.1.0 
[\#1695](https://github.com/apache/camel-kamelets/pull/1695) 
([apupier](https://github.com/apupier))



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

2023-10-22 Thread via GitHub


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

   The [camel-main](https://github.com/apache/camel-quarkus/tree/camel-main) 
branch build has failed:
   
   * Build ID: 6607051211-1174-542f0685-10fe-4f9e-a94b-8c5021428259
   * Camel Quarkus Commit: ed29bb473781dfdc107094b5f556ae2d5ef76dc5
   
   * Camel Main Commit: 6ca0fc54f7b0572b7f37fcff137c47cb371abec1
   * Link to build: 
https://github.com/apache/camel-quarkus/actions/runs/6607051211


-- 
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 release-2.0.x updated: chore: nightly SBOM update

2023-10-22 Thread github-bot
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/release-2.0.x by this push:
 new 5e63f3a5e chore: nightly SBOM update
5e63f3a5e is described below

commit 5e63f3a5e0f272c4b714dc5c44a9743fa945d51f
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Mon Oct 23 01:23:48 2023 +

chore: nightly SBOM update
---
 camel-k-sbom/camel-k-sbom.json | 12 ++--
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/camel-k-sbom/camel-k-sbom.json b/camel-k-sbom/camel-k-sbom.json
index ca4e6e170..4d4cb883f 100644
--- a/camel-k-sbom/camel-k-sbom.json
+++ b/camel-k-sbom/camel-k-sbom.json
@@ -2,10 +2,10 @@
   "$schema": "http://cyclonedx.org/schema/bom-1.4.schema.json;,
   "bomFormat": "CycloneDX",
   "specVersion": "1.4",
-  "serialNumber": "urn:uuid:926629d9-3c2c-4b50-a271-4ac474dae39f",
+  "serialNumber": "urn:uuid:d566bbb3-a618-4af7-91f5-831cdce60e2e",
   "version": 1,
   "metadata": {
-"timestamp": "2023-10-22T01:20:24Z",
+"timestamp": "2023-10-23T01:23:48Z",
 "tools": [
   {
 "vendor": "CycloneDX",
@@ -46,11 +46,11 @@
   }
 ],
 "component": {
-  "bom-ref": 
"pkg:golang/github.com/apache/camel-k/v2@v0.0.0-20231022011806-4a0226a5405b?type=module",
+  "bom-ref": 
"pkg:golang/github.com/apache/camel-k/v2@v0.0.0-20231022012024-b1e81606db94?type=module",
   "type": "application",
   "name": "github.com/apache/camel-k/v2",
-  "version": "v0.0.0-20231022011806-4a0226a5405b",
-  "purl": 
"pkg:golang/github.com/apache/camel-k/v2@v0.0.0-20231022011806-4a0226a5405b?type=module\u0026goos=linux\u0026goarch=amd64",
+  "version": "v0.0.0-20231022012024-b1e81606db94",
+  "purl": 
"pkg:golang/github.com/apache/camel-k/v2@v0.0.0-20231022012024-b1e81606db94?type=module\u0026goos=linux\u0026goarch=amd64",
   "externalReferences": [
 {
   "url": "https://github.com/apache/camel-k;,
@@ -4021,7 +4021,7 @@
   ],
   "dependencies": [
 {
-  "ref": 
"pkg:golang/github.com/apache/camel-k/v2@v0.0.0-20231022011806-4a0226a5405b?type=module",
+  "ref": 
"pkg:golang/github.com/apache/camel-k/v2@v0.0.0-20231022012024-b1e81606db94?type=module",
   "dependsOn": [
 "pkg:golang/github.com/Masterminds/semver@v1.5.0?type=module",
 "pkg:golang/github.com/container-tools/spectrum@v0.6.29?type=module",



[camel-k] branch dependabot/go_modules/github.com/fsnotify/fsnotify-1.7.0 created (now 81c603be8)

2023-10-22 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/fsnotify/fsnotify-1.7.0
in repository https://gitbox.apache.org/repos/asf/camel-k.git


  at 81c603be8 chore(deps): bump github.com/fsnotify/fsnotify from 1.6.0 to 
1.7.0

No new revisions were added by this update.



[PR] chore(deps): bump github.com/fsnotify/fsnotify from 1.6.0 to 1.7.0 [camel-k]

2023-10-22 Thread via GitHub


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

   Bumps [github.com/fsnotify/fsnotify](https://github.com/fsnotify/fsnotify) 
from 1.6.0 to 1.7.0.
   
   Release notes
   Sourced from https://github.com/fsnotify/fsnotify/releases;>github.com/fsnotify/fsnotify's
 releases.
   
   v1.7.0
   This version of fsnotify needs Go 1.17.
   Additions
   
   
   illumos: add FEN backend to support illumos and Solaris. (https://redirect.github.com/fsnotify/fsnotify/issues/371;>#371)
   
   
   all: add NewBufferedWatcher() to use a buffered channel, 
which can be useful in cases where you can't control the kernel buffer and 
receive a large number of events in bursts. (https://redirect.github.com/fsnotify/fsnotify/issues/550;>#550, https://redirect.github.com/fsnotify/fsnotify/issues/572;>#572)
   
   
   all: add AddWith(), which is identical to Add() 
but allows passing options. (https://redirect.github.com/fsnotify/fsnotify/issues/521;>#521)
   
   
   windows: allow setting the ReadDirectoryChangesW() buffer size with 
fsnotify.WithBufferSize(); the default of 64K is the highest value 
that works on all platforms and is enough for most purposes, but in some cases 
a highest buffer is needed. (https://redirect.github.com/fsnotify/fsnotify/issues/521;>#521)
   
   
   Changes and fixes
   
   
   inotify: remove watcher if a watched path is renamed (https://redirect.github.com/fsnotify/fsnotify/issues/518;>#518)
   After a rename the reported name wasn't updated, or even an empty string. 
Inotify doesn't provide any good facilities to update it, so just remove the 
watcher. This is already how it worked on kqueue and FEN.
   On Windows this does work, and remains working.
   
   
   windows: don't listen for file attribute changes (https://redirect.github.com/fsnotify/fsnotify/issues/520;>#520)
   File attribute changes are sent as FILE_ACTION_MODIFIED by 
the Windows API, with no way to see if they're a file write or attribute 
change, so would show up as a fsnotify.Write event. This is never useful, and 
could result in many spurious Write events.
   
   
   windows: return ErrEventOverflow if the buffer is full (https://redirect.github.com/fsnotify/fsnotify/issues/525;>#525)
   Before it would merely return short read, making it hard to 
detect this error.
   
   
   kqueue: make sure events for all files are delivered properly when 
removing a watched directory (https://redirect.github.com/fsnotify/fsnotify/issues/526;>#526)
   Previously they would get sent with  (empty 
string) or . as the path name.
   
   
   kqueue: don't emit spurious Create events for symbolic links (https://redirect.github.com/fsnotify/fsnotify/issues/524;>#524)
   The link would get resolved but kqueue would forget it 
already saw the link itself, resulting on a Create for every Write event for 
the directory.
   
   
   all: return ErrClosed on Add() when the watcher 
is closed (https://redirect.github.com/fsnotify/fsnotify/issues/516;>#516)
   
   
   other: add Watcher.Errors and Watcher.Events to 
the no-op Watcher in backend_other.go, making it 
easier to use on unsupported platforms such as WASM, AIX, etc. (https://redirect.github.com/fsnotify/fsnotify/issues/528;>#528)
   
   
   other: use the backend_other.go no-op if the 
appengine build tag is set; Google AppEngine forbids usage of the 
unsafe package so the inotify backend won't compile there.
   
   
   https://redirect.github.com/fsnotify/fsnotify/issues/371;>#371: https://redirect.github.com/fsnotify/fsnotify/pull/371;>fsnotify/fsnotify#371
   https://redirect.github.com/fsnotify/fsnotify/issues/516;>#516: 
https://redirect.github.com/fsnotify/fsnotify/pull/516;>fsnotify/fsnotify#516
   https://redirect.github.com/fsnotify/fsnotify/issues/518;>#518: 
https://redirect.github.com/fsnotify/fsnotify/pull/518;>fsnotify/fsnotify#518
   https://redirect.github.com/fsnotify/fsnotify/issues/520;>#520: 
https://redirect.github.com/fsnotify/fsnotify/pull/520;>fsnotify/fsnotify#520
   https://redirect.github.com/fsnotify/fsnotify/issues/521;>#521: 
https://redirect.github.com/fsnotify/fsnotify/pull/521;>fsnotify/fsnotify#521
   https://redirect.github.com/fsnotify/fsnotify/issues/524;>#524: 
https://redirect.github.com/fsnotify/fsnotify/pull/524;>fsnotify/fsnotify#524
   https://redirect.github.com/fsnotify/fsnotify/issues/525;>#525: 
https://redirect.github.com/fsnotify/fsnotify/pull/525;>fsnotify/fsnotify#525
   
   
   ... (truncated)
   
   
   Changelog
   Sourced from https://github.com/fsnotify/fsnotify/blob/main/CHANGELOG.md;>github.com/fsnotify/fsnotify's
 changelog.
   
   1.7.0 - 2023-10-22
   This version of fsnotify needs Go 1.17.
   Additions
   
   
   illumos: add FEN backend to support illumos and Solaris. (https://redirect.github.com/fsnotify/fsnotify/issues/371;>#371)
   
   
   all: add NewBufferedWatcher() to use a buffered channel, 
which can be useful
   in cases where you can't control the kernel buffer 

[camel-k] branch release-2.1.x updated: chore: nightly SBOM update

2023-10-22 Thread github-bot
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/release-2.1.x by this push:
 new 20ef62e12 chore: nightly SBOM update
20ef62e12 is described below

commit 20ef62e1275008d720db9276148e7d400b3ce626
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Mon Oct 23 00:38:25 2023 +

chore: nightly SBOM update
---
 camel-k-sbom/camel-k-sbom.json | 12 ++--
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/camel-k-sbom/camel-k-sbom.json b/camel-k-sbom/camel-k-sbom.json
index bfc3d84b1..44dfa0a63 100644
--- a/camel-k-sbom/camel-k-sbom.json
+++ b/camel-k-sbom/camel-k-sbom.json
@@ -2,10 +2,10 @@
   "$schema": "http://cyclonedx.org/schema/bom-1.4.schema.json;,
   "bomFormat": "CycloneDX",
   "specVersion": "1.4",
-  "serialNumber": "urn:uuid:40009e24-64af-41f8-88e6-8e47d7724f6f",
+  "serialNumber": "urn:uuid:b3eae60a-9fee-405a-b0ad-cf56cb33c51e",
   "version": 1,
   "metadata": {
-"timestamp": "2023-10-22T00:35:15Z",
+"timestamp": "2023-10-23T00:38:25Z",
 "tools": [
   {
 "vendor": "CycloneDX",
@@ -46,11 +46,11 @@
   }
 ],
 "component": {
-  "bom-ref": 
"pkg:golang/github.com/apache/camel-k/v2@v0.0.0-20231022003154-1c11a8a63ec6?type=module",
+  "bom-ref": 
"pkg:golang/github.com/apache/camel-k/v2@v0.0.0-20231022003515-7ff25e282760?type=module",
   "type": "application",
   "name": "github.com/apache/camel-k/v2",
-  "version": "v0.0.0-20231022003154-1c11a8a63ec6",
-  "purl": 
"pkg:golang/github.com/apache/camel-k/v2@v0.0.0-20231022003154-1c11a8a63ec6?type=module\u0026goos=linux\u0026goarch=amd64",
+  "version": "v0.0.0-20231022003515-7ff25e282760",
+  "purl": 
"pkg:golang/github.com/apache/camel-k/v2@v0.0.0-20231022003515-7ff25e282760?type=module\u0026goos=linux\u0026goarch=amd64",
   "externalReferences": [
 {
   "url": "https://github.com/apache/camel-k;,
@@ -3853,7 +3853,7 @@
   ],
   "dependencies": [
 {
-  "ref": 
"pkg:golang/github.com/apache/camel-k/v2@v0.0.0-20231022003154-1c11a8a63ec6?type=module",
+  "ref": 
"pkg:golang/github.com/apache/camel-k/v2@v0.0.0-20231022003515-7ff25e282760?type=module",
   "dependsOn": [
 "pkg:golang/github.com/Masterminds/semver@v1.5.0?type=module",
 "pkg:golang/github.com/container-tools/spectrum@v0.6.38?type=module",



[camel-spring-boot] branch automatic-periodic-sync updated (e9be315c8e6 -> 9285f065c0f)

2023-10-22 Thread github-bot
This is an automated email from the ASF dual-hosted git repository.

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


omit e9be315c8e6 [create-pull-request] automated change
 add 9285f065c0f [create-pull-request] automated change (#983)

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   (e9be315c8e6)
\
 N -- N -- N   refs/heads/automatic-periodic-sync (9285f065c0f)

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-k] 02/02: chore: nightly SBOM update

2023-10-22 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

commit 2200d3a5f7e8e1eaf7b5e06e94bb84e2aa48c248
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Sun Oct 22 23:50:06 2023 +

chore: nightly SBOM update
---
 camel-k-sbom/camel-k-sbom.json | 12 ++--
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/camel-k-sbom/camel-k-sbom.json b/camel-k-sbom/camel-k-sbom.json
index 3c1fbb8da..782a1e620 100644
--- a/camel-k-sbom/camel-k-sbom.json
+++ b/camel-k-sbom/camel-k-sbom.json
@@ -2,10 +2,10 @@
   "$schema": "http://cyclonedx.org/schema/bom-1.4.schema.json;,
   "bomFormat": "CycloneDX",
   "specVersion": "1.4",
-  "serialNumber": "urn:uuid:486f15a6-ec15-4c36-abc4-339a349f6693",
+  "serialNumber": "urn:uuid:bc996d3a-0a72-4b6f-bf3d-a9874a55983e",
   "version": 1,
   "metadata": {
-"timestamp": "2023-10-21T23:47:38Z",
+"timestamp": "2023-10-22T23:50:06Z",
 "tools": [
   {
 "vendor": "CycloneDX",
@@ -46,11 +46,11 @@
   }
 ],
 "component": {
-  "bom-ref": 
"pkg:golang/github.com/apache/camel-k/v2@v0.0.0-20231020234943-ca6643007d75?type=module",
+  "bom-ref": 
"pkg:golang/github.com/apache/camel-k/v2@v0.0.0-20231022234500-9a3f34fcc082?type=module",
   "type": "application",
   "name": "github.com/apache/camel-k/v2",
-  "version": "v0.0.0-20231020234943-ca6643007d75",
-  "purl": 
"pkg:golang/github.com/apache/camel-k/v2@v0.0.0-20231020234943-ca6643007d75?type=module\u0026goos=linux\u0026goarch=amd64",
+  "version": "v0.0.0-20231022234500-9a3f34fcc082",
+  "purl": 
"pkg:golang/github.com/apache/camel-k/v2@v0.0.0-20231022234500-9a3f34fcc082?type=module\u0026goos=linux\u0026goarch=amd64",
   "externalReferences": [
 {
   "url": "https://github.com/apache/camel-k;,
@@ -3853,7 +3853,7 @@
   ],
   "dependencies": [
 {
-  "ref": 
"pkg:golang/github.com/apache/camel-k/v2@v0.0.0-20231020234943-ca6643007d75?type=module",
+  "ref": 
"pkg:golang/github.com/apache/camel-k/v2@v0.0.0-20231022234500-9a3f34fcc082?type=module",
   "dependsOn": [
 "pkg:golang/github.com/Masterminds/semver@v1.5.0?type=module",
 "pkg:golang/github.com/container-tools/spectrum@v0.6.38?type=module",



[camel-k] branch main updated (429ade26b -> 2200d3a5f)

2023-10-22 Thread github-bot
This is an automated email from the ASF dual-hosted git repository.

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


from 429ade26b chore: nightly SBOM update
 new 9a3f34fcc chore: changelog automatic update
 new 2200d3a5f chore: nightly SBOM update

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:
 CHANGELOG.md   |  1 +
 camel-k-sbom/camel-k-sbom.json | 12 ++--
 2 files changed, 7 insertions(+), 6 deletions(-)



[camel-k] 01/02: chore: changelog automatic update

2023-10-22 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

commit 9a3f34fcc082cc9a4cd25575b2451a142078b19f
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Sun Oct 22 23:45:00 2023 +

chore: changelog automatic update
---
 CHANGELOG.md | 1 +
 1 file changed, 1 insertion(+)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 81ff03ad4..42e849944 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -8,6 +8,7 @@
 
 - nested Kamelets are not working 
[\#4837](https://github.com/apache/camel-k/issues/4837)
 - Error log traces after integration error 
[\#4781](https://github.com/apache/camel-k/issues/4781)
+- Using an XSLT as a local dependency results in "unknown dependency error" 
[\#4426](https://github.com/apache/camel-k/issues/4426)
 - Projecting routes status to a Kubernetes Resource 
[\#2728](https://github.com/apache/camel-k/issues/2728)
 
 **Merged pull requests:**



[camel-spring-boot] annotated tag camel-spring-boot-4.0.2 created (now bc8db725fd4)

2023-10-22 Thread gzurowski
This is an automated email from the ASF dual-hosted git repository.

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


  at bc8db725fd4 (tag)
 tagging ba8a24e2b3b6e9e5197d6910e50134bc0fde7745 (commit)
 replaces camel-spring-boot-4.0.1
  by Gregor Zurowski
  on Sun Oct 22 19:24:15 2023 +

- Log -
[maven-release-plugin]  copy for tag camel-spring-boot-4.0.2
---

No new revisions were added by this update.



[camel-spring-boot] 01/02: Target Camel 4.0.2 for release

2023-10-22 Thread gzurowski
This is an automated email from the ASF dual-hosted git repository.

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

commit c9422afd0074ac27f7271be72fbf7ae7e5f9969c
Author: Gregor Zurowski 
AuthorDate: Sun Oct 22 17:51:27 2023 +

Target Camel 4.0.2 for release
---
 pom.xml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/pom.xml b/pom.xml
index fc0647790d2..b2bc1c57792 100644
--- a/pom.xml
+++ b/pom.xml
@@ -23,7 +23,7 @@
 
 org.apache.camel
 camel-dependencies
-4.0.2-SNAPSHOT
+4.0.2
 
 
 org.apache.camel.springboot
@@ -111,7 +111,7 @@
 3.1.5
 
 
-4.0.2-SNAPSHOT
+4.0.2
 
 
 1.0.2.v20150114
@@ -451,7 +451,7 @@
 
 dev
 
-4.0.2-SNAPSHOT
+4.0.2
 
 
 



[camel-spring-boot] branch release/4.0.2 created (now ba8a24e2b3b)

2023-10-22 Thread gzurowski
This is an automated email from the ASF dual-hosted git repository.

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


  at ba8a24e2b3b [maven-release-plugin] prepare release 
camel-spring-boot-4.0.2

This branch includes the following new commits:

 new c9422afd007 Target Camel 4.0.2 for release
 new ba8a24e2b3b [maven-release-plugin] prepare release 
camel-spring-boot-4.0.2

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.




Re: [PR] [Github Actions] Periodic Sync Camel Spring Boot SBOM (Camel 4) [camel-spring-boot]

2023-10-22 Thread via GitHub


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


-- 
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] [Github Actions] Periodic Sync Camel Spring Boot SBOM (Camel 4) [camel-spring-boot]

2023-10-22 Thread via GitHub


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

   Periodic Sync of Camel Spring Boot Main Branch with main Camel Main for SBOM 
Generation.
   see 
https://github.com/apache/camel-spring-boot/blob/main/.github/workflows/generate-sbom-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] branch regen_bot updated (cf509a31d63 -> b1404d75155)

2023-10-22 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 cf509a31d63 Regen
 add b1404d75155 Regen SBOM from commit 
cf509a31d638f2ea5160456f3d935466e0746b02 (#11800)

No new revisions were added by this update.

Summary of changes:
 camel-sbom/camel-sbom.json | 7633 ++--
 camel-sbom/camel-sbom.xml  | 7053 
 2 files changed, 7353 insertions(+), 7333 deletions(-)



Re: [PR] Generated sources regen for SBOM [camel]

2023-10-22 Thread via GitHub


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


-- 
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] Generated sources regen for SBOM [camel]

2023-10-22 Thread via GitHub


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

   Regen bot :robot: found some uncommitted changes after running build on 
:camel: `main` branch for generating SBOMs.
   Please do not delete `regen_bot_sbom` 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



[camel] branch regen_bot_sbom updated (6121cc982e5 -> 9542667d9ac)

2023-10-22 Thread github-bot
This is an automated email from the ASF dual-hosted git repository.

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


omit 6121cc982e5 Regen SBOM from commit 
a7e4ff235787d2d511db2e37a1e781d397c3f34d
 add 4b5132ca7bc Regen SBOM from commit 
a7e4ff235787d2d511db2e37a1e781d397c3f34d (#11726)
 add fd1b0895cc9 Upgrade to Mockito 5.6.0 (#11722)
 add 03836e0e722 CAMEL-19968: The Tracing Strategy is failing when using 
pollEnrich (#11727)
 add 079481541b6 Regen
 add 64384e606c4 Regen for commit 03836e0e722d6163ccd1fd3385d37643c19c165b 
(#11728)
 add 3e80d38c903 CAMEL-19992: Upgrade bytebuddy that can support Java 21 
(#11729)
 add e30d8f3c488 Upgrade Infinispan to version 14.0.19.Final (#11730)
 add 1d8e3a98af0 CAMEL-19995: camel-jbang - Run and reload from clipboard
 add 8fb46f02bfe CAMEL-19973 - Camel-AWS components: Revisit description - 
Athena Component (#11731)
 add 3663571daef CAMEL-19973 - Camel-AWS components: Revisit description - 
Cloudwatch component (#11732)
 add 6dfd3ed7ac2 CAMEL-19996 avoid NPE when handling exception without 
coordinator (#11733)
 add bfb3e31954e CAMEL-19689: camel-jbang - Load classpath resources that 
have src/main/resources as prefix.
 add 2e246758916 CAMEL-19998: move several internal APIs to the 
CamelContext extension
 add 1d6c3ac4bd6 Upgrade AWS SDK v2 to version 2.21.1 (#11735)
 add 4fce7339c98 Upgrade Kubernetes Client to version 6.9.0 (#11737)
 add f2f084c9407 CAMEL-19998: cleanup type converter APIs
 add 998c8fa4152 CAMEL-19998: use the wrapper method to stop the registry
 add 194c7f6ae87 CAMEL-19998: cleanup injector API
 add 76db106418e CAMEL-19998: cleanup route controller API
 add 8504874a173 CAMEL-19998: cleanup shutdown strategy API
 add 29566baad54 CAMEL-19998: cleanup executor service manager API
 add 87278e71781 (chores) camel-core: minor cleanup in the shutdown strategy
 add 0b61318e300 CAMEL-19973 - Camel-AWS components: Revisit description - 
DynamoDB component (#11740)
 add 33585c61b57 CAMEL-19998: cleanup executor startup step recorder API
 add 6d2d0c31c89 CAMEL-19998: hide route startup order count
 add be5b9764703 CAMEL-19998: reduce coupling between CamelContext and the 
InternalServiceManager
 add 73db0391a6f CAMEL-19998: reduce coupling between CamelContext and the 
InternalRouteStartupManager
 add fb21cbd87ac CAMEL-19994: camel-platform-http-vertx - Allow access to 
vertx request object. Add support for pooled exchange like we have in other 
http components. (#11739)
 add 9f372bc7493 Upgrade undertow 2.3.10 (#11746)
 add 669dd05e47c Upgrade to log4j 2.21.0 (#11747)
 add 330cbfc42d3 Update known camel releases
 add 49f93bed5d2 Upgrade AWS SDK v2 to version 2.21.2 (#11748)
 add f66dc9404d3 CAMEL-20003 - Upgrade Google Cloud BOM to version 26.25.0 
(#11750)
 add 821378eed35 CAMEL-20002: Make it easier to extend DefaultInjector
 add dbadd6bbb79 CAMEL-20005 - Upgrade Google Secrets Manager BOM to 
version 2.28.0 (#11753)
 add de6c0a2592c Remove deprecated Class.newInstance usage in StaxProcessor 
(#11751)
 add cc4b5f7dc1f CAMEL-20006 - Upgrade Google Cloud Functions BOM to 
version 2.30.0 (#11755)
 add c6b27fc2966 Fix link for building page on readme (#11757)
 add 90c76c8b4b0 Bean cache (#11758)
 add e61d7c00e87 CAMEL-20013: AdviceWith should have model dumper as 
optional in case its not on classpath.
 add 13c7ed82ff2 Polished
 add 6a098df5bb1 CAMEL-2: camel-flatpack DataSetList iterator iterates 
only once. Thanks to Zeljko Tesic for test case.
 add 03369ce25e7 CAMEL-20010 (#11759)
 add 50ec2d6a150 (chores) camel-core: reduce method size to force inlining
 add 7978344cc84 (chores) camel-disruptor: reduce method size
 add 422fbb2ff5f (chores) camel-core: minor cleanup in the 
RedeliveryErrorHandler
 add acbc13f3562 (chores) camel-main: cleanup shutdown action check
 add 20a60fd9d19 (chores) camel-core: remove unnecessary volatile
 add 3740924daba Remove Servicemix-specs property placeholder since not in 
use (#11768)
 add 8260eb32a9f camel-kafka - fix typo in the description of linger.ms 
(#11769)
 add 5aa0debcd65 CAMEL-19541: replaced Thread.sleep() in camel-quartz
 add 7aa6f279b1b CAMEL-19998: cleanup unused methods
 add a88f30cfe55 CAMEL-19998: deprecate methods that should be accessed via 
extensions
 add 4275cfdb978 CAMEL-20011: Fix usage of deprecated Vert.x APIs
 add 3d16a0ecb02 Fix missing space in description of Cmale JBang Transform 
parameter description (#11776)
 add 1ba97014d0a Upgrade spring-security to align with spring-boot 3.1.5 
(#11777)
 add 0c3ba620fa0 CAMEL-8306: Add support for wildcards to match on prefix 
(#11638)
 add 3f2b410fb82 CAMEL-19990: Upgrade dependencies for Spring Boot 3.1.5
 add 1a56b858e85 Migrate from 

[camel-spring-boot-examples] branch main updated: Reformat code

2023-10-22 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-examples.git


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

commit e36cde311566f02e0f6d4fd842f6d67a91bee308
Author: Claus Ibsen 
AuthorDate: Sun Oct 22 16:16:18 2023 +0200

Reformat code
---
 .../springboot/infinispan/CamelInfinispanRoute.java | 17 +
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git 
a/infinispan/src/main/java/org/apache/camel/example/springboot/infinispan/CamelInfinispanRoute.java
 
b/infinispan/src/main/java/org/apache/camel/example/springboot/infinispan/CamelInfinispanRoute.java
index 04cb79b..c69347c 100644
--- 
a/infinispan/src/main/java/org/apache/camel/example/springboot/infinispan/CamelInfinispanRoute.java
+++ 
b/infinispan/src/main/java/org/apache/camel/example/springboot/infinispan/CamelInfinispanRoute.java
@@ -32,16 +32,17 @@ public class CamelInfinispanRoute extends RouteBuilder {
 public void configure() throws Exception {
 
 from("timer://foo?period=1=1")
-.to("direct:put-cache");
+.to("direct:put-cache");
 
 from("direct:put-cache")
-
.setHeader(InfinispanConstants.OPERATION).constant(InfinispanOperation.PUT)
-.setHeader(InfinispanConstants.KEY).constant("1")
-.setHeader(InfinispanConstants.VALUE).constant("test")
-.to("infinispanRemoteComponent://default")
-
.setHeader(InfinispanConstants.OPERATION).constant(InfinispanOperation.GET)
-.setHeader(InfinispanConstants.KEY).constant("1")
-.to("infinispanRemoteComponent://default").log("Received body: 
${body}");
+
.setHeader(InfinispanConstants.OPERATION).constant(InfinispanOperation.PUT)
+.setHeader(InfinispanConstants.KEY).constant("1")
+.setHeader(InfinispanConstants.VALUE).constant("test")
+.to("infinispanRemoteComponent://default")
+
.setHeader(InfinispanConstants.OPERATION).constant(InfinispanOperation.GET)
+.setHeader(InfinispanConstants.KEY).constant("1")
+.to("infinispanRemoteComponent://default")
+.log("Received body: ${body}");
 }
 
 }



[camel-spring-boot-examples] 01/02: Bump camel version

2023-10-22 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-examples.git

commit ca7f9c5de3cda479792713dd4e8b06e064355054
Author: Claus Ibsen 
AuthorDate: Sun Oct 22 15:55:08 2023 +0200

Bump camel version
---
 pom.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index bdc4711..d542a8f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -91,7 +91,7 @@
 
 

-   4.1.0-SNAPSHOT
+   4.2.0-SNAPSHOT
false
4.0.1
1.9.1
@@ -100,7 +100,7 @@
1.16.3
2.3

2.6.3
-2.28.0
+2.28.0

 




[camel-spring-boot-examples] 02/02: Update dependencies

2023-10-22 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-examples.git

commit 281d69e543116f9589dc7f9078a76b939cb242bb
Author: Claus Ibsen 
AuthorDate: Sun Oct 22 16:00:22 2023 +0200

Update dependencies
---
 .../camel/example/springboot/infinispan/Application.java   |  2 +-
 pom.xml| 10 +-
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git 
a/infinispan/src/main/java/org/apache/camel/example/springboot/infinispan/Application.java
 
b/infinispan/src/main/java/org/apache/camel/example/springboot/infinispan/Application.java
index 19a6993..3cd15a1 100644
--- 
a/infinispan/src/main/java/org/apache/camel/example/springboot/infinispan/Application.java
+++ 
b/infinispan/src/main/java/org/apache/camel/example/springboot/infinispan/Application.java
@@ -28,7 +28,7 @@ import 
org.springframework.boot.autoconfigure.SpringBootApplication;
 import org.springframework.boot.context.properties.ConfigurationProperties;
 import org.springframework.context.annotation.Bean;
 import org.springframework.context.annotation.Configuration;
-import org.testcontainers.shaded.org.apache.commons.lang.SystemUtils;
+import org.testcontainers.shaded.org.apache.commons.lang3.SystemUtils;
 
 import java.util.Properties;
 
diff --git a/pom.xml b/pom.xml
index d542a8f..bced9be 100644
--- a/pom.xml
+++ b/pom.xml
@@ -94,13 +94,13 @@
4.2.0-SNAPSHOT
false
4.0.1
-   1.9.1
+   1.14.0

5.2.2
-   3.2.16.RELEASE
-   1.16.3
+   3.5.11
+   1.19.1
2.3
-   
2.6.3
-2.28.0
+   
2.6.7
+2.31.0

 




[camel-spring-boot-examples] branch main updated (59edde7 -> 281d69e)

2023-10-22 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-spring-boot-examples.git


from 59edde7  Bump for next version
 new ca7f9c5  Bump camel version
 new 281d69e  Update dependencies

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:
 .../camel/example/springboot/infinispan/Application.java |  2 +-
 pom.xml  | 12 ++--
 2 files changed, 7 insertions(+), 7 deletions(-)



[camel] branch regen_bot updated (31a475fa65c -> cf509a31d63)

2023-10-22 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 31a475fa65c Regen for commit 6189059b1fb0ac9e8f4f31d58495eb37874c15b1
 add cf509a31d63 Regen

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   (31a475fa65c)
\
 N -- N -- N   refs/heads/regen_bot (cf509a31d63)

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:



Re: [PR] Generated sources regen [camel]

2023-10-22 Thread via GitHub


github-actions[bot] closed pull request #11799: Generated sources regen
URL: https://github.com/apache/camel/pull/11799


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



[I] Use more icons for components [camel-karavan]

2023-10-22 Thread via GitHub


davsclaus opened a new issue, #950:
URL: https://github.com/apache/camel-karavan/issues/950

   We can reuse the icons we have for kamelets for some of the components
   
   - salesforce
   - couchbase
   - and so forth
   https://github.com/apache/camel-karavan/assets/477100/c38d3a34-6da6-4c29-a50e-3d09256f55ab;>
   
   


-- 
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] branch regen_bot_3x updated (6672e3122fe -> a80bfda9722)

2023-10-22 Thread github-bot
This is an automated email from the ASF dual-hosted git repository.

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


from 6672e3122fe Regen for commit fde5fb6575b3078d86f069c0e0b43aca6648ec44 
(#11793)
 add a80bfda9722 CAMEL-19907: camel-micrometer - Add option to use old 
legacy naming s… (#11798)

No new revisions were added by this update.

Summary of changes:
 .../src/main/docs/micrometer-component.adoc| 43 
 .../component/micrometer/MicrometerUtils.java  | 16 +++-
 ...rometerExchangeEventNotifierNamingStrategy.java | 20 +-
 ...MicrometerRouteEventNotifierNamingStrategy.java | 29 ++
 .../MicrometerMessageHistoryNamingStrategy.java| 19 +
 .../MicrometerRoutePolicyNamingStrategy.java   | 35 +---
 .../AbstractMicrometerRoutePolicyTest.java |  4 ++
 .../LegacyMicrometerRoutePolicyTest.java   | 46 ++
 .../routepolicy/MicrometerRoutePolicyTest.java |  6 ++-
 9 files changed, 208 insertions(+), 10 deletions(-)
 create mode 100644 
components/camel-micrometer/src/test/java/org/apache/camel/component/micrometer/routepolicy/LegacyMicrometerRoutePolicyTest.java



Re: [I] Kafka action kamelets do not use kafka icon [camel-karavan]

2023-10-22 Thread via GitHub


oscerd commented on issue #949:
URL: https://github.com/apache/camel-karavan/issues/949#issuecomment-1774090620

   The icon is the icon we are using for actions.


-- 
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.0.2 created (now 7806143d35e)

2023-10-22 Thread gzurowski
This is an automated email from the ASF dual-hosted git repository.

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


  at 7806143d35e (tag)
 tagging 3b6f72df432e452d2233c213e0a925e1271348f2 (commit)
 replaces camel-4.0.1
  by Gregor Zurowski
  on Sun Oct 22 12:51:00 2023 +

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

No new revisions were added by this update.



[camel] branch release/4.0.2 created (now 3b6f72df432)

2023-10-22 Thread gzurowski
This is an automated email from the ASF dual-hosted git repository.

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


  at 3b6f72df432 [maven-release-plugin] prepare release camel-4.0.2

This branch includes the following new commits:

 new 3b6f72df432 [maven-release-plugin] prepare release camel-4.0.2

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




[I] Kamelet with missing description [camel-karavan]

2023-10-22 Thread via GitHub


davsclaus opened a new issue, #948:
URL: https://github.com/apache/camel-karavan/issues/948

   The 4.0.1 release of this kamelet has description in the yaml
   
https://github.com/apache/camel-kamelets/blob/v4.0.1/kamelets/aws-sqs-fifo-sink.kamelet.yaml
   
   But in Karavan it seems that there is no description
   https://github.com/apache/camel-karavan/assets/477100/d4a8d7f7-29d6-4096-b3be-c6fd3e853095;>
   


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



[I] Knowledge Base - Add EIP filter buttons [camel-karavan]

2023-10-22 Thread via GitHub


davsclaus opened a new issue, #947:
URL: https://github.com/apache/camel-karavan/issues/947

   When you create routes and add EIPs there is these small filter for EIPs for 
"transformation, routing etc.".
   We should have that too in the knowledge space dialog.
   
   https://github.com/apache/camel-karavan/assets/477100/a7bbe09c-4358-4f91-9dbd-6a8407a2cb7b;>
   


-- 
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] branch regen_bot_40x updated (51e48ef8484 -> 6189059b1fb)

2023-10-22 Thread github-bot
This is an automated email from the ASF dual-hosted git repository.

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


from 51e48ef8484 CAMEL-19975: Convert file to ByteBuffer should fail if the 
file is too large
 add c8f27cc57f1 CAMEL-20001: camel-core - PropertiesParser should have a 
hook in a different phase that Spring Boot uses. This ensures that override 
properties from Camel will take precedence.
 add 1be88f523f4 Regen
 add 0c644ddfa50 CAMEL-20024: Exclude camel-coremodel app/* in 
camel-spring-xml schema
 add 6189059b1fb CAMEL-19907: camel-micrometer - Add option to use old 
legacy naming s… (#11798)

No new revisions were added by this update.

Summary of changes:
 .../apache/camel/catalog/schemas/camel-spring.xsd  | 52 +++---
 .../src/main/docs/micrometer-component.adoc| 21 +
 .../component/micrometer/MicrometerUtils.java  | 16 ++-
 ...rometerExchangeEventNotifierNamingStrategy.java | 20 -
 ...MicrometerRouteEventNotifierNamingStrategy.java | 29 
 .../MicrometerMessageHistoryNamingStrategy.java| 19 
 .../MicrometerRoutePolicyNamingStrategy.java   | 35 ---
 .../MicrometerExchangeEventNotifierTest.java   |  4 +-
 .../AbstractMicrometerRoutePolicyTest.java |  4 ++
 .../LegacyMicrometerRoutePolicyTest.java   | 46 +++
 .../routepolicy/MicrometerRoutePolicyTest.java |  6 ++-
 components/camel-spring-xml/pom.xml|  2 +-
 .../properties/DefaultPropertiesParser.java| 10 -
 .../component/properties/PropertiesParser.java | 11 +
 .../ROOT/pages/camel-4x-upgrade-guide-4_2.adoc |  6 +++
 15 files changed, 261 insertions(+), 20 deletions(-)
 create mode 100644 
components/camel-micrometer/src/test/java/org/apache/camel/component/micrometer/routepolicy/LegacyMicrometerRoutePolicyTest.java



[I] Knowledge Base - Make first column wider [camel-karavan]

2023-10-22 Thread via GitHub


davsclaus opened a new issue, #946:
URL: https://github.com/apache/camel-karavan/issues/946

   In the knowledge space when you browse EIPs, components etc, then the table 
can be made better.
   
   1. Make first column wider (its the option name)
   2. The label column should be removed, and the label should be like the 
other labels in grey background and bold text (see image), and then maybe 
position the label in the first column.
   
   https://github.com/apache/camel-karavan/assets/477100/a9fef653-fdf2-4f87-8963-893c629cc26e;>
   


-- 
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] branch regen_bot updated (40dd8431539 -> 31a475fa65c)

2023-10-22 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 40dd8431539 Regen for commit 0c644ddfa5072bcee797152c70e2ed5ff5132d38
 add 6189059b1fb CAMEL-19907: camel-micrometer - Add option to use old 
legacy naming s… (#11798)
 add 31a475fa65c Regen for commit 6189059b1fb0ac9e8f4f31d58495eb37874c15b1

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   (40dd8431539)
\
 N -- N -- N   refs/heads/regen_bot (31a475fa65c)

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:
 .../src/main/docs/micrometer-component.adoc| 21 ++
 .../component/micrometer/MicrometerUtils.java  | 16 +++-
 ...rometerExchangeEventNotifierNamingStrategy.java | 20 +-
 ...MicrometerRouteEventNotifierNamingStrategy.java | 29 ++
 .../MicrometerMessageHistoryNamingStrategy.java| 19 +
 .../MicrometerRoutePolicyNamingStrategy.java   | 35 +---
 .../MicrometerExchangeEventNotifierTest.java   |  4 +-
 .../AbstractMicrometerRoutePolicyTest.java |  4 ++
 .../LegacyMicrometerRoutePolicyTest.java   | 46 ++
 .../routepolicy/MicrometerRoutePolicyTest.java |  6 ++-
 10 files changed, 188 insertions(+), 12 deletions(-)
 create mode 100644 
components/camel-micrometer/src/test/java/org/apache/camel/component/micrometer/routepolicy/LegacyMicrometerRoutePolicyTest.java



[PR] Generated sources regen [camel]

2023-10-22 Thread via GitHub


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

   Regen bot :robot: found some uncommitted changes after running build on 
:camel: `main` branch.
   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



[camel] branch camel-3.x updated: CAMEL-19907: camel-micrometer - Add option to use old legacy naming s… (#11798)

2023-10-22 Thread davsclaus
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/camel-3.x by this push:
 new a80bfda9722 CAMEL-19907: camel-micrometer - Add option to use old 
legacy naming s… (#11798)
a80bfda9722 is described below

commit a80bfda9722752c433621324537d2ff5790321b3
Author: Claus Ibsen 
AuthorDate: Sun Oct 22 14:28:30 2023 +0200

CAMEL-19907: camel-micrometer - Add option to use old legacy naming s… 
(#11798)

CAMEL-19907: camel-micrometer - Add option to use old legacy naming style, 
that allows users that migrate to keep using old name as changing their 
monitoring systems can be harder.
---
 .../src/main/docs/micrometer-component.adoc| 43 
 .../component/micrometer/MicrometerUtils.java  | 16 +++-
 ...rometerExchangeEventNotifierNamingStrategy.java | 20 +-
 ...MicrometerRouteEventNotifierNamingStrategy.java | 29 ++
 .../MicrometerMessageHistoryNamingStrategy.java| 19 +
 .../MicrometerRoutePolicyNamingStrategy.java   | 35 +---
 .../AbstractMicrometerRoutePolicyTest.java |  4 ++
 .../LegacyMicrometerRoutePolicyTest.java   | 46 ++
 .../routepolicy/MicrometerRoutePolicyTest.java |  6 ++-
 9 files changed, 208 insertions(+), 10 deletions(-)

diff --git 
a/components/camel-micrometer/src/main/docs/micrometer-component.adoc 
b/components/camel-micrometer/src/main/docs/micrometer-component.adoc
index 12e5fcbfbca..71ca2d39336 100644
--- a/components/camel-micrometer/src/main/docs/micrometer-component.adoc
+++ b/components/camel-micrometer/src/main/docs/micrometer-component.adoc
@@ -125,6 +125,49 @@ class MyBean extends RouteBuilder {
 }
 
 
+== Default Camel Metrics
+
+Some Camel specific metrics are available out of the box.
+
+[width="100%",options="header"]
+|=
+|Name |Type |Description
+|camel.message.history|timer |Sample of performance of each node in the route 
when message history is enabled
+|camel.routes.added |gauge |Number of routes added
+|camel.routes.running |gauge |Number of routes runnning
+|camel.exchanges.inflight |gauge |Route inflight messages
+|camel.exchanges.total |counter |Total number of processed exchanges
+|camel.exchanges.succeeded |counter |Number of successfully completed exchange
+|camel.exchanges.failed |counter |Number of failed exchanges
+|camel.exchanges.failures.handled |counter |Number of failures handled
+|camel.exchanges.external.redeliveries |counter |Number of external initiated 
redeliveries (such as from JMS broker)
+|camel.exchange.event.notifier |gauge + summary | Metrics for message created, 
sent, completed, and failed events
+|camel.route.policy |gauge + summary |Route performance metrics
+|camel.route.policy.long.task |gauge + summary |Route long task metric
+|=
+
+=== Using legacy metrics naming
+
+In Camel 3.20 or older, then the naming of metrics are using _camelCase_ style.
+However, since Camel 3.21 onwards, the naming is using micrometer convention 
style (see table above).
+
+To use the legacy naming, then you can use the `LEGACY` naming from the 
`xxxNamingStrategy` interfaces.
+
+For example:
+
+[source,java]
+
+MicrometerRoutePolicyFactory factory = new MicrometerRoutePolicyFactory();
+factory.setNamingStrategy(MicrometerRoutePolicyNamingStrategy.LEGACY);
+
+
+The naming style can be configured on:
+
+- `MicrometerRoutePolicyFactory`
+- `MicrometerExchangeEventNotifier`
+- `MicrometerRouteEventNotifier`
+- `MicrometerMessageHistoryFactory`
+
 == Usage of producers
 
 Each meter has type and name. Supported types are
diff --git 
a/components/camel-micrometer/src/main/java/org/apache/camel/component/micrometer/MicrometerUtils.java
 
b/components/camel-micrometer/src/main/java/org/apache/camel/component/micrometer/MicrometerUtils.java
index 3a43725818b..609b1648dfb 100644
--- 
a/components/camel-micrometer/src/main/java/org/apache/camel/component/micrometer/MicrometerUtils.java
+++ 
b/components/camel-micrometer/src/main/java/org/apache/camel/component/micrometer/MicrometerUtils.java
@@ -24,6 +24,7 @@ import 
io.micrometer.core.instrument.composite.CompositeMeterRegistry;
 import io.micrometer.core.instrument.simple.SimpleMeterRegistry;
 import org.apache.camel.RuntimeCamelException;
 import org.apache.camel.spi.Registry;
+import org.apache.camel.util.StringHelper;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
@@ -32,7 +33,6 @@ public final class MicrometerUtils {
 private static final Logger LOG = 
LoggerFactory.getLogger(MicrometerUtils.class);
 
 private MicrometerUtils() {
-
 }
 
 public static Meter.Type getByName(String meterName) {
@@ -88,6 +88,20 @@ public final class MicrometerUtils {
 return new 

[camel] branch camel-3.21.x updated: CAMEL-19907: camel-micrometer - Add option to use old legacy naming s… (#11798)

2023-10-22 Thread davsclaus
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/camel-3.21.x by this push:
 new 57cf026b4c2 CAMEL-19907: camel-micrometer - Add option to use old 
legacy naming s… (#11798)
57cf026b4c2 is described below

commit 57cf026b4c273beeb87076a5c41395994c7e7067
Author: Claus Ibsen 
AuthorDate: Sun Oct 22 14:28:30 2023 +0200

CAMEL-19907: camel-micrometer - Add option to use old legacy naming s… 
(#11798)

CAMEL-19907: camel-micrometer - Add option to use old legacy naming style, 
that allows users that migrate to keep using old name as changing their 
monitoring systems can be harder.
---
 .../src/main/docs/micrometer-component.adoc| 43 
 .../component/micrometer/MicrometerUtils.java  | 16 +++-
 ...rometerExchangeEventNotifierNamingStrategy.java | 20 +-
 ...MicrometerRouteEventNotifierNamingStrategy.java | 29 ++
 .../MicrometerMessageHistoryNamingStrategy.java| 19 +
 .../MicrometerRoutePolicyNamingStrategy.java   | 35 +---
 .../AbstractMicrometerRoutePolicyTest.java |  4 ++
 .../LegacyMicrometerRoutePolicyTest.java   | 46 ++
 .../routepolicy/MicrometerRoutePolicyTest.java |  6 ++-
 9 files changed, 208 insertions(+), 10 deletions(-)

diff --git 
a/components/camel-micrometer/src/main/docs/micrometer-component.adoc 
b/components/camel-micrometer/src/main/docs/micrometer-component.adoc
index 12e5fcbfbca..71ca2d39336 100644
--- a/components/camel-micrometer/src/main/docs/micrometer-component.adoc
+++ b/components/camel-micrometer/src/main/docs/micrometer-component.adoc
@@ -125,6 +125,49 @@ class MyBean extends RouteBuilder {
 }
 
 
+== Default Camel Metrics
+
+Some Camel specific metrics are available out of the box.
+
+[width="100%",options="header"]
+|=
+|Name |Type |Description
+|camel.message.history|timer |Sample of performance of each node in the route 
when message history is enabled
+|camel.routes.added |gauge |Number of routes added
+|camel.routes.running |gauge |Number of routes runnning
+|camel.exchanges.inflight |gauge |Route inflight messages
+|camel.exchanges.total |counter |Total number of processed exchanges
+|camel.exchanges.succeeded |counter |Number of successfully completed exchange
+|camel.exchanges.failed |counter |Number of failed exchanges
+|camel.exchanges.failures.handled |counter |Number of failures handled
+|camel.exchanges.external.redeliveries |counter |Number of external initiated 
redeliveries (such as from JMS broker)
+|camel.exchange.event.notifier |gauge + summary | Metrics for message created, 
sent, completed, and failed events
+|camel.route.policy |gauge + summary |Route performance metrics
+|camel.route.policy.long.task |gauge + summary |Route long task metric
+|=
+
+=== Using legacy metrics naming
+
+In Camel 3.20 or older, then the naming of metrics are using _camelCase_ style.
+However, since Camel 3.21 onwards, the naming is using micrometer convention 
style (see table above).
+
+To use the legacy naming, then you can use the `LEGACY` naming from the 
`xxxNamingStrategy` interfaces.
+
+For example:
+
+[source,java]
+
+MicrometerRoutePolicyFactory factory = new MicrometerRoutePolicyFactory();
+factory.setNamingStrategy(MicrometerRoutePolicyNamingStrategy.LEGACY);
+
+
+The naming style can be configured on:
+
+- `MicrometerRoutePolicyFactory`
+- `MicrometerExchangeEventNotifier`
+- `MicrometerRouteEventNotifier`
+- `MicrometerMessageHistoryFactory`
+
 == Usage of producers
 
 Each meter has type and name. Supported types are
diff --git 
a/components/camel-micrometer/src/main/java/org/apache/camel/component/micrometer/MicrometerUtils.java
 
b/components/camel-micrometer/src/main/java/org/apache/camel/component/micrometer/MicrometerUtils.java
index 3a43725818b..609b1648dfb 100644
--- 
a/components/camel-micrometer/src/main/java/org/apache/camel/component/micrometer/MicrometerUtils.java
+++ 
b/components/camel-micrometer/src/main/java/org/apache/camel/component/micrometer/MicrometerUtils.java
@@ -24,6 +24,7 @@ import 
io.micrometer.core.instrument.composite.CompositeMeterRegistry;
 import io.micrometer.core.instrument.simple.SimpleMeterRegistry;
 import org.apache.camel.RuntimeCamelException;
 import org.apache.camel.spi.Registry;
+import org.apache.camel.util.StringHelper;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
@@ -32,7 +33,6 @@ public final class MicrometerUtils {
 private static final Logger LOG = 
LoggerFactory.getLogger(MicrometerUtils.class);
 
 private MicrometerUtils() {
-
 }
 
 public static Meter.Type getByName(String meterName) {
@@ -88,6 +88,20 @@ public final class MicrometerUtils {
 return 

[camel] branch camel-4.0.x updated: CAMEL-19907: camel-micrometer - Add option to use old legacy naming s… (#11798)

2023-10-22 Thread davsclaus
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/camel-4.0.x by this push:
 new 7450b61480c CAMEL-19907: camel-micrometer - Add option to use old 
legacy naming s… (#11798)
7450b61480c is described below

commit 7450b61480cab9f181910d955f5ff0936191a02f
Author: Claus Ibsen 
AuthorDate: Sun Oct 22 14:28:30 2023 +0200

CAMEL-19907: camel-micrometer - Add option to use old legacy naming s… 
(#11798)

CAMEL-19907: camel-micrometer - Add option to use old legacy naming style, 
that allows users that migrate to keep using old name as changing their 
monitoring systems can be harder.
---
 .../src/main/docs/micrometer-component.adoc| 21 ++
 .../component/micrometer/MicrometerUtils.java  | 16 +++-
 ...rometerExchangeEventNotifierNamingStrategy.java | 20 +-
 ...MicrometerRouteEventNotifierNamingStrategy.java | 29 ++
 .../MicrometerMessageHistoryNamingStrategy.java| 19 +
 .../MicrometerRoutePolicyNamingStrategy.java   | 35 +---
 .../AbstractMicrometerRoutePolicyTest.java |  4 ++
 .../LegacyMicrometerRoutePolicyTest.java   | 46 ++
 .../routepolicy/MicrometerRoutePolicyTest.java |  6 ++-
 9 files changed, 186 insertions(+), 10 deletions(-)

diff --git 
a/components/camel-micrometer/src/main/docs/micrometer-component.adoc 
b/components/camel-micrometer/src/main/docs/micrometer-component.adoc
index ccc211b4303..bc0e501ab2c 100644
--- a/components/camel-micrometer/src/main/docs/micrometer-component.adoc
+++ b/components/camel-micrometer/src/main/docs/micrometer-component.adoc
@@ -148,6 +148,27 @@ Some Camel specific metrics are available out of the box.
 |camel.route.policy.long.task |gauge + summary |Route long task metric
 |=
 
+=== Using legacy metrics naming
+
+In Camel 3.20 or older, then the naming of metrics are using _camelCase_ style.
+However, since Camel 3.21 onwards, the naming is using micrometer convention 
style (see table above).
+
+To use the legacy naming, then you can use the `LEGACY` naming from the 
`xxxNamingStrategy` interfaces.
+
+For example:
+
+[source,java]
+
+MicrometerRoutePolicyFactory factory = new MicrometerRoutePolicyFactory();
+factory.setNamingStrategy(MicrometerRoutePolicyNamingStrategy.LEGACY);
+
+
+The naming style can be configured on:
+
+- `MicrometerRoutePolicyFactory`
+- `MicrometerExchangeEventNotifier`
+- `MicrometerRouteEventNotifier`
+- `MicrometerMessageHistoryFactory`
 
 
 == Usage of producers
diff --git 
a/components/camel-micrometer/src/main/java/org/apache/camel/component/micrometer/MicrometerUtils.java
 
b/components/camel-micrometer/src/main/java/org/apache/camel/component/micrometer/MicrometerUtils.java
index 3a43725818b..609b1648dfb 100644
--- 
a/components/camel-micrometer/src/main/java/org/apache/camel/component/micrometer/MicrometerUtils.java
+++ 
b/components/camel-micrometer/src/main/java/org/apache/camel/component/micrometer/MicrometerUtils.java
@@ -24,6 +24,7 @@ import 
io.micrometer.core.instrument.composite.CompositeMeterRegistry;
 import io.micrometer.core.instrument.simple.SimpleMeterRegistry;
 import org.apache.camel.RuntimeCamelException;
 import org.apache.camel.spi.Registry;
+import org.apache.camel.util.StringHelper;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
@@ -32,7 +33,6 @@ public final class MicrometerUtils {
 private static final Logger LOG = 
LoggerFactory.getLogger(MicrometerUtils.class);
 
 private MicrometerUtils() {
-
 }
 
 public static Meter.Type getByName(String meterName) {
@@ -88,6 +88,20 @@ public final class MicrometerUtils {
 return new SimpleMeterRegistry();
 }
 
+/**
+ * Converts the name to the legacy name
+ *
+ * @param  name the name
+ * @return  in legacy format (CamelCase with upper cased first letter)
+ */
+public static String legacyName(String name) {
+// "camel.route.policy" -> "camelRoutePolicy"
+name = name.replace('.', '-');
+name = StringHelper.dashToCamelCase(name);
+// upper case first letter
+return Character.toUpperCase(name.charAt(0)) + name.substring(1);
+}
+
 private static MeterRegistry getMeterRegistryFromCamelRegistry(
 Registry camelRegistry, String registryName,
 Class registryType) {
diff --git 
a/components/camel-micrometer/src/main/java/org/apache/camel/component/micrometer/eventnotifier/MicrometerExchangeEventNotifierNamingStrategy.java
 
b/components/camel-micrometer/src/main/java/org/apache/camel/component/micrometer/eventnotifier/MicrometerExchangeEventNotifierNamingStrategy.java
index c7f935a9569..fdaa1c91053 100644
--- 

Re: [PR] CAMEL-19907: camel-micrometer - Add option to use old legacy naming s… [camel]

2023-10-22 Thread via GitHub


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


-- 
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 m-oldname deleted (was a571d3936c0)

2023-10-22 Thread davsclaus
This is an automated email from the ASF dual-hosted git repository.

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


 was a571d3936c0 CAMEL-19907: camel-micrometer - Add option to use old 
legacy naming style, that allows users that migrate to keep using old name as 
changing their monitoring systems can be harder.

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] branch main updated: CAMEL-19907: camel-micrometer - Add option to use old legacy naming s… (#11798)

2023-10-22 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 6189059b1fb CAMEL-19907: camel-micrometer - Add option to use old 
legacy naming s… (#11798)
6189059b1fb is described below

commit 6189059b1fb0ac9e8f4f31d58495eb37874c15b1
Author: Claus Ibsen 
AuthorDate: Sun Oct 22 14:28:30 2023 +0200

CAMEL-19907: camel-micrometer - Add option to use old legacy naming s… 
(#11798)

CAMEL-19907: camel-micrometer - Add option to use old legacy naming style, 
that allows users that migrate to keep using old name as changing their 
monitoring systems can be harder.
---
 .../src/main/docs/micrometer-component.adoc| 21 ++
 .../component/micrometer/MicrometerUtils.java  | 16 +++-
 ...rometerExchangeEventNotifierNamingStrategy.java | 20 +-
 ...MicrometerRouteEventNotifierNamingStrategy.java | 29 ++
 .../MicrometerMessageHistoryNamingStrategy.java| 19 +
 .../MicrometerRoutePolicyNamingStrategy.java   | 35 +---
 .../MicrometerExchangeEventNotifierTest.java   |  4 +-
 .../AbstractMicrometerRoutePolicyTest.java |  4 ++
 .../LegacyMicrometerRoutePolicyTest.java   | 46 ++
 .../routepolicy/MicrometerRoutePolicyTest.java |  6 ++-
 10 files changed, 188 insertions(+), 12 deletions(-)

diff --git 
a/components/camel-micrometer/src/main/docs/micrometer-component.adoc 
b/components/camel-micrometer/src/main/docs/micrometer-component.adoc
index 70284236a27..dc5f0bc930c 100644
--- a/components/camel-micrometer/src/main/docs/micrometer-component.adoc
+++ b/components/camel-micrometer/src/main/docs/micrometer-component.adoc
@@ -96,6 +96,27 @@ Some Camel specific metrics are available out of the box.
 |camel.route.policy.long.task |gauge + summary |Route long task metric
 |=
 
+=== Using legacy metrics naming
+
+In Camel 3.20 or older, then the naming of metrics are using _camelCase_ style.
+However, since Camel 3.21 onwards, the naming is using micrometer convention 
style (see table above).
+
+To use the legacy naming, then you can use the `LEGACY` naming from the 
`xxxNamingStrategy` interfaces.
+
+For example:
+
+[source,java]
+
+MicrometerRoutePolicyFactory factory = new MicrometerRoutePolicyFactory();
+factory.setNamingStrategy(MicrometerRoutePolicyNamingStrategy.LEGACY);
+
+
+The naming style can be configured on:
+
+- `MicrometerRoutePolicyFactory`
+- `MicrometerExchangeEventNotifier`
+- `MicrometerRouteEventNotifier`
+- `MicrometerMessageHistoryFactory`
 
 
 == Usage of producers
diff --git 
a/components/camel-micrometer/src/main/java/org/apache/camel/component/micrometer/MicrometerUtils.java
 
b/components/camel-micrometer/src/main/java/org/apache/camel/component/micrometer/MicrometerUtils.java
index 3a43725818b..609b1648dfb 100644
--- 
a/components/camel-micrometer/src/main/java/org/apache/camel/component/micrometer/MicrometerUtils.java
+++ 
b/components/camel-micrometer/src/main/java/org/apache/camel/component/micrometer/MicrometerUtils.java
@@ -24,6 +24,7 @@ import 
io.micrometer.core.instrument.composite.CompositeMeterRegistry;
 import io.micrometer.core.instrument.simple.SimpleMeterRegistry;
 import org.apache.camel.RuntimeCamelException;
 import org.apache.camel.spi.Registry;
+import org.apache.camel.util.StringHelper;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
@@ -32,7 +33,6 @@ public final class MicrometerUtils {
 private static final Logger LOG = 
LoggerFactory.getLogger(MicrometerUtils.class);
 
 private MicrometerUtils() {
-
 }
 
 public static Meter.Type getByName(String meterName) {
@@ -88,6 +88,20 @@ public final class MicrometerUtils {
 return new SimpleMeterRegistry();
 }
 
+/**
+ * Converts the name to the legacy name
+ *
+ * @param  name the name
+ * @return  in legacy format (CamelCase with upper cased first letter)
+ */
+public static String legacyName(String name) {
+// "camel.route.policy" -> "camelRoutePolicy"
+name = name.replace('.', '-');
+name = StringHelper.dashToCamelCase(name);
+// upper case first letter
+return Character.toUpperCase(name.charAt(0)) + name.substring(1);
+}
+
 private static MeterRegistry getMeterRegistryFromCamelRegistry(
 Registry camelRegistry, String registryName,
 Class registryType) {
diff --git 
a/components/camel-micrometer/src/main/java/org/apache/camel/component/micrometer/eventnotifier/MicrometerExchangeEventNotifierNamingStrategy.java
 
b/components/camel-micrometer/src/main/java/org/apache/camel/component/micrometer/eventnotifier/MicrometerExchangeEventNotifierNamingStrategy.java
index c7f935a9569..fdaa1c91053 100644
--- 

[camel-kamelets] branch regen_bot updated (13a8e0e4 -> 9bf9c39e)

2023-10-22 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 13a8e0e4 Added Kafka Apicurio Registry Sink Kamelet (#1697)
 add 6e7a5862 Updated CHANGELOG.md
 add 9bf9c39e Regen SBOM from commit 
6e7a58623e340b767c72dcb962967208934df0b4 (#1701)

No new revisions were added by this update.

Summary of changes:
 CHANGELOG.md |2 +
 camel-kamelets-sbom/camel-kamelets-sbom.json | 2549 -
 camel-kamelets-sbom/camel-kamelets-sbom.xml  | 2587 +-
 3 files changed, 2575 insertions(+), 2563 deletions(-)



Re: [PR] Generated sources regen for SBOM [camel-kamelets]

2023-10-22 Thread via GitHub


oscerd merged PR #1701:
URL: https://github.com/apache/camel-kamelets/pull/1701


-- 
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 (e4bbd1ac98 -> 6ca0fc54f7)

2023-10-22 Thread acosentino
This is an automated email from the ASF dual-hosted git repository.

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


from e4bbd1ac98 Update Maven wrapper distribution URL to Maven 3.9.5
 add 6ca0fc54f7 Regen SBOM from commit 
e4bbd1ac980c0684714567ac703ae424f796bc1a (#5448)

No new revisions were added by this update.

Summary of changes:
 camel-quarkus-sbom/camel-quarkus-sbom.json | 27264 -
 camel-quarkus-sbom/camel-quarkus-sbom.xml  | 28460 ++-
 2 files changed, 27929 insertions(+), 27795 deletions(-)



[camel] branch m-oldname updated: CAMEL-19907: camel-micrometer - Add option to use old legacy naming style, that allows users that migrate to keep using old name as changing their monitoring systems

2023-10-22 Thread davsclaus
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/m-oldname by this push:
 new a571d3936c0 CAMEL-19907: camel-micrometer - Add option to use old 
legacy naming style, that allows users that migrate to keep using old name as 
changing their monitoring systems can be harder.
a571d3936c0 is described below

commit a571d3936c028fffa674c691e23e8665760e52be
Author: Claus Ibsen 
AuthorDate: Sun Oct 22 14:11:19 2023 +0200

CAMEL-19907: camel-micrometer - Add option to use old legacy naming style, 
that allows users that migrate to keep using old name as changing their 
monitoring systems can be harder.
---
 .../apache/camel/component/micrometer/MicrometerUtils.java |  6 --
 .../routepolicy/LegacyMicrometerRoutePolicyTest.java   | 14 +-
 2 files changed, 17 insertions(+), 3 deletions(-)

diff --git 
a/components/camel-micrometer/src/main/java/org/apache/camel/component/micrometer/MicrometerUtils.java
 
b/components/camel-micrometer/src/main/java/org/apache/camel/component/micrometer/MicrometerUtils.java
index 002a67e55d8..609b1648dfb 100644
--- 
a/components/camel-micrometer/src/main/java/org/apache/camel/component/micrometer/MicrometerUtils.java
+++ 
b/components/camel-micrometer/src/main/java/org/apache/camel/component/micrometer/MicrometerUtils.java
@@ -92,12 +92,14 @@ public final class MicrometerUtils {
  * Converts the name to the legacy name
  *
  * @param  name the name
- * @return  in legacy format (camelCase)
+ * @return  in legacy format (CamelCase with upper cased first letter)
  */
 public static String legacyName(String name) {
 // "camel.route.policy" -> "camelRoutePolicy"
 name = name.replace('.', '-');
-return StringHelper.dashToCamelCase(name);
+name = StringHelper.dashToCamelCase(name);
+// upper case first letter
+return Character.toUpperCase(name.charAt(0)) + name.substring(1);
 }
 
 private static MeterRegistry getMeterRegistryFromCamelRegistry(
diff --git 
a/components/camel-micrometer/src/test/java/org/apache/camel/component/micrometer/routepolicy/LegacyMicrometerRoutePolicyTest.java
 
b/components/camel-micrometer/src/test/java/org/apache/camel/component/micrometer/routepolicy/LegacyMicrometerRoutePolicyTest.java
index 667659160ac..f3989e47bd2 100644
--- 
a/components/camel-micrometer/src/test/java/org/apache/camel/component/micrometer/routepolicy/LegacyMicrometerRoutePolicyTest.java
+++ 
b/components/camel-micrometer/src/test/java/org/apache/camel/component/micrometer/routepolicy/LegacyMicrometerRoutePolicyTest.java
@@ -16,7 +16,10 @@
  */
 package org.apache.camel.component.micrometer.routepolicy;
 
+import org.apache.camel.component.micrometer.MicrometerConstants;
 import org.apache.camel.component.micrometer.MicrometerUtils;
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Test;
 
 public class LegacyMicrometerRoutePolicyTest extends MicrometerRoutePolicyTest 
{
 
@@ -29,6 +32,15 @@ public class LegacyMicrometerRoutePolicyTest extends 
MicrometerRoutePolicyTest {
 
 @Override
 protected String formatMetricName(String name) {
-return MicrometerUtils.legacyName(name);
+// use legacy name
+return "CamelRoutePolicy";
+}
+
+@Test
+public void testLegacyName() {
+Assertions.assertEquals("CamelRoutePolicy",
+
MicrometerUtils.legacyName(MicrometerConstants.DEFAULT_CAMEL_ROUTE_POLICY_METER_NAME));
+Assertions.assertEquals("CamelMessageHistory",
+
MicrometerUtils.legacyName(MicrometerConstants.DEFAULT_CAMEL_MESSAGE_HISTORY_METER_NAME));
 }
 }



Re: [PR] Generated sources regen for SBOM [camel-quarkus]

2023-10-22 Thread via GitHub


oscerd merged PR #5448:
URL: https://github.com/apache/camel-quarkus/pull/5448


-- 
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-kamelets] branch regen_bot_sbom updated (895ef65d -> 2daed8b9)

2023-10-22 Thread github-bot
This is an automated email from the ASF dual-hosted git repository.

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


from 895ef65d Updated CHANGELOG.md
 add 3a249936 Expose maxMessagesPerPoll in AWS S3 Source Kamelet (#1692)
 add 135a6313 Upgrade to Camel 4.1.0 (#1694)
 add 92f6e371 Updated CHANGELOG.md
 add 5f9c87ad Upgrade tests and doc to Camel 4.1.0 (#1695)
 add ddc23c1f Updated CHANGELOG.md
 add 8465717f Create a Specialized Kamelet starting from Kafka Source using 
Azure Schema Registry - Added the Credential bean
 add 86bed97d Create a Specialized Kamelet starting from Kafka Source using 
Azure Schema Registry - Added Kamelet
 add 04d138e8 Create a Specialized Kamelet starting from Kafka Source using 
Azure Schema Registry - Added Kamelet
 add e6d1e998 Create a Specialized Kamelet starting from Kafka Source using 
Azure Schema Registry - Added Kamelet
 add cff1988d Create a Specialized Kamelet starting from Kafka Source using 
Azure Schema Registry - Added Kamelet
 add cf19379d Create a Specialized Kamelet starting from Kafka Source using 
Azure Schema Registry - Added Kamelet
 add b7673180 Create a Specialized Kamelet starting from Kafka Source using 
Azure Schema Registry - Added Kamelet
 add ea7e5eec Create a Specialized Kamelet starting from Kafka Source using 
Azure Schema Registry - Added Kamelet
 add 3b3207e7 Updated CHANGELOG.md
 add 13a8e0e4 Added Kafka Apicurio Registry Sink Kamelet (#1697)
 add 6e7a5862 Updated CHANGELOG.md
 add 2daed8b9 Regen SBOM from commit 
6e7a58623e340b767c72dcb962967208934df0b4

No new revisions were added by this update.

Summary of changes:
 CHANGELOG.md   |9 +
 camel-kamelets-sbom/camel-kamelets-sbom.json   | 2549 +--
 camel-kamelets-sbom/camel-kamelets-sbom.xml| 2587 ++--
 docs/antora.yml|2 +-
 docs/modules/ROOT/nav.adoc |2 +
 kamelets/aws-s3-source.kamelet.yaml|6 +
 ...picurio-registry-not-secured-sink.kamelet.yaml} |   41 +-
 ...kafka-azure-schema-registry-source.kamelet.yaml |   54 +-
 .../kamelets/catalog/KameletsCatalogTest.java  |4 +-
 .../registry/DefaultAzureCredentialWrapper.java}   |   26 +-
 .../resources/kamelets/aws-s3-source.kamelet.yaml  |6 +
 ...apicurio-registry-not-secured-sink.kamelet.yaml |   41 +-
 ...afka-azure-schema-registry-source.kamelet.yaml} |   54 +-
 pom.xml|4 +-
 script/validator/validator.go  |2 +-
 test/Makefile  |2 +-
 16 files changed, 2742 insertions(+), 2647 deletions(-)
 copy kamelets/{kafka-not-secured-sink.kamelet.yaml => 
kafka-apicurio-registry-not-secured-sink.kamelet.yaml} (82%)
 copy 
library/camel-kamelets/src/main/resources/kamelets/kafka-source.kamelet.yaml => 
kamelets/kafka-azure-schema-registry-source.kamelet.yaml (81%)
 copy 
library/camel-kamelets-utils/src/main/java/org/apache/camel/kamelets/utils/{transform/kafka/ManualCommit.java
 => kafka/registry/DefaultAzureCredentialWrapper.java} (54%)
 copy kamelets/kafka-not-secured-sink.kamelet.yaml => 
library/camel-kamelets/src/main/resources/kamelets/kafka-apicurio-registry-not-secured-sink.kamelet.yaml
 (82%)
 copy 
library/camel-kamelets/src/main/resources/kamelets/{kafka-source.kamelet.yaml 
=> kafka-azure-schema-registry-source.kamelet.yaml} (81%)



[PR] Generated sources regen for SBOM [camel-kamelets]

2023-10-22 Thread via GitHub


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

   Regen bot :robot: found some uncommitted changes after running build on 
:camel-kamelets: `main` branch for generating SBOMs.
   Please do not delete `regen_bot_sbom` 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



[camel-quarkus] branch regen_bot_sbom updated (659beb41b4 -> b96b923748)

2023-10-22 Thread github-bot
This is an automated email from the ASF dual-hosted git repository.

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


omit 659beb41b4 Regen SBOM from commit 
7dba0e3628b0dd4112e5e38d807d77564c1cd629
 add f73e6e7abf Regen SBOM from commit 
7dba0e3628b0dd4112e5e38d807d77564c1cd629 (#5428)
 add 51461900c9 Add gRPC codegen protoc support for ppc64le architecture
 add e95d9ddfea Support user TypeConverter as CDI beans
 add b3691d5a82 Ftp fails in the FIPS because of the not supported key.
 add 261a489c80 Fix #5437 to avoid FastCamelContext creating TypeConverter
 add d59a5da8e6 Upgrade Quarkus to 3.5.0
 add 2c1def0a92 Disable groovy-dsl native profile due to #5441
 add ff9a4c9d00 Disable CxfSoapMtomAwtIT due to #5442
 add 3e1c6eb1d6 Disable SimpleIT.simpleExchangeMethods due to #5444
 add 1e31563598 Disable DebugTest on Windows due to #5443
 add 3e79480bee Next is 3.6.0-SNAPSHOT
 add e4bbd1ac98 Update Maven wrapper distribution URL to Maven 3.9.5
 add b96b923748 Regen SBOM from commit 
e4bbd1ac980c0684714567ac703ae424f796bc1a

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   (659beb41b4)
\
 N -- N -- N   refs/heads/regen_bot_sbom (b96b923748)

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:
 .mvn/wrapper/maven-wrapper.properties  | 2 +-
 camel-quarkus-sbom/camel-quarkus-sbom.json | 27264 +-
 camel-quarkus-sbom/camel-quarkus-sbom.xml  | 28460 ++-
 catalog/pom.xml| 2 +-
 docs/antora.yml| 4 +-
 docs/pom.xml   | 2 +-
 extensions-core/core-cloud/deployment/pom.xml  | 2 +-
 extensions-core/core-cloud/pom.xml | 2 +-
 extensions-core/core-cloud/runtime/pom.xml | 2 +-
 extensions-core/core/deployment/pom.xml| 2 +-
 .../quarkus/core/deployment/CamelProcessor.java|13 +-
 ...est.java => CamelTypeConverterCdiBeanTest.java} |80 +-
 .../runtime/CamelTypeConverterSimpleBeanTest.java  |79 +-
 extensions-core/core/pom.xml   | 2 +-
 extensions-core/core/runtime/pom.xml   | 2 +-
 .../camel/quarkus/core/CamelContextRecorder.java   |10 +-
 .../camel/quarkus/core/FastCamelContext.java   | 5 +
 .../quarkus/core/FastTypeConverterInjector.java|61 +
 extensions-core/http-common/deployment/pom.xml | 2 +-
 extensions-core/http-common/pom.xml| 2 +-
 extensions-core/http-common/runtime/pom.xml| 2 +-
 extensions-core/pom.xml| 2 +-
 .../reactive-executor/deployment/pom.xml   | 2 +-
 extensions-core/reactive-executor/pom.xml  | 2 +-
 extensions-core/reactive-executor/runtime/pom.xml  | 2 +-
 .../threadpoolfactory-vertx/deployment/pom.xml | 2 +-
 extensions-core/threadpoolfactory-vertx/pom.xml| 2 +-
 .../threadpoolfactory-vertx/runtime/pom.xml| 2 +-
 extensions-core/xml-io-dsl/deployment/pom.xml  | 2 +-
 extensions-core/xml-io-dsl/pom.xml | 2 +-
 extensions-core/xml-io-dsl/runtime/pom.xml | 2 +-
 extensions-core/xml-jaxb/deployment/pom.xml| 2 +-
 extensions-core/xml-jaxb/pom.xml   | 2 +-
 extensions-core/xml-jaxb/runtime/pom.xml   | 2 +-
 extensions-core/xml-jaxp/deployment/pom.xml| 2 +-
 extensions-core/xml-jaxp/pom.xml   | 2 +-
 extensions-core/xml-jaxp/runtime/pom.xml   | 2 +-
 extensions-core/yaml-dsl/deployment/pom.xml| 2 +-
 extensions-core/yaml-dsl/pom.xml   | 2 +-
 extensions-core/yaml-dsl/runtime/pom.xml   | 2 +-
 extensions-core/yaml-io/deployment/pom.xml | 2 +-
 extensions-core/yaml-io/pom.xml| 2 +-
 extensions-core/yaml-io/runtime/pom.xml| 2 +-
 extensions-jvm/asn1/deployment/pom.xml | 2 +-
 extensions-jvm/asn1/pom.xml| 2 +-
 extensions-jvm/asn1/runtime/pom.xml| 2 +-
 extensions-jvm/asterisk/deployment/pom.xml | 2 +-
 extensions-jvm/asterisk/pom.xml| 2 +-
 

[PR] Generated sources regen for SBOM [camel-quarkus]

2023-10-22 Thread via GitHub


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

   Regen bot :robot: found some uncommitted changes after running build on 
:camel-quarkus: `main` branch for generating SBOMs.
   Please do not delete `regen_bot_sbom` 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



Re: [PR] CAMEL-19907: camel-micrometer - Add option to use old legacy naming s… [camel]

2023-10-22 Thread via GitHub


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

   :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] CAMEL-19907: camel-micrometer - Add option to use old legacy naming s… [camel]

2023-10-22 Thread via GitHub


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

   …tyle, that allows users that migrate to keep using old name as changing 
their monitoring systems can be harder.
   
   # 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 m-oldname created (now 1cb1a3d8061)

2023-10-22 Thread davsclaus
This is an automated email from the ASF dual-hosted git repository.

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


  at 1cb1a3d8061 CAMEL-19907: camel-micrometer - Add option to use old 
legacy naming style, that allows users that migrate to keep using old name as 
changing their monitoring systems can be harder.

This branch includes the following new commits:

 new 1cb1a3d8061 CAMEL-19907: camel-micrometer - Add option to use old 
legacy naming style, that allows users that migrate to keep using old name as 
changing their monitoring systems can be harder.

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




[camel] 01/01: CAMEL-19907: camel-micrometer - Add option to use old legacy naming style, that allows users that migrate to keep using old name as changing their monitoring systems can be harder.

2023-10-22 Thread davsclaus
This is an automated email from the ASF dual-hosted git repository.

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

commit 1cb1a3d806105964deca1e753e867ea229d6c015
Author: Claus Ibsen 
AuthorDate: Sun Oct 22 10:52:35 2023 +0200

CAMEL-19907: camel-micrometer - Add option to use old legacy naming style, 
that allows users that migrate to keep using old name as changing their 
monitoring systems can be harder.
---
 .../src/main/docs/micrometer-component.adoc| 21 +
 .../component/micrometer/MicrometerUtils.java  | 14 -
 ...rometerExchangeEventNotifierNamingStrategy.java | 20 -
 ...MicrometerRouteEventNotifierNamingStrategy.java | 29 ++
 .../MicrometerMessageHistoryNamingStrategy.java| 19 
 .../MicrometerRoutePolicyNamingStrategy.java   | 35 ++
 .../MicrometerExchangeEventNotifierTest.java   |  4 +--
 .../AbstractMicrometerRoutePolicyTest.java |  4 +++
 .../LegacyMicrometerRoutePolicyTest.java   | 34 +
 .../routepolicy/MicrometerRoutePolicyTest.java |  6 ++--
 10 files changed, 174 insertions(+), 12 deletions(-)

diff --git 
a/components/camel-micrometer/src/main/docs/micrometer-component.adoc 
b/components/camel-micrometer/src/main/docs/micrometer-component.adoc
index 70284236a27..dc5f0bc930c 100644
--- a/components/camel-micrometer/src/main/docs/micrometer-component.adoc
+++ b/components/camel-micrometer/src/main/docs/micrometer-component.adoc
@@ -96,6 +96,27 @@ Some Camel specific metrics are available out of the box.
 |camel.route.policy.long.task |gauge + summary |Route long task metric
 |=
 
+=== Using legacy metrics naming
+
+In Camel 3.20 or older, then the naming of metrics are using _camelCase_ style.
+However, since Camel 3.21 onwards, the naming is using micrometer convention 
style (see table above).
+
+To use the legacy naming, then you can use the `LEGACY` naming from the 
`xxxNamingStrategy` interfaces.
+
+For example:
+
+[source,java]
+
+MicrometerRoutePolicyFactory factory = new MicrometerRoutePolicyFactory();
+factory.setNamingStrategy(MicrometerRoutePolicyNamingStrategy.LEGACY);
+
+
+The naming style can be configured on:
+
+- `MicrometerRoutePolicyFactory`
+- `MicrometerExchangeEventNotifier`
+- `MicrometerRouteEventNotifier`
+- `MicrometerMessageHistoryFactory`
 
 
 == Usage of producers
diff --git 
a/components/camel-micrometer/src/main/java/org/apache/camel/component/micrometer/MicrometerUtils.java
 
b/components/camel-micrometer/src/main/java/org/apache/camel/component/micrometer/MicrometerUtils.java
index 3a43725818b..002a67e55d8 100644
--- 
a/components/camel-micrometer/src/main/java/org/apache/camel/component/micrometer/MicrometerUtils.java
+++ 
b/components/camel-micrometer/src/main/java/org/apache/camel/component/micrometer/MicrometerUtils.java
@@ -24,6 +24,7 @@ import 
io.micrometer.core.instrument.composite.CompositeMeterRegistry;
 import io.micrometer.core.instrument.simple.SimpleMeterRegistry;
 import org.apache.camel.RuntimeCamelException;
 import org.apache.camel.spi.Registry;
+import org.apache.camel.util.StringHelper;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
@@ -32,7 +33,6 @@ public final class MicrometerUtils {
 private static final Logger LOG = 
LoggerFactory.getLogger(MicrometerUtils.class);
 
 private MicrometerUtils() {
-
 }
 
 public static Meter.Type getByName(String meterName) {
@@ -88,6 +88,18 @@ public final class MicrometerUtils {
 return new SimpleMeterRegistry();
 }
 
+/**
+ * Converts the name to the legacy name
+ *
+ * @param  name the name
+ * @return  in legacy format (camelCase)
+ */
+public static String legacyName(String name) {
+// "camel.route.policy" -> "camelRoutePolicy"
+name = name.replace('.', '-');
+return StringHelper.dashToCamelCase(name);
+}
+
 private static MeterRegistry getMeterRegistryFromCamelRegistry(
 Registry camelRegistry, String registryName,
 Class registryType) {
diff --git 
a/components/camel-micrometer/src/main/java/org/apache/camel/component/micrometer/eventnotifier/MicrometerExchangeEventNotifierNamingStrategy.java
 
b/components/camel-micrometer/src/main/java/org/apache/camel/component/micrometer/eventnotifier/MicrometerExchangeEventNotifierNamingStrategy.java
index c7f935a9569..fdaa1c91053 100644
--- 
a/components/camel-micrometer/src/main/java/org/apache/camel/component/micrometer/eventnotifier/MicrometerExchangeEventNotifierNamingStrategy.java
+++ 
b/components/camel-micrometer/src/main/java/org/apache/camel/component/micrometer/eventnotifier/MicrometerExchangeEventNotifierNamingStrategy.java
@@ -37,12 +37,30 @@ public interface 
MicrometerExchangeEventNotifierNamingStrategy {
 
 Predicate EVENT_NOTIFIERS
 = 

Re: [PR] Generated sources regen [camel]

2023-10-22 Thread via GitHub


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


-- 
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] Generated sources regen [camel]

2023-10-22 Thread via GitHub


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

   Regen bot :robot: found some uncommitted changes after running build on 
:camel: `main` branch.
   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



[camel] branch regen_bot updated (c8f27cc57f1 -> 40dd8431539)

2023-10-22 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 c8f27cc57f1 CAMEL-20001: camel-core - PropertiesParser should have a 
hook in a different phase that Spring Boot uses. This ensures that override 
properties from Camel will take precedence.
 add 1be88f523f4 Regen
 add 0c644ddfa50 CAMEL-20024: Exclude camel-coremodel app/* in 
camel-spring-xml schema
 add 40dd8431539 Regen for commit 0c644ddfa5072bcee797152c70e2ed5ff5132d38

No new revisions were added by this update.

Summary of changes:
 .../apache/camel/catalog/schemas/camel-spring.xsd  | 3501 ++--
 components/camel-spring-xml/pom.xml|2 +-
 2 files changed, 1730 insertions(+), 1773 deletions(-)



[camel] 02/02: CAMEL-20024: Exclude camel-coremodel app/* in camel-spring-xml schema

2023-10-22 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 0c644ddfa5072bcee797152c70e2ed5ff5132d38
Author: Claus Ibsen 
AuthorDate: Sun Oct 22 09:42:43 2023 +0200

CAMEL-20024: Exclude camel-coremodel app/* in camel-spring-xml schema
---
 components/camel-spring-xml/pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/camel-spring-xml/pom.xml 
b/components/camel-spring-xml/pom.xml
index 6a056b41e53..5ebe65a4016 100644
--- a/components/camel-spring-xml/pom.xml
+++ b/components/camel-spring-xml/pom.xml
@@ -323,7 +323,7 @@
 sources
 true
 **/*
-**/*Configurer.java
+
**/app/*,**/*Configurer.java
 
target/sources/camel-core-model
 
 



[camel] 01/02: Regen

2023-10-22 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 1be88f523f4e65dc555a96b9a5d3f7c212d90b58
Author: Claus Ibsen 
AuthorDate: Sun Oct 22 09:39:13 2023 +0200

Regen
---
 .../apache/camel/catalog/schemas/camel-spring.xsd  | 52 +++---
 1 file changed, 46 insertions(+), 6 deletions(-)

diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd
index 50efc8aa176..8b8aba708c5 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd
@@ -75,7 +75,7 @@ Configures batch-processing resequence eip.
 
   
 
   
 
@@ -1143,7 +1143,7 @@ Properties to use with properties placeholder
 
   
 
   
 
@@ -3852,10 +3852,50 @@ Enables random backoff. Default value: false
 
   
 
-
-
-
-
+
+  
+
+
+
+  
+
+
+  
+
+
+
+  
+
+
+  
+
+
+
+  
+
+
+  
+
+
+
+  
+
   
 
   



[camel] branch main updated (c8f27cc57f1 -> 0c644ddfa50)

2023-10-22 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 c8f27cc57f1 CAMEL-20001: camel-core - PropertiesParser should have a 
hook in a different phase that Spring Boot uses. This ensures that override 
properties from Camel will take precedence.
 new 1be88f523f4 Regen
 new 0c644ddfa50 CAMEL-20024: Exclude camel-coremodel app/* in 
camel-spring-xml schema

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:
 .../apache/camel/catalog/schemas/camel-spring.xsd  | 52 +++---
 components/camel-spring-xml/pom.xml|  2 +-
 2 files changed, 47 insertions(+), 7 deletions(-)