Re: [PR] (chores) camel-core: remove unnecessary volatile [camel]

2023-10-18 Thread via GitHub


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

   :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] (chores) camel-core: remove unnecessary volatile [camel]

2023-10-18 Thread via GitHub


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

   Volatile only guarantees visibility, but not atomicity. This could mislead 
maintainers into thinking it's thread-safe when it's not.
   
   This aligns this variable with the rest of the other member variables in 
this class.


-- 
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 (03369ce25e7 -> 50ec2d6a150)

2023-10-18 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 03369ce25e7 CAMEL-20010 (#11759)
 add 50ec2d6a150 (chores) camel-core: reduce method size to force inlining

No new revisions were added by this update.

Summary of changes:
 .../camel/impl/engine/CamelInternalProcessor.java  | 151 -
 .../camel/impl/engine/DefaultReactiveExecutor.java |  88 +++-
 .../impl/engine/DefaultStreamCachingStrategy.java  |  58 
 .../impl/engine/SharedCamelInternalProcessor.java  | 116 +---
 .../camel/impl/engine/StreamCachingHelper.java |  27 ++--
 .../errorhandler/RedeliveryErrorHandler.java   |  60 
 .../camel/main/MainDurationEventNotifier.java  |  66 +
 .../org/apache/camel/support/ExchangeHelper.java   |  83 ++-
 .../org/apache/camel/support/MessageSupport.java   |  11 +-
 .../org/apache/camel/support/UnitOfWorkHelper.java |  27 ++--
 10 files changed, 396 insertions(+), 291 deletions(-)



Re: [PR] (chores) camel-main: cleanup shutdown action check [camel]

2023-10-18 Thread via GitHub


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

   :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] (chores) camel-main: cleanup shutdown action check [camel]

2023-10-18 Thread via GitHub


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

   (no comment)


-- 
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] (chores) camel-core: minor cleanup in the RedeliveryErrorHandler [camel]

2023-10-18 Thread via GitHub


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

   :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] (chores) camel-core: minor cleanup in the RedeliveryErrorHandler [camel]

2023-10-18 Thread via GitHub


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

   - Remove unnecessary variables
   - Use final when possible
   - Consolidate code


-- 
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] (chores) camel-disruptor: reduce method size [camel]

2023-10-18 Thread via GitHub


orpiske merged PR #11761:
URL: https://github.com/apache/camel/pull/11761


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

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

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



[camel] branch main updated: (chores) camel-disruptor: reduce method size

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

orpiske 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 7978344cc84 (chores) camel-disruptor: reduce method size
7978344cc84 is described below

commit 7978344cc8417cf6e5116b3a4527338212dfcd80
Author: Otavio Rodolfo Piske 
AuthorDate: Wed Oct 18 16:45:22 2023 +0200

(chores) camel-disruptor: reduce method size

This should help profilers to provide better reports and help JVM to inline 
methods when possible
---
 .../component/disruptor/DisruptorConsumer.java | 41 ++-
 .../component/disruptor/DisruptorProducer.java | 79 +++---
 2 files changed, 65 insertions(+), 55 deletions(-)

diff --git 
a/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/DisruptorConsumer.java
 
b/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/DisruptorConsumer.java
index 1a8b1128b86..601789d2593 100644
--- 
a/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/DisruptorConsumer.java
+++ 
b/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/DisruptorConsumer.java
@@ -162,31 +162,38 @@ public class DisruptorConsumer extends ServiceSupport 
implements Consumer, Suspe
 // (see 
org.apache.camel.processor.CamelInternalProcessor.InternalCallback#done).
 // To solve this problem, a new synchronization is set on the 
exchange that is to be
 // processed
-result.getExchangeExtension().addOnCompletion(new 
Synchronization() {
-@Override
-public void onComplete(Exchange exchange) {
-synchronizedExchange.consumed(result);
-}
-
-@Override
-public void onFailure(Exchange exchange) {
-synchronizedExchange.consumed(result);
-}
-});
+
result.getExchangeExtension().addOnCompletion(newSynchronization(synchronizedExchange,
 result));
 
 // As the necessary post-processing of the exchange is done by the 
registered Synchronization,
 // we can suffice with a no-op AsyncCallback
 processor.process(result, NOOP_ASYNC_CALLBACK);
 
 } catch (Exception e) {
-Exchange exchange = synchronizedExchange.getExchange();
+handleException(synchronizedExchange, e);
+}
+}
+
+private static Synchronization newSynchronization(SynchronizedExchange 
synchronizedExchange, Exchange result) {
+return new Synchronization() {
+@Override
+public void onComplete(Exchange exchange) {
+synchronizedExchange.consumed(result);
+}
 
-if (exchange != null) {
-getExceptionHandler().handleException("Error processing 
exchange",
-exchange, e);
-} else {
-getExceptionHandler().handleException(e);
+@Override
+public void onFailure(Exchange exchange) {
+synchronizedExchange.consumed(result);
 }
+};
+}
+
+private void handleException(SynchronizedExchange synchronizedExchange, 
Exception e) {
+Exchange exchange = synchronizedExchange.getExchange();
+
+if (exchange != null) {
+getExceptionHandler().handleException("Error processing exchange", 
exchange, e);
+} else {
+getExceptionHandler().handleException(e);
 }
 }
 
diff --git 
a/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/DisruptorProducer.java
 
b/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/DisruptorProducer.java
index 49a41a59132..220e9b86ab6 100644
--- 
a/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/DisruptorProducer.java
+++ 
b/components/camel-disruptor/src/main/java/org/apache/camel/component/disruptor/DisruptorProducer.java
@@ -43,9 +43,10 @@ public class DisruptorProducer extends DefaultAsyncProducer {
 private final DisruptorEndpoint endpoint;
 private boolean blockWhenFull;
 
-public DisruptorProducer(final DisruptorEndpoint endpoint,
- final WaitForTaskToComplete waitForTaskToComplete,
- final long timeout, boolean blockWhenFull) {
+public DisruptorProducer(
+final DisruptorEndpoint endpoint,
+final WaitForTaskToComplete waitForTaskToComplete,
+final long timeout, boolean blockWhenFull) {
 super(endpoint);
 this.waitForTaskToComplete = waitForTaskToComplete;
 this.timeout = timeout;
@@ -85,41 +86,7 @@ public class DisruptorProducer extends DefaultAsyncProducer {
 final CountDownLatch latch = new 

Re: [PR] (chores) camel-core: reduce method size to force inlining [camel]

2023-10-18 Thread via GitHub


orpiske commented on PR #11760:
URL: https://github.com/apache/camel/pull/11760#issuecomment-1769989176

   Looking good on CI. Ready to merge.


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

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

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



[camel] branch main updated: (chores) camel-core: reduce method size to force inlining

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

orpiske 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 50ec2d6a150 (chores) camel-core: reduce method size to force inlining
50ec2d6a150 is described below

commit 50ec2d6a150d26868719edde03a5cc35c30e1556
Author: Otavio Rodolfo Piske 
AuthorDate: Tue Oct 17 18:46:23 2023 +0200

(chores) camel-core: reduce method size to force inlining

Reduce the size of a few hot methods, so that their byte code size is 
smaller than 325 bytes, to increase the chance that the JVM will inline them 
when possible.
---
 .../camel/impl/engine/CamelInternalProcessor.java  | 151 -
 .../camel/impl/engine/DefaultReactiveExecutor.java |  88 +++-
 .../impl/engine/DefaultStreamCachingStrategy.java  |  58 
 .../impl/engine/SharedCamelInternalProcessor.java  | 116 +---
 .../camel/impl/engine/StreamCachingHelper.java |  27 ++--
 .../errorhandler/RedeliveryErrorHandler.java   |  60 
 .../camel/main/MainDurationEventNotifier.java  |  66 +
 .../org/apache/camel/support/ExchangeHelper.java   |  83 ++-
 .../org/apache/camel/support/MessageSupport.java   |  11 +-
 .../org/apache/camel/support/UnitOfWorkHelper.java |  27 ++--
 10 files changed, 396 insertions(+), 291 deletions(-)

diff --git 
a/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/CamelInternalProcessor.java
 
b/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/CamelInternalProcessor.java
index af24a796b0f..e343e51536e 100644
--- 
a/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/CamelInternalProcessor.java
+++ 
b/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/CamelInternalProcessor.java
@@ -285,7 +285,7 @@ public class CamelInternalProcessor extends 
DelegateAsyncProcessor implements In
 // in between the:
 //   CAMEL END USER - DEBUG ME HERE +++ START +++
 //   CAMEL END USER - DEBUG ME HERE +++ END +++
-// you can see in the code below.
+// you can see in the code below within the processTransacted or 
processNonTransacted methods.
 // --
 
 if (processor == null || exchange.isRouteStop()) {
@@ -295,15 +295,7 @@ public class CamelInternalProcessor extends 
DelegateAsyncProcessor implements In
 }
 
 if (shutdownStrategy.isForceShutdown()) {
-String msg = "Run not allowed as ShutdownStrategy is forcing 
shutting down, will reject executing exchange: "
- + exchange;
-LOG.debug(msg);
-if (exchange.getException() == null) {
-exchange.setException(new RejectedExecutionException(msg));
-}
-// force shutdown so we should not continue
-originalCallback.done(true);
-return true;
+return processShutdown(exchange, originalCallback);
 }
 
 Object[] states;
@@ -328,76 +320,104 @@ public class CamelInternalProcessor extends 
DelegateAsyncProcessor implements In
 states[j++] = state;
 }
 } catch (Exception e) {
-// error in before so break out
-exchange.setException(e);
-try {
-originalCallback.done(true);
-} finally {
-// task is done so reset
-if (taskFactory != null) {
-taskFactory.release(afterTask);
-}
-}
-return true;
+return handleException(exchange, originalCallback, e, 
afterTask);
 }
 }
 
 if (exchange.isTransacted()) {
-// must be synchronized for transacted exchanges
-if (LOG.isTraceEnabled()) {
-LOG.trace("Transacted Exchange must be routed synchronously 
for exchangeId: {} -> {}", exchange.getExchangeId(),
-exchange);
-}
-try {
-// --
-// CAMEL END USER - DEBUG ME HERE +++ START +++
-// --
-processor.process(exchange);
-// --
-// CAMEL END USER - DEBUG ME HERE +++ END +++
-// --
-} catch (Exception e) {
-exchange.setException(e);
-} finally {
-// processing is done
-afterTask.done(true);
-}
-// we are done synchronously - must return true
-

Re: [PR] (chores) camel-core: reduce method size to force inlining [camel]

2023-10-18 Thread via GitHub


orpiske merged PR #11760:
URL: https://github.com/apache/camel/pull/11760


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

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

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



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

2023-10-18 Thread via GitHub


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

   The 
[quarkus-main](https://github.com/apache/camel-quarkus/tree/quarkus-main) 
branch build has failed:
   
   * Build ID: 6568955162-1274-6fe0898f-1e3a-462f-a399-279523f35d5e
   * Camel Quarkus Commit: aa7043ef1e79c75e50f6a3065ca65049a3d0320f
   
   * Quarkus Main Commit: 261a489c80154ca6e24ca5aa64d40cfece0374db
   * Link to build: 
https://github.com/apache/camel-quarkus/actions/runs/6568955162


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

2023-10-18 Thread via GitHub


oscerd closed pull request #976: [Github Actions] Periodic Sync Camel Spring 
Boot (Camel 4)
URL: https://github.com/apache/camel-spring-boot/pull/976


-- 
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-18 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 ddc23c1f Updated CHANGELOG.md
ddc23c1f is described below

commit ddc23c1f1efbf482f7e911ea99bcf89eb0f34276
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Thu Oct 19 03:07:36 2023 +

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

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 7becb52c..a78a64c1 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -16,6 +16,7 @@
 
 **Merged pull requests:**
 
+- Upgrade tests and doc to Camel 4.1.0 
[\#1695](https://github.com/apache/camel-kamelets/pull/1695) 
([apupier](https://github.com/apupier))
 - Upgrade to Camel 4.1.0 
[\#1694](https://github.com/apache/camel-kamelets/pull/1694) 
([oscerd](https://github.com/oscerd))
 - Expose maxMessagesPerPoll in AWS S3 Source Kamelet 
[\#1692](https://github.com/apache/camel-kamelets/pull/1692) 
([oscerd](https://github.com/oscerd))
 - Bump golang.org/x/net from 0.12.0 to 0.17.0 in /script/validator 
[\#1686](https://github.com/apache/camel-kamelets/pull/1686) 
([dependabot[bot]](https://github.com/apps/dependabot))



Re: [PR] CAMEL-8306: Add support for wildcards to match on prefix [camel]

2023-10-18 Thread via GitHub


TUCJVXCB commented on PR #11638:
URL: https://github.com/apache/camel/pull/11638#issuecomment-1769794368

   > Something is misisng in camel-platform-http I think it would also need 
this register/unregister. And did you remove some tests by mistake ?
   
   The platform-http will use existing HTTP server to handle http request, so 
the routing match strategy involves using the existing HTTP server.


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

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

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



[camel-k] 02/02: chore: nightly SBOM update

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

commit e8438b576269f61bb88f444a05f6ddfc071732a0
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Thu Oct 19 01:34:07 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 2a4f223ed..a4a875368 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:e9c3fd64-8ba8-4aa4-8661-122e064a07b5",
+  "serialNumber": "urn:uuid:5d46cd6e-53d0-438c-85a1-c4840a252301",
   "version": 1,
   "metadata": {
-"timestamp": "2023-10-18T01:30:03Z",
+"timestamp": "2023-10-19T01:34:07Z",
 "tools": [
   {
 "vendor": "CycloneDX",
@@ -46,11 +46,11 @@
   }
 ],
 "component": {
-  "bom-ref": 
"pkg:golang/github.com/apache/camel-k/v2@v0.0.0-20231018012448-bc35116b0bb7?type=module",
+  "bom-ref": 
"pkg:golang/github.com/apache/camel-k/v2@v0.0.0-20231019013335-e9ca4ff40bab?type=module",
   "type": "application",
   "name": "github.com/apache/camel-k/v2",
-  "version": "v0.0.0-20231018012448-bc35116b0bb7",
-  "purl": 
"pkg:golang/github.com/apache/camel-k/v2@v0.0.0-20231018012448-bc35116b0bb7?type=module\u0026goos=linux\u0026goarch=amd64",
+  "version": "v0.0.0-20231019013335-e9ca4ff40bab",
+  "purl": 
"pkg:golang/github.com/apache/camel-k/v2@v0.0.0-20231019013335-e9ca4ff40bab?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-20231018012448-bc35116b0bb7?type=module",
+  "ref": 
"pkg:golang/github.com/apache/camel-k/v2@v0.0.0-20231019013335-e9ca4ff40bab?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 release-2.0.x updated (16cc9e95a -> e8438b576)

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

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


from 16cc9e95a chore: fixed lint errors.
 new e9ca4ff40 chore: autogenerated project resource update
 new e8438b576 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:
 camel-k-sbom/camel-k-sbom.json |  12 +-
 config/crd/bases/camel.apache.org_builds.yaml  | 176 +++
 .../crd/bases/camel.apache.org_camelcatalogs.yaml  |  98 ++--
 .../bases/camel.apache.org_integrationkits.yaml|  56 +-
 .../camel.apache.org_integrationplatforms.yaml | 206 
 .../crd/bases/camel.apache.org_integrations.yaml   | 204 
 .../bases/camel.apache.org_kameletbindings.yaml| 208 
 config/crd/bases/camel.apache.org_kamelets.yaml| 166 +++---
 config/crd/bases/camel.apache.org_pipes.yaml   | 170 +++---
 docs/modules/ROOT/partials/apis/camel-k-crds.adoc  | 578 ++---
 docs/modules/ROOT/partials/apis/kamelets-crds.adoc | 116 ++---
 helm/camel-k/crds/crd-build.yaml   | 176 +++
 helm/camel-k/crds/crd-camel-catalog.yaml   |  98 ++--
 helm/camel-k/crds/crd-integration-kit.yaml |  56 +-
 helm/camel-k/crds/crd-integration-platform.yaml| 206 
 helm/camel-k/crds/crd-integration.yaml | 204 
 helm/camel-k/crds/crd-kamelet-binding.yaml | 208 
 helm/camel-k/crds/crd-kamelet.yaml | 166 +++---
 helm/camel-k/crds/crd-pipe.yaml| 170 +++---
 pkg/resources/resources.go |  32 +-
 20 files changed, 1655 insertions(+), 1651 deletions(-)



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

2023-10-18 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 f022a5c43 chore: nightly SBOM update
f022a5c43 is described below

commit f022a5c43ef2d70b1fcb02e1d3e87e38e9973311
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Thu Oct 19 00:41:03 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 4cc11c926..ae30eac30 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:08de73b6-d577-4503-9f3c-1bd76eee5cc3",
+  "serialNumber": "urn:uuid:8d467602-7758-4e81-9469-f0388dd3bc77",
   "version": 1,
   "metadata": {
-"timestamp": "2023-10-18T00:39:54Z",
+"timestamp": "2023-10-19T00:41:03Z",
 "tools": [
   {
 "vendor": "CycloneDX",
@@ -46,11 +46,11 @@
   }
 ],
 "component": {
-  "bom-ref": 
"pkg:golang/github.com/apache/camel-k/v2@v0.0.0-20231018003435-4dd0bc41db03?type=module",
+  "bom-ref": 
"pkg:golang/github.com/apache/camel-k/v2@v0.0.0-20231018003954-c5af84953b4e?type=module",
   "type": "application",
   "name": "github.com/apache/camel-k/v2",
-  "version": "v0.0.0-20231018003435-4dd0bc41db03",
-  "purl": 
"pkg:golang/github.com/apache/camel-k/v2@v0.0.0-20231018003435-4dd0bc41db03?type=module\u0026goos=linux\u0026goarch=amd64",
+  "version": "v0.0.0-20231018003954-c5af84953b4e",
+  "purl": 
"pkg:golang/github.com/apache/camel-k/v2@v0.0.0-20231018003954-c5af84953b4e?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-20231018003435-4dd0bc41db03?type=module",
+  "ref": 
"pkg:golang/github.com/apache/camel-k/v2@v0.0.0-20231018003954-c5af84953b4e?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",



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

2023-10-18 Thread via GitHub


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

   Periodic Sync of Camel Spring Boot Main Branch with main Camel Main.
   see 
https://github.com/apache/camel-spring-boot/blob/main/.github/workflows/automatic-sync-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-k] 03/03: chore: nightly SBOM update

2023-10-18 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 6461a63d4ce6dac966622fb2a83746dafdc98084
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Wed Oct 18 23:49:36 2023 +

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

diff --git a/camel-k-sbom/camel-k-sbom.json b/camel-k-sbom/camel-k-sbom.json
index 981ecdfda..1a655522c 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:609da321-5a71-45ad-b00c-4c28dd40ffdd",
+  "serialNumber": "urn:uuid:039287ac-bf5f-4e0b-9c87-ca91d15257e0",
   "version": 1,
   "metadata": {
-"timestamp": "2023-10-17T23:49:25Z",
+"timestamp": "2023-10-18T23:49:36Z",
 "tools": [
   {
 "vendor": "CycloneDX",
@@ -46,11 +46,11 @@
   }
 ],
 "component": {
-  "bom-ref": 
"pkg:golang/github.com/apache/camel-k/v2@v0.0.0-20231017234424-4aaa110701ac?type=module",
+  "bom-ref": 
"pkg:golang/github.com/apache/camel-k/v2@v0.0.0-20231018234906-12a103200e63?type=module",
   "type": "application",
   "name": "github.com/apache/camel-k/v2",
-  "version": "v0.0.0-20231017234424-4aaa110701ac",
-  "purl": 
"pkg:golang/github.com/apache/camel-k/v2@v0.0.0-20231017234424-4aaa110701ac?type=module\u0026goos=linux\u0026goarch=amd64",
+  "version": "v0.0.0-20231018234906-12a103200e63",
+  "purl": 
"pkg:golang/github.com/apache/camel-k/v2@v0.0.0-20231018234906-12a103200e63?type=module\u0026goos=linux\u0026goarch=amd64",
   "externalReferences": [
 {
   "url": "https://github.com/apache/camel-k;,
@@ -3676,18 +3676,18 @@
   }
 },
 {
-  "bom-ref": "pkg:golang/knative.dev/eventing@v0.38.4?type=module",
+  "bom-ref": "pkg:golang/knative.dev/eventing@v0.38.5?type=module",
   "type": "library",
   "name": "knative.dev/eventing",
-  "version": "v0.38.4",
+  "version": "v0.38.5",
   "scope": "required",
   "hashes": [
 {
   "alg": "SHA-256",
-  "content": 
"787d39f5b7de2e2963db100de95ed75ce877c2acf3e6cb28312fc2209a497e69"
+  "content": 
"36f4b2de57a4f486cb2d6128b77e8dc807cdbfb56424d977f05d48b552f40fab"
 }
   ],
-  "purl": 
"pkg:golang/knative.dev/eventing@v0.38.4?type=module\u0026goos=linux\u0026goarch=amd64",
+  "purl": 
"pkg:golang/knative.dev/eventing@v0.38.5?type=module\u0026goos=linux\u0026goarch=amd64",
   "evidence": {
 "licenses": [
   {
@@ -3699,18 +3699,18 @@
   }
 },
 {
-  "bom-ref": 
"pkg:golang/knative.dev/networking@v0.0.0-20230718160410-75dcd54d9510?type=module",
+  "bom-ref": 
"pkg:golang/knative.dev/networking@v0.0.0-20231012062757-a5958051caf8?type=module",
   "type": "library",
   "name": "knative.dev/networking",
-  "version": "v0.0.0-20230718160410-75dcd54d9510",
+  "version": "v0.0.0-20231012062757-a5958051caf8",
   "scope": "required",
   "hashes": [
 {
   "alg": "SHA-256",
-  "content": 
"78d6d68c491bb468c2a8ae530784b40a34920dde0fbf25e6fb0edb33dff371ee"
+  "content": 
"a1931b0005f2883654628438a848cbeaec57acbd710557c4c90271f2c3f45c48"
 }
   ],
-  "purl": 
"pkg:golang/knative.dev/networking@v0.0.0-20230718160410-75dcd54d9510?type=module\u0026goos=linux\u0026goarch=amd64",
+  "purl": 
"pkg:golang/knative.dev/networking@v0.0.0-20231012062757-a5958051caf8?type=module\u0026goos=linux\u0026goarch=amd64",
   "evidence": {
 "licenses": [
   {
@@ -3722,18 +3722,18 @@
   }
 },
 {
-  "bom-ref": 
"pkg:golang/knative.dev/pkg@v0.0.0-20230718152110-aef227e72ead?type=module",
+  "bom-ref": 
"pkg:golang/knative.dev/pkg@v0.0.0-20231011193800-bd99f2f98be7?type=module",
   "type": "library",
   "name": "knative.dev/pkg",
-  "version": "v0.0.0-20230718152110-aef227e72ead",
+  "version": "v0.0.0-20231011193800-bd99f2f98be7",
   "scope": "required",
   "hashes": [
 {
   "alg": "SHA-256",
-  "content": 
"d9d0f3a2ba4ab95656dd0a7b4db8ab30cab5e856c877c7fa6da710157f235cbc"
+  "content": 
"cb7a9b7d85f54ae4abff5cac5ef29fa55f2afe40b058b5a27825200210541e64"
 }
   ],
-  "purl": 
"pkg:golang/knative.dev/pkg@v0.0.0-20230718152110-aef227e72ead?type=module\u0026goos=linux\u0026goarch=amd64",
+  "purl": 
"pkg:golang/knative.dev/pkg@v0.0.0-20231011193800-bd99f2f98be7?type=module\u0026goos=linux\u0026goarch=amd64",
   "evidence": {
 "licenses": [
   {
@@ -3745,18 +3745,18 @@
   }
 },
 {
-  "bom-ref": 

[camel-k] 02/03: chore: autogenerated project resource update

2023-10-18 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 12a103200e63ba3a6db1f0c0561db54432abe9d0
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Wed Oct 18 23:49:06 2023 +

chore: autogenerated project resource update
---
 config/crd/bases/camel.apache.org_kamelets.yaml   | 2 +-
 docs/antora.yml   | 2 +-
 docs/modules/ROOT/partials/apis/camel-k-crds.adoc | 1 -
 helm/camel-k/crds/crd-kamelet.yaml| 2 +-
 pkg/resources/resources.go| 4 ++--
 5 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/config/crd/bases/camel.apache.org_kamelets.yaml 
b/config/crd/bases/camel.apache.org_kamelets.yaml
index e398cfc13..6848d47c4 100644
--- a/config/crd/bases/camel.apache.org_kamelets.yaml
+++ b/config/crd/bases/camel.apache.org_kamelets.yaml
@@ -41,7 +41,7 @@ spec:
   - additionalPrinterColumns:
 - description: The Kamelet phase
   jsonPath: .status.phase
-  name: Phase
+  name: Type
   type: string
 name: v1
 schema:
diff --git a/docs/antora.yml b/docs/antora.yml
index e7f9ae4e2..e919db6fe 100644
--- a/docs/antora.yml
+++ b/docs/antora.yml
@@ -44,6 +44,6 @@ asciidoc:
 kustomize-version: 4.5.4
 kubernetes-api-version: 0.27.4
 operator-fwk-api-version: 0.17.7
-knative-api-version: 0.38.4
+knative-api-version: 0.38.5
 service-binding-op-version: 1.4.0
 prometheus-op-version: 0.67.1
diff --git a/docs/modules/ROOT/partials/apis/camel-k-crds.adoc 
b/docs/modules/ROOT/partials/apis/camel-k-crds.adoc
index ba32c10ef..ebcfe5f69 100644
--- a/docs/modules/ROOT/partials/apis/camel-k-crds.adoc
+++ b/docs/modules/ROOT/partials/apis/camel-k-crds.adoc
@@ -3749,7 +3749,6 @@ Camel dependencies needed by the Kamelet
 * <<#_camel_apache_org_v1_Kamelet, Kamelet>>
 
 KameletStatus defines the observed state of Kamelet.
-Required since we deprecated the parameter. Any external user can still expect 
a Ready status here.
 
 [cols="2,2a",options="header"]
 |===
diff --git a/helm/camel-k/crds/crd-kamelet.yaml 
b/helm/camel-k/crds/crd-kamelet.yaml
index e398cfc13..6848d47c4 100644
--- a/helm/camel-k/crds/crd-kamelet.yaml
+++ b/helm/camel-k/crds/crd-kamelet.yaml
@@ -41,7 +41,7 @@ spec:
   - additionalPrinterColumns:
 - description: The Kamelet phase
   jsonPath: .status.phase
-  name: Phase
+  name: Type
   type: string
 name: v1
 schema:
diff --git a/pkg/resources/resources.go b/pkg/resources/resources.go
index 080f3393a..95910c0e1 100644
--- a/pkg/resources/resources.go
+++ b/pkg/resources/resources.go
@@ -159,9 +159,9 @@ var assets = func() http.FileSystem {
"/crd/bases/camel.apache.org_kamelets.yaml": 
۰CompressedFileInfo{
name: "camel.apache.org_kamelets.yaml",
modTime:  time.Time{},
-   uncompressedSize: 78273,
+   uncompressedSize: 78362,
 
-   compressedContent: 
[]byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x7d\x7b\x6f\xdc\x38\xb2\xef\xff\xfe\x14\x05\xe7\x00\x71\x00\x77\xdb\x8e\x93\xec\x8c\xef\x1f\x81\xd7\x49\x76\x7d\x27\x0f\xc3\x76\x76\xef\xdc\x64\x0e\xc0\x96\xd8\xdd\xdc\xa8\x29\x1d\x92\xf2\x63\x37\xf9\xee\x07\x24\x45\x3d\xba\xf5\x28\xca\x92\xed\x19\x0c\x81\x20\xee\x6e\xa9\x58\x24\x8b\xc5\xd7\xaf\x7e\x7c\x02\x93\xe1\xd2\xd6\x13\x78\xcf\x02\xca\x25\x0d\x41\xc5\xa0\x96\x14\x8e\x13\x12\x2c\x29\x5c\xc4\x73\x75\x4d\x04\x
 [...]
+   compressedContent: 
[]byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x7d\x7b\x6f\xdc\x38\xb2\xef\xff\xfe\x14\x05\xe7\x00\x71\x00\x77\xdb\x8e\x93\xec\x8c\xef\x1f\x81\xd7\x49\x76\x7d\x27\x2f\xd8\xce\xee\x9d\x9b\xcc\x01\xd8\x12\xbb\x9b\x1b\x35\xa5\x43\x52\xb6\x7b\x37\xf9\xee\x07\x24\x45\x3d\xba\xf5\x28\xca\x52\xec\x19\x0c\x81\x20\xee\x6e\xa9\x58\x24\x8b\xc5\xd7\xaf\x7e\x7c\x04\x93\xe1\xd2\xce\x23\x78\xcb\x02\xca\x25\x0d\x41\xc5\xa0\x96\x14\x4e\x13\x12\x2c\x29\x5c\xc6\x73\x75\x43\x04\x
 [...]
},
"/crd/bases/camel.apache.org_pipes.yaml": 
۰CompressedFileInfo{
name: "camel.apache.org_pipes.yaml",



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

2023-10-18 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 1f68dbe2be1a36e78214ebb26e46932dea85a553
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Wed Oct 18 23:44:11 2023 +

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

diff --git a/CHANGELOG.md b/CHANGELOG.md
index d9888448c..8be2ac6cd 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -11,6 +11,9 @@
 
 **Merged pull requests:**
 
+- chore\(deps\): bump knative.dev/eventing from 0.38.4 to 0.38.5 
[\#4834](https://github.com/apache/camel-k/pull/4834) 
([dependabot[bot]](https://github.com/apps/dependabot))
+- chore\(deps\): bump knative.dev/serving from 0.38.1 to 0.38.2 
[\#4833](https://github.com/apache/camel-k/pull/4833) 
([dependabot[bot]](https://github.com/apps/dependabot))
+- fix: removed unnecessary defaul value in route trait 
[\#4830](https://github.com/apache/camel-k/pull/4830) 
([realMartinez](https://github.com/realMartinez))
 - chore\(ci\): no coverage message when coverage unchanged 
[\#4829](https://github.com/apache/camel-k/pull/4829) 
([squakez](https://github.com/squakez))
 - fix\(ci\): fabric8 deps update 
[\#4828](https://github.com/apache/camel-k/pull/4828) 
([squakez](https://github.com/squakez))
 - Bump X/Net to version 0.17.0 
[\#4820](https://github.com/apache/camel-k/pull/4820) 
([oscerd](https://github.com/oscerd))
@@ -23,6 +26,7 @@
 - feat\(trait\): let Camel runtime manages Kamelets 
[\#4812](https://github.com/apache/camel-k/pull/4812) 
([squakez](https://github.com/squakez))
 - fix\(ci\): OLM resources display name 
[\#4810](https://github.com/apache/camel-k/pull/4810) 
([squakez](https://github.com/squakez))
 - chore\(deps\): bump github.com/spf13/viper from 1.16.0 to 1.17.0 
[\#4809](https://github.com/apache/camel-k/pull/4809) 
([dependabot[bot]](https://github.com/apps/dependabot))
+- feat\(api\): Kamelet as static resource 
[\#4808](https://github.com/apache/camel-k/pull/4808) 
([squakez](https://github.com/squakez))
 - chore\(deps\): bump golang.org/x/oauth2 from 0.12.0 to 0.13.0 
[\#4807](https://github.com/apache/camel-k/pull/4807) 
([dependabot[bot]](https://github.com/apps/dependabot))
 - chore\(deps\): bump github.com/container-tools/spectrum from 0.6.37 to 
0.6.38 [\#4806](https://github.com/apache/camel-k/pull/4806) 
([dependabot[bot]](https://github.com/apps/dependabot))
 - feat\(core\): Move jib plugins versions to camelcatalog 
[\#4805](https://github.com/apache/camel-k/pull/4805) 
([gansheer](https://github.com/gansheer))



[camel-k] branch main updated (dbb79829b -> 6461a63d4)

2023-10-18 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 dbb79829b chore(deps): bump knative.dev/eventing from 0.38.4 to 0.38.5
 new 1f68dbe2b chore: changelog automatic update
 new 12a103200 chore: autogenerated project resource update
 new 6461a63d4 chore: nightly SBOM update

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


Summary of changes:
 CHANGELOG.md  |  4 ++
 camel-k-sbom/camel-k-sbom.json| 66 +++
 config/crd/bases/camel.apache.org_kamelets.yaml   |  2 +-
 docs/antora.yml   |  2 +-
 docs/modules/ROOT/partials/apis/camel-k-crds.adoc |  1 -
 helm/camel-k/crds/crd-kamelet.yaml|  2 +-
 pkg/resources/resources.go|  4 +-
 7 files changed, 42 insertions(+), 39 deletions(-)



Re: [PR] Upgrade Quarkus to 3.5.0 [camel-quarkus]

2023-10-18 Thread via GitHub


jamesnetherton commented on PR #5440:
URL: https://github.com/apache/camel-quarkus/pull/5440#issuecomment-1769373297

   Looks like the native build container image now defaults to JDK 21:
   
   
https://github.com/quarkusio/quarkus/commit/568c4394f6c70c497f6194574ea9ee188b6e8fb6
   
   Likely the cause of the Groovy test failure. Maybe also the CXF failures.


-- 
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] Add example for Kafka kamelet consuming with Azure Schema Registry in YAML DSL [camel-kamelets-examples]

2023-10-18 Thread via GitHub


oscerd closed issue #21: Add example for Kafka kamelet consuming with Azure 
Schema Registry in YAML DSL
URL: https://github.com/apache/camel-kamelets-examples/issues/21


-- 
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] Add example for Kafka kamelet consuming with Azure Schema Registry in YAML DSL [camel-kamelets-examples]

2023-10-18 Thread via GitHub


davsclaus commented on issue #21:
URL: 
https://github.com/apache/camel-kamelets-examples/issues/21#issuecomment-1769288076

   Do we have the example now and if so we can close this ticket. 
   
   Feel free to open new tickets for other examples and ideas for things to 
improve etc.


-- 
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] Add support for salesforce grpc pubsub api [camel-kamelets]

2023-10-18 Thread via GitHub


jsight commented on issue #1546:
URL: 
https://github.com/apache/camel-kamelets/issues/1546#issuecomment-1769225052

   It would make a huge difference in usability if persistence were possible, 
especially across clusters.


-- 
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_3x updated (bc61bc87ee5 -> 59db808ce9e)

2023-10-18 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 bc61bc87ee5 CAMEL-19996 avoid NPE when handling exception without 
coordinator (#11733)
 add 59db808ce9e CAMEL-20010 (#11759)

No new revisions were added by this update.

Summary of changes:
 .../idempotent/jdbc/JdbcMessageIdRepository.java   | 36 ++
 1 file changed, 23 insertions(+), 13 deletions(-)



[camel-karavan] branch main updated: Fix #942

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

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


The following commit(s) were added to refs/heads/main by this push:
 new 53e30a09 Fix #942
53e30a09 is described below

commit 53e30a09de5582aa827d8ad43fcaa5a0a618dd3f
Author: Marat Gubaidullin 
AuthorDate: Wed Oct 18 12:16:05 2023 -0400

Fix #942
---
 karavan-core/src/core/api/CamelUtil.ts |  4 +++-
 karavan-core/test/checkRequired.spec.ts| 14 +-
 karavan-designer/src/designer/route/usePropertiesHook.tsx  |  4 +++-
 karavan-vscode/webview/index.css   |  6 +-
 .../main/webui/src/designer/route/usePropertiesHook.tsx|  4 +++-
 5 files changed, 27 insertions(+), 5 deletions(-)

diff --git a/karavan-core/src/core/api/CamelUtil.ts 
b/karavan-core/src/core/api/CamelUtil.ts
index 65579d59..7178150f 100644
--- a/karavan-core/src/core/api/CamelUtil.ts
+++ b/karavan-core/src/core/api/CamelUtil.ts
@@ -252,7 +252,9 @@ export class CamelUtil {
 result[0] = allSet;
 }
 }
-
+if (result[1] && result[1].length > 0) {
+result[0] = false;
+}
 return result;
 };
 
diff --git a/karavan-core/test/checkRequired.spec.ts 
b/karavan-core/test/checkRequired.spec.ts
index cdd7cb67..8c80af9e 100644
--- a/karavan-core/test/checkRequired.spec.ts
+++ b/karavan-core/test/checkRequired.spec.ts
@@ -21,15 +21,27 @@ import {
 } from "../src/core/model/CamelDefinition";
 import {CamelDefinitionApi} from "../src/core/api/CamelDefinitionApi";
 import {CamelUtil} from "../src/core/api/CamelUtil";
+import { SetHeaderDefinition } from '../lib/model/CamelDefinition';
 
 describe('Check required properties', () => {
 
-it('Check DSL', () => {
+it('Check Log DSL', () => {
 const log: LogDefinition = CamelDefinitionApi.createLogDefinition({});
 expect(CamelUtil.checkRequired(log)[0]).to.equal(false);
 log.message = '${body}'
 expect(CamelUtil.checkRequired(log)[0]).to.equal(true);
+});
+
+it('Check SetHeader DSL', () => {
+const setHeader: SetHeaderDefinition = 
CamelDefinitionApi.createSetHeaderDefinition({});
+setHeader.expression = new ExpressionDefinition({simple: new 
SimpleExpression({expression: '${body}'})})
+const check = CamelUtil.checkRequired(setHeader);
+expect(check[0]).to.equal(false);
+setHeader.name = 'header1'
+expect(CamelUtil.checkRequired(setHeader)[0]).to.equal(true);
+});
 
+it('Check Split DSL', () => {
 const split: SplitDefinition = 
CamelDefinitionApi.createSplitDefinition({});
 expect(CamelUtil.checkRequired(split)[0]).to.equal(false);
 split.expression = new ExpressionDefinition({simple: new 
SimpleExpression()})
diff --git a/karavan-designer/src/designer/route/usePropertiesHook.tsx 
b/karavan-designer/src/designer/route/usePropertiesHook.tsx
index eba82bf2..87513b18 100644
--- a/karavan-designer/src/designer/route/usePropertiesHook.tsx
+++ b/karavan-designer/src/designer/route/usePropertiesHook.tsx
@@ -75,6 +75,7 @@ export function usePropertiesHook (isRouteDesigner: boolean = 
true) {
 }
 
 function onPropertyChange (fieldId: string, value: string | number | 
boolean | any, newRoute?: RouteToCreate){
+value = value === '' ? undefined : value;
 if (selectedStep) {
 const clone = CamelUtil.cloneStep(selectedStep);
 (clone as any)[fieldId] = value;
@@ -99,7 +100,8 @@ export function usePropertiesHook (isRouteDesigner: boolean 
= true) {
 }
 
 function onParametersChange (parameter: string, value: string | number | 
boolean | any, pathParameter?: boolean, newRoute?: RouteToCreate)   {
-if (selectedStep && selectedStep) {
+value = value === '' ? undefined : value;
+if (selectedStep) {
 const clone = (CamelUtil.cloneStep(selectedStep));
 const parameters: any = {...(clone as any).parameters};
 parameters[parameter] = value;
diff --git a/karavan-vscode/webview/index.css b/karavan-vscode/webview/index.css
index 163b2573..983a7461 100644
--- a/karavan-vscode/webview/index.css
+++ b/karavan-vscode/webview/index.css
@@ -168,11 +168,15 @@ body, :root, #root, .karavan {
   border-color: var(--pf-v5-global--Color--200);
 }
 
-.vscode-dark .step-element .header .text-bottom {
+.vscode-dark .karavan .step-element .header .text-bottom {
 background-color: rgb(var(--vscode-editor-background), 0.5);
 color: var(--vscode-editor-foreground);
 }
 
+.vscode-dark .karavan .step-element .header .header-text-required {
+  color: var(--pf-v5-global--danger-color--100);
+}
+
 .vscode-dark .karavan .step-element .add-button {
   color: var(--vscode-focusBorder); 
 }
diff --git 
a/karavan-web/karavan-app/src/main/webui/src/designer/route/usePropertiesHook.tsx
 

Re: [I] Designer should correctly show element header in red if required fields are not filled [camel-karavan]

2023-10-18 Thread via GitHub


mgubaidullin closed issue #942: Designer should correctly show element header 
in red if required fields are not filled
URL: https://github.com/apache/camel-karavan/issues/942


-- 
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 (6a098df5bb1 -> 03369ce25e7)

2023-10-18 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 6a098df5bb1 CAMEL-2: camel-flatpack DataSetList iterator iterates 
only once. Thanks to Zeljko Tesic for test case.
 add 03369ce25e7 CAMEL-20010 (#11759)

No new revisions were added by this update.

Summary of changes:
 .../idempotent/jdbc/JdbcMessageIdRepository.java   | 36 ++
 1 file changed, 23 insertions(+), 13 deletions(-)



[camel] branch regen_bot_40x updated (13c7ed82ff2 -> 03369ce25e7)

2023-10-18 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 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)

No new revisions were added by this update.

Summary of changes:
 .../camel/component/flatpack/DataSetList.java  |  2 +
 .../flatpack/FlatpackDataSetListIteratorTest.java} | 54 --
 .../idempotent/jdbc/JdbcMessageIdRepository.java   | 36 +--
 3 files changed, 54 insertions(+), 38 deletions(-)
 copy 
components/{camel-hazelcast/src/test/java/org/apache/camel/component/hazelcast/HazelcastSedaFIFOTest.java
 => 
camel-flatpack/src/test/java/org/apache/camel/component/flatpack/FlatpackDataSetListIteratorTest.java}
 (50%)



Re: [PR] CAMEL-20010 [camel]

2023-10-18 Thread via GitHub


essobedo commented on PR #11759:
URL: https://github.com/apache/camel/pull/11759#issuecomment-1768781999

   > doInit ensures its only invoked once
   
   So why do we get what is described in the ticket? I quote:
   
   > JdbcMessageIdRepository is designed to replace the CAMEL_MESSAGEPROCESSED 
substring in the queries with the  custom table name in the onInit() function, 
but looks like this function is called multiple times and it keeps replacing 
the substring that is present also in the custom table name.
   
   If I understand it well, if `onInit()` was called only once as it should, 
the problem would not occur


-- 
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.20.x updated: CAMEL-20010 (#11759)

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

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


The following commit(s) were added to refs/heads/camel-3.20.x by this push:
 new dabaf19e1dd CAMEL-20010 (#11759)
dabaf19e1dd is described below

commit dabaf19e1dd158a4bb72ef81628510c648674828
Author: Bruno Mendola <1853562+brunomend...@users.noreply.github.com>
AuthorDate: Wed Oct 18 17:48:45 2023 +0200

CAMEL-20010 (#11759)

* CAMEL-20010 Preserve default queries in JdbcMessageIdRepository to avoid 
replacing the table name more than once

* CAMEL-20010 Use String#replace instead of replaceFirst to avoid 
unnecessary usage of regular expressions

-

Co-authored-by: Bruno Mendola 
---
 .../idempotent/jdbc/JdbcMessageIdRepository.java   | 36 ++
 1 file changed, 23 insertions(+), 13 deletions(-)

diff --git 
a/components/camel-sql/src/main/java/org/apache/camel/processor/idempotent/jdbc/JdbcMessageIdRepository.java
 
b/components/camel-sql/src/main/java/org/apache/camel/processor/idempotent/jdbc/JdbcMessageIdRepository.java
index 37b62f97ae7..af70a6c5a1e 100644
--- 
a/components/camel-sql/src/main/java/org/apache/camel/processor/idempotent/jdbc/JdbcMessageIdRepository.java
+++ 
b/components/camel-sql/src/main/java/org/apache/camel/processor/idempotent/jdbc/JdbcMessageIdRepository.java
@@ -32,17 +32,27 @@ import 
org.springframework.transaction.support.TransactionTemplate;
 public class JdbcMessageIdRepository extends AbstractJdbcMessageIdRepository {
 
 protected static final String DEFAULT_TABLENAME = "CAMEL_MESSAGEPROCESSED";
+protected static final String DEFAULT_TABLE_EXISTS_STRING = "SELECT 1 FROM 
CAMEL_MESSAGEPROCESSED WHERE 1 = 0";
+protected static final String DEFAULT_CREATE_STRING
+= "CREATE TABLE CAMEL_MESSAGEPROCESSED (processorName 
VARCHAR(255), messageId VARCHAR(100), "
+  + "createdAt TIMESTAMP, PRIMARY KEY (processorName, messageId))";
+protected static final String DEFAULT_QUERY_STRING
+= "SELECT COUNT(*) FROM CAMEL_MESSAGEPROCESSED WHERE processorName 
= ? AND messageId = ?";
+protected static final String DEFAULT_INSERT_STRING
+= "INSERT INTO CAMEL_MESSAGEPROCESSED (processorName, messageId, 
createdAt) VALUES (?, ?, ?)";
+protected static final String DEFAULT_DELETE_STRING
+= "DELETE FROM CAMEL_MESSAGEPROCESSED WHERE processorName = ? AND 
messageId = ?";
+protected static final String DEFAULT_CLEAR_STRING = "DELETE FROM 
CAMEL_MESSAGEPROCESSED WHERE processorName = ?";
 
 private boolean createTableIfNotExists = true;
 private String tableName;
 
-private String tableExistsString = "SELECT 1 FROM CAMEL_MESSAGEPROCESSED 
WHERE 1 = 0";
-private String createString = "CREATE TABLE CAMEL_MESSAGEPROCESSED 
(processorName VARCHAR(255), messageId VARCHAR(100), "
-  + "createdAt TIMESTAMP, PRIMARY KEY 
(processorName, messageId))";
-private String queryString = "SELECT COUNT(*) FROM CAMEL_MESSAGEPROCESSED 
WHERE processorName = ? AND messageId = ?";
-private String insertString = "INSERT INTO CAMEL_MESSAGEPROCESSED 
(processorName, messageId, createdAt) VALUES (?, ?, ?)";
-private String deleteString = "DELETE FROM CAMEL_MESSAGEPROCESSED WHERE 
processorName = ? AND messageId = ?";
-private String clearString = "DELETE FROM CAMEL_MESSAGEPROCESSED WHERE 
processorName = ?";
+private String tableExistsString = DEFAULT_TABLE_EXISTS_STRING;
+private String createString = DEFAULT_CREATE_STRING;
+private String queryString = DEFAULT_QUERY_STRING;
+private String insertString = DEFAULT_INSERT_STRING;
+private String deleteString = DEFAULT_DELETE_STRING;
+private String clearString = DEFAULT_CLEAR_STRING;
 
 public JdbcMessageIdRepository() {
 }
@@ -65,12 +75,12 @@ public class JdbcMessageIdRepository extends 
AbstractJdbcMessageIdRepository {
 
 if (tableName != null) {
 // update query strings from default table name to the new table 
name
-tableExistsString = 
tableExistsString.replaceFirst(DEFAULT_TABLENAME, tableName);
-createString = createString.replaceFirst(DEFAULT_TABLENAME, 
tableName);
-queryString = queryString.replaceFirst(DEFAULT_TABLENAME, 
tableName);
-insertString = insertString.replaceFirst(DEFAULT_TABLENAME, 
tableName);
-deleteString = deleteString.replaceFirst(DEFAULT_TABLENAME, 
tableName);
-clearString = clearString.replaceFirst(DEFAULT_TABLENAME, 
tableName);
+tableExistsString = 
DEFAULT_TABLE_EXISTS_STRING.replace(DEFAULT_TABLENAME, tableName);
+createString = DEFAULT_CREATE_STRING.replace(DEFAULT_TABLENAME, 
tableName);
+queryString = DEFAULT_QUERY_STRING.replace(DEFAULT_TABLENAME, 
tableName);
+insertString = 

[camel] branch main updated: CAMEL-20010 (#11759)

2023-10-18 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 03369ce25e7 CAMEL-20010 (#11759)
03369ce25e7 is described below

commit 03369ce25e72506e07b51ead726f3fcbbee0e3c1
Author: Bruno Mendola <1853562+brunomend...@users.noreply.github.com>
AuthorDate: Wed Oct 18 17:48:45 2023 +0200

CAMEL-20010 (#11759)

* CAMEL-20010 Preserve default queries in JdbcMessageIdRepository to avoid 
replacing the table name more than once

* CAMEL-20010 Use String#replace instead of replaceFirst to avoid 
unnecessary usage of regular expressions

-

Co-authored-by: Bruno Mendola 
---
 .../idempotent/jdbc/JdbcMessageIdRepository.java   | 36 ++
 1 file changed, 23 insertions(+), 13 deletions(-)

diff --git 
a/components/camel-sql/src/main/java/org/apache/camel/processor/idempotent/jdbc/JdbcMessageIdRepository.java
 
b/components/camel-sql/src/main/java/org/apache/camel/processor/idempotent/jdbc/JdbcMessageIdRepository.java
index 37b62f97ae7..af70a6c5a1e 100644
--- 
a/components/camel-sql/src/main/java/org/apache/camel/processor/idempotent/jdbc/JdbcMessageIdRepository.java
+++ 
b/components/camel-sql/src/main/java/org/apache/camel/processor/idempotent/jdbc/JdbcMessageIdRepository.java
@@ -32,17 +32,27 @@ import 
org.springframework.transaction.support.TransactionTemplate;
 public class JdbcMessageIdRepository extends AbstractJdbcMessageIdRepository {
 
 protected static final String DEFAULT_TABLENAME = "CAMEL_MESSAGEPROCESSED";
+protected static final String DEFAULT_TABLE_EXISTS_STRING = "SELECT 1 FROM 
CAMEL_MESSAGEPROCESSED WHERE 1 = 0";
+protected static final String DEFAULT_CREATE_STRING
+= "CREATE TABLE CAMEL_MESSAGEPROCESSED (processorName 
VARCHAR(255), messageId VARCHAR(100), "
+  + "createdAt TIMESTAMP, PRIMARY KEY (processorName, messageId))";
+protected static final String DEFAULT_QUERY_STRING
+= "SELECT COUNT(*) FROM CAMEL_MESSAGEPROCESSED WHERE processorName 
= ? AND messageId = ?";
+protected static final String DEFAULT_INSERT_STRING
+= "INSERT INTO CAMEL_MESSAGEPROCESSED (processorName, messageId, 
createdAt) VALUES (?, ?, ?)";
+protected static final String DEFAULT_DELETE_STRING
+= "DELETE FROM CAMEL_MESSAGEPROCESSED WHERE processorName = ? AND 
messageId = ?";
+protected static final String DEFAULT_CLEAR_STRING = "DELETE FROM 
CAMEL_MESSAGEPROCESSED WHERE processorName = ?";
 
 private boolean createTableIfNotExists = true;
 private String tableName;
 
-private String tableExistsString = "SELECT 1 FROM CAMEL_MESSAGEPROCESSED 
WHERE 1 = 0";
-private String createString = "CREATE TABLE CAMEL_MESSAGEPROCESSED 
(processorName VARCHAR(255), messageId VARCHAR(100), "
-  + "createdAt TIMESTAMP, PRIMARY KEY 
(processorName, messageId))";
-private String queryString = "SELECT COUNT(*) FROM CAMEL_MESSAGEPROCESSED 
WHERE processorName = ? AND messageId = ?";
-private String insertString = "INSERT INTO CAMEL_MESSAGEPROCESSED 
(processorName, messageId, createdAt) VALUES (?, ?, ?)";
-private String deleteString = "DELETE FROM CAMEL_MESSAGEPROCESSED WHERE 
processorName = ? AND messageId = ?";
-private String clearString = "DELETE FROM CAMEL_MESSAGEPROCESSED WHERE 
processorName = ?";
+private String tableExistsString = DEFAULT_TABLE_EXISTS_STRING;
+private String createString = DEFAULT_CREATE_STRING;
+private String queryString = DEFAULT_QUERY_STRING;
+private String insertString = DEFAULT_INSERT_STRING;
+private String deleteString = DEFAULT_DELETE_STRING;
+private String clearString = DEFAULT_CLEAR_STRING;
 
 public JdbcMessageIdRepository() {
 }
@@ -65,12 +75,12 @@ public class JdbcMessageIdRepository extends 
AbstractJdbcMessageIdRepository {
 
 if (tableName != null) {
 // update query strings from default table name to the new table 
name
-tableExistsString = 
tableExistsString.replaceFirst(DEFAULT_TABLENAME, tableName);
-createString = createString.replaceFirst(DEFAULT_TABLENAME, 
tableName);
-queryString = queryString.replaceFirst(DEFAULT_TABLENAME, 
tableName);
-insertString = insertString.replaceFirst(DEFAULT_TABLENAME, 
tableName);
-deleteString = deleteString.replaceFirst(DEFAULT_TABLENAME, 
tableName);
-clearString = clearString.replaceFirst(DEFAULT_TABLENAME, 
tableName);
+tableExistsString = 
DEFAULT_TABLE_EXISTS_STRING.replace(DEFAULT_TABLENAME, tableName);
+createString = DEFAULT_CREATE_STRING.replace(DEFAULT_TABLENAME, 
tableName);
+queryString = DEFAULT_QUERY_STRING.replace(DEFAULT_TABLENAME, 
tableName);
+insertString = 

[camel] branch camel-3.x updated: CAMEL-20010 (#11759)

2023-10-18 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 59db808ce9e CAMEL-20010 (#11759)
59db808ce9e is described below

commit 59db808ce9e7be2a972dda80d7840b518847ac42
Author: Bruno Mendola <1853562+brunomend...@users.noreply.github.com>
AuthorDate: Wed Oct 18 17:48:45 2023 +0200

CAMEL-20010 (#11759)

* CAMEL-20010 Preserve default queries in JdbcMessageIdRepository to avoid 
replacing the table name more than once

* CAMEL-20010 Use String#replace instead of replaceFirst to avoid 
unnecessary usage of regular expressions

-

Co-authored-by: Bruno Mendola 
---
 .../idempotent/jdbc/JdbcMessageIdRepository.java   | 36 ++
 1 file changed, 23 insertions(+), 13 deletions(-)

diff --git 
a/components/camel-sql/src/main/java/org/apache/camel/processor/idempotent/jdbc/JdbcMessageIdRepository.java
 
b/components/camel-sql/src/main/java/org/apache/camel/processor/idempotent/jdbc/JdbcMessageIdRepository.java
index 37b62f97ae7..af70a6c5a1e 100644
--- 
a/components/camel-sql/src/main/java/org/apache/camel/processor/idempotent/jdbc/JdbcMessageIdRepository.java
+++ 
b/components/camel-sql/src/main/java/org/apache/camel/processor/idempotent/jdbc/JdbcMessageIdRepository.java
@@ -32,17 +32,27 @@ import 
org.springframework.transaction.support.TransactionTemplate;
 public class JdbcMessageIdRepository extends AbstractJdbcMessageIdRepository {
 
 protected static final String DEFAULT_TABLENAME = "CAMEL_MESSAGEPROCESSED";
+protected static final String DEFAULT_TABLE_EXISTS_STRING = "SELECT 1 FROM 
CAMEL_MESSAGEPROCESSED WHERE 1 = 0";
+protected static final String DEFAULT_CREATE_STRING
+= "CREATE TABLE CAMEL_MESSAGEPROCESSED (processorName 
VARCHAR(255), messageId VARCHAR(100), "
+  + "createdAt TIMESTAMP, PRIMARY KEY (processorName, messageId))";
+protected static final String DEFAULT_QUERY_STRING
+= "SELECT COUNT(*) FROM CAMEL_MESSAGEPROCESSED WHERE processorName 
= ? AND messageId = ?";
+protected static final String DEFAULT_INSERT_STRING
+= "INSERT INTO CAMEL_MESSAGEPROCESSED (processorName, messageId, 
createdAt) VALUES (?, ?, ?)";
+protected static final String DEFAULT_DELETE_STRING
+= "DELETE FROM CAMEL_MESSAGEPROCESSED WHERE processorName = ? AND 
messageId = ?";
+protected static final String DEFAULT_CLEAR_STRING = "DELETE FROM 
CAMEL_MESSAGEPROCESSED WHERE processorName = ?";
 
 private boolean createTableIfNotExists = true;
 private String tableName;
 
-private String tableExistsString = "SELECT 1 FROM CAMEL_MESSAGEPROCESSED 
WHERE 1 = 0";
-private String createString = "CREATE TABLE CAMEL_MESSAGEPROCESSED 
(processorName VARCHAR(255), messageId VARCHAR(100), "
-  + "createdAt TIMESTAMP, PRIMARY KEY 
(processorName, messageId))";
-private String queryString = "SELECT COUNT(*) FROM CAMEL_MESSAGEPROCESSED 
WHERE processorName = ? AND messageId = ?";
-private String insertString = "INSERT INTO CAMEL_MESSAGEPROCESSED 
(processorName, messageId, createdAt) VALUES (?, ?, ?)";
-private String deleteString = "DELETE FROM CAMEL_MESSAGEPROCESSED WHERE 
processorName = ? AND messageId = ?";
-private String clearString = "DELETE FROM CAMEL_MESSAGEPROCESSED WHERE 
processorName = ?";
+private String tableExistsString = DEFAULT_TABLE_EXISTS_STRING;
+private String createString = DEFAULT_CREATE_STRING;
+private String queryString = DEFAULT_QUERY_STRING;
+private String insertString = DEFAULT_INSERT_STRING;
+private String deleteString = DEFAULT_DELETE_STRING;
+private String clearString = DEFAULT_CLEAR_STRING;
 
 public JdbcMessageIdRepository() {
 }
@@ -65,12 +75,12 @@ public class JdbcMessageIdRepository extends 
AbstractJdbcMessageIdRepository {
 
 if (tableName != null) {
 // update query strings from default table name to the new table 
name
-tableExistsString = 
tableExistsString.replaceFirst(DEFAULT_TABLENAME, tableName);
-createString = createString.replaceFirst(DEFAULT_TABLENAME, 
tableName);
-queryString = queryString.replaceFirst(DEFAULT_TABLENAME, 
tableName);
-insertString = insertString.replaceFirst(DEFAULT_TABLENAME, 
tableName);
-deleteString = deleteString.replaceFirst(DEFAULT_TABLENAME, 
tableName);
-clearString = clearString.replaceFirst(DEFAULT_TABLENAME, 
tableName);
+tableExistsString = 
DEFAULT_TABLE_EXISTS_STRING.replace(DEFAULT_TABLENAME, tableName);
+createString = DEFAULT_CREATE_STRING.replace(DEFAULT_TABLENAME, 
tableName);
+queryString = DEFAULT_QUERY_STRING.replace(DEFAULT_TABLENAME, 
tableName);
+insertString = 

[camel] branch camel-4.0.x updated: CAMEL-20010 (#11759)

2023-10-18 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 e123d321bcd CAMEL-20010 (#11759)
e123d321bcd is described below

commit e123d321bcde73bf230478fcdbf11766bf28dd40
Author: Bruno Mendola <1853562+brunomend...@users.noreply.github.com>
AuthorDate: Wed Oct 18 17:48:45 2023 +0200

CAMEL-20010 (#11759)

* CAMEL-20010 Preserve default queries in JdbcMessageIdRepository to avoid 
replacing the table name more than once

* CAMEL-20010 Use String#replace instead of replaceFirst to avoid 
unnecessary usage of regular expressions

-

Co-authored-by: Bruno Mendola 
---
 .../idempotent/jdbc/JdbcMessageIdRepository.java   | 36 ++
 1 file changed, 23 insertions(+), 13 deletions(-)

diff --git 
a/components/camel-sql/src/main/java/org/apache/camel/processor/idempotent/jdbc/JdbcMessageIdRepository.java
 
b/components/camel-sql/src/main/java/org/apache/camel/processor/idempotent/jdbc/JdbcMessageIdRepository.java
index 37b62f97ae7..af70a6c5a1e 100644
--- 
a/components/camel-sql/src/main/java/org/apache/camel/processor/idempotent/jdbc/JdbcMessageIdRepository.java
+++ 
b/components/camel-sql/src/main/java/org/apache/camel/processor/idempotent/jdbc/JdbcMessageIdRepository.java
@@ -32,17 +32,27 @@ import 
org.springframework.transaction.support.TransactionTemplate;
 public class JdbcMessageIdRepository extends AbstractJdbcMessageIdRepository {
 
 protected static final String DEFAULT_TABLENAME = "CAMEL_MESSAGEPROCESSED";
+protected static final String DEFAULT_TABLE_EXISTS_STRING = "SELECT 1 FROM 
CAMEL_MESSAGEPROCESSED WHERE 1 = 0";
+protected static final String DEFAULT_CREATE_STRING
+= "CREATE TABLE CAMEL_MESSAGEPROCESSED (processorName 
VARCHAR(255), messageId VARCHAR(100), "
+  + "createdAt TIMESTAMP, PRIMARY KEY (processorName, messageId))";
+protected static final String DEFAULT_QUERY_STRING
+= "SELECT COUNT(*) FROM CAMEL_MESSAGEPROCESSED WHERE processorName 
= ? AND messageId = ?";
+protected static final String DEFAULT_INSERT_STRING
+= "INSERT INTO CAMEL_MESSAGEPROCESSED (processorName, messageId, 
createdAt) VALUES (?, ?, ?)";
+protected static final String DEFAULT_DELETE_STRING
+= "DELETE FROM CAMEL_MESSAGEPROCESSED WHERE processorName = ? AND 
messageId = ?";
+protected static final String DEFAULT_CLEAR_STRING = "DELETE FROM 
CAMEL_MESSAGEPROCESSED WHERE processorName = ?";
 
 private boolean createTableIfNotExists = true;
 private String tableName;
 
-private String tableExistsString = "SELECT 1 FROM CAMEL_MESSAGEPROCESSED 
WHERE 1 = 0";
-private String createString = "CREATE TABLE CAMEL_MESSAGEPROCESSED 
(processorName VARCHAR(255), messageId VARCHAR(100), "
-  + "createdAt TIMESTAMP, PRIMARY KEY 
(processorName, messageId))";
-private String queryString = "SELECT COUNT(*) FROM CAMEL_MESSAGEPROCESSED 
WHERE processorName = ? AND messageId = ?";
-private String insertString = "INSERT INTO CAMEL_MESSAGEPROCESSED 
(processorName, messageId, createdAt) VALUES (?, ?, ?)";
-private String deleteString = "DELETE FROM CAMEL_MESSAGEPROCESSED WHERE 
processorName = ? AND messageId = ?";
-private String clearString = "DELETE FROM CAMEL_MESSAGEPROCESSED WHERE 
processorName = ?";
+private String tableExistsString = DEFAULT_TABLE_EXISTS_STRING;
+private String createString = DEFAULT_CREATE_STRING;
+private String queryString = DEFAULT_QUERY_STRING;
+private String insertString = DEFAULT_INSERT_STRING;
+private String deleteString = DEFAULT_DELETE_STRING;
+private String clearString = DEFAULT_CLEAR_STRING;
 
 public JdbcMessageIdRepository() {
 }
@@ -65,12 +75,12 @@ public class JdbcMessageIdRepository extends 
AbstractJdbcMessageIdRepository {
 
 if (tableName != null) {
 // update query strings from default table name to the new table 
name
-tableExistsString = 
tableExistsString.replaceFirst(DEFAULT_TABLENAME, tableName);
-createString = createString.replaceFirst(DEFAULT_TABLENAME, 
tableName);
-queryString = queryString.replaceFirst(DEFAULT_TABLENAME, 
tableName);
-insertString = insertString.replaceFirst(DEFAULT_TABLENAME, 
tableName);
-deleteString = deleteString.replaceFirst(DEFAULT_TABLENAME, 
tableName);
-clearString = clearString.replaceFirst(DEFAULT_TABLENAME, 
tableName);
+tableExistsString = 
DEFAULT_TABLE_EXISTS_STRING.replace(DEFAULT_TABLENAME, tableName);
+createString = DEFAULT_CREATE_STRING.replace(DEFAULT_TABLENAME, 
tableName);
+queryString = DEFAULT_QUERY_STRING.replace(DEFAULT_TABLENAME, 
tableName);
+insertString = 

Re: [PR] CAMEL-20010 [camel]

2023-10-18 Thread via GitHub


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


-- 
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.21.x updated: CAMEL-20010 (#11759)

2023-10-18 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 c34b5668d4b CAMEL-20010 (#11759)
c34b5668d4b is described below

commit c34b5668d4b5150b51936a280267731316944ef2
Author: Bruno Mendola <1853562+brunomend...@users.noreply.github.com>
AuthorDate: Wed Oct 18 17:48:45 2023 +0200

CAMEL-20010 (#11759)

* CAMEL-20010 Preserve default queries in JdbcMessageIdRepository to avoid 
replacing the table name more than once

* CAMEL-20010 Use String#replace instead of replaceFirst to avoid 
unnecessary usage of regular expressions

-

Co-authored-by: Bruno Mendola 
---
 .../idempotent/jdbc/JdbcMessageIdRepository.java   | 36 ++
 1 file changed, 23 insertions(+), 13 deletions(-)

diff --git 
a/components/camel-sql/src/main/java/org/apache/camel/processor/idempotent/jdbc/JdbcMessageIdRepository.java
 
b/components/camel-sql/src/main/java/org/apache/camel/processor/idempotent/jdbc/JdbcMessageIdRepository.java
index 37b62f97ae7..af70a6c5a1e 100644
--- 
a/components/camel-sql/src/main/java/org/apache/camel/processor/idempotent/jdbc/JdbcMessageIdRepository.java
+++ 
b/components/camel-sql/src/main/java/org/apache/camel/processor/idempotent/jdbc/JdbcMessageIdRepository.java
@@ -32,17 +32,27 @@ import 
org.springframework.transaction.support.TransactionTemplate;
 public class JdbcMessageIdRepository extends AbstractJdbcMessageIdRepository {
 
 protected static final String DEFAULT_TABLENAME = "CAMEL_MESSAGEPROCESSED";
+protected static final String DEFAULT_TABLE_EXISTS_STRING = "SELECT 1 FROM 
CAMEL_MESSAGEPROCESSED WHERE 1 = 0";
+protected static final String DEFAULT_CREATE_STRING
+= "CREATE TABLE CAMEL_MESSAGEPROCESSED (processorName 
VARCHAR(255), messageId VARCHAR(100), "
+  + "createdAt TIMESTAMP, PRIMARY KEY (processorName, messageId))";
+protected static final String DEFAULT_QUERY_STRING
+= "SELECT COUNT(*) FROM CAMEL_MESSAGEPROCESSED WHERE processorName 
= ? AND messageId = ?";
+protected static final String DEFAULT_INSERT_STRING
+= "INSERT INTO CAMEL_MESSAGEPROCESSED (processorName, messageId, 
createdAt) VALUES (?, ?, ?)";
+protected static final String DEFAULT_DELETE_STRING
+= "DELETE FROM CAMEL_MESSAGEPROCESSED WHERE processorName = ? AND 
messageId = ?";
+protected static final String DEFAULT_CLEAR_STRING = "DELETE FROM 
CAMEL_MESSAGEPROCESSED WHERE processorName = ?";
 
 private boolean createTableIfNotExists = true;
 private String tableName;
 
-private String tableExistsString = "SELECT 1 FROM CAMEL_MESSAGEPROCESSED 
WHERE 1 = 0";
-private String createString = "CREATE TABLE CAMEL_MESSAGEPROCESSED 
(processorName VARCHAR(255), messageId VARCHAR(100), "
-  + "createdAt TIMESTAMP, PRIMARY KEY 
(processorName, messageId))";
-private String queryString = "SELECT COUNT(*) FROM CAMEL_MESSAGEPROCESSED 
WHERE processorName = ? AND messageId = ?";
-private String insertString = "INSERT INTO CAMEL_MESSAGEPROCESSED 
(processorName, messageId, createdAt) VALUES (?, ?, ?)";
-private String deleteString = "DELETE FROM CAMEL_MESSAGEPROCESSED WHERE 
processorName = ? AND messageId = ?";
-private String clearString = "DELETE FROM CAMEL_MESSAGEPROCESSED WHERE 
processorName = ?";
+private String tableExistsString = DEFAULT_TABLE_EXISTS_STRING;
+private String createString = DEFAULT_CREATE_STRING;
+private String queryString = DEFAULT_QUERY_STRING;
+private String insertString = DEFAULT_INSERT_STRING;
+private String deleteString = DEFAULT_DELETE_STRING;
+private String clearString = DEFAULT_CLEAR_STRING;
 
 public JdbcMessageIdRepository() {
 }
@@ -65,12 +75,12 @@ public class JdbcMessageIdRepository extends 
AbstractJdbcMessageIdRepository {
 
 if (tableName != null) {
 // update query strings from default table name to the new table 
name
-tableExistsString = 
tableExistsString.replaceFirst(DEFAULT_TABLENAME, tableName);
-createString = createString.replaceFirst(DEFAULT_TABLENAME, 
tableName);
-queryString = queryString.replaceFirst(DEFAULT_TABLENAME, 
tableName);
-insertString = insertString.replaceFirst(DEFAULT_TABLENAME, 
tableName);
-deleteString = deleteString.replaceFirst(DEFAULT_TABLENAME, 
tableName);
-clearString = clearString.replaceFirst(DEFAULT_TABLENAME, 
tableName);
+tableExistsString = 
DEFAULT_TABLE_EXISTS_STRING.replace(DEFAULT_TABLENAME, tableName);
+createString = DEFAULT_CREATE_STRING.replace(DEFAULT_TABLENAME, 
tableName);
+queryString = DEFAULT_QUERY_STRING.replace(DEFAULT_TABLENAME, 
tableName);
+insertString = 

Re: [PR] CAMEL-20010 [camel]

2023-10-18 Thread via GitHub


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

   doInit ensures its only invoked once


-- 
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-20010 [camel]

2023-10-18 Thread via GitHub


essobedo commented on PR #11759:
URL: https://github.com/apache/camel/pull/11759#issuecomment-1768755319

   I'm wondering if it is normal that the `JdbcMessageIdRepository` is 
initialized several times which is maybe more the problem to fix, WDYT?


-- 
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] cleanups: replaced File#delete with Files#delete [camel]

2023-10-18 Thread via GitHub


essobedo commented on PR #11762:
URL: https://github.com/apache/camel/pull/11762#issuecomment-1768743452

   Are there any reasons why we should do that?
   According to the Javadoc, the main interest in using `Files#delete` is for 
error reporting, to diagnose why a file cannot be deleted but in this PR you 
mostly don't care about the exception thrown so it is not really useful. 
Moreover, it causes [some known behavior 
changes](https://mail.openjdk.org/pipermail/core-libs-dev/2012-August/011314.html)
 and finally dealing with exceptions affects the performances so I tend to vote 
-1 for this change unless you have good reasons


-- 
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] cleanups: replaced File#delete with Files#delete [camel]

2023-10-18 Thread via GitHub


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

   :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] cleanups: replaced File#delete with Files#delete [camel]

2023-10-18 Thread via GitHub


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

   (no comment)


-- 
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 (e61d7c00e87 -> 6a098df5bb1)

2023-10-18 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 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.

No new revisions were added by this update.

Summary of changes:
 .../camel/component/flatpack/DataSetList.java  |  2 +
 .../flatpack/FlatpackDataSetListIteratorTest.java} | 54 --
 .../impl/engine/DefaultContextPluginManager.java   |  6 +--
 3 files changed, 32 insertions(+), 30 deletions(-)
 copy 
components/{camel-hazelcast/src/test/java/org/apache/camel/component/hazelcast/HazelcastSedaFIFOTest.java
 => 
camel-flatpack/src/test/java/org/apache/camel/component/flatpack/FlatpackDataSetListIteratorTest.java}
 (50%)



[camel-karavan] branch main updated: fix #941

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

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


The following commit(s) were added to refs/heads/main by this push:
 new 584298e5 fix #941
584298e5 is described below

commit 584298e55f6046b357715fbe4c8ccbc2ff6d22d2
Author: Marat Gubaidullin 
AuthorDate: Wed Oct 18 10:47:20 2023 -0400

fix #941
---
 karavan-vscode/src/utils.ts | 13 -
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/karavan-vscode/src/utils.ts b/karavan-vscode/src/utils.ts
index 44b612d6..21bbd538 100644
--- a/karavan-vscode/src/utils.ts
+++ b/karavan-vscode/src/utils.ts
@@ -93,7 +93,7 @@ async function readFilesInDirByExtension(dir: string, 
extension: string): Promis
 for (let d in dirs) {
 const filename = dirs[d][0];
 if (filename !== undefined && filename.endsWith(extension)) {
-const file = await readFile(dir + "/" + filename);
+const file = await readFile(dir + path.sep + filename);
 const code = Buffer.from(file).toString('utf8');
 result.set(filename, code);
 }
@@ -165,9 +165,9 @@ export async function getAllFiles(dirPath, arrayOfFiles: 
string[]) {
 const filename = files[x][0];
 const type = files[x][1];
 if (type === FileType.Directory) {
-arrayOfFiles = await getAllFiles(dirPath + "/" + filename, 
arrayOfFiles)
+arrayOfFiles = await getAllFiles(dirPath + path.sep + filename, 
arrayOfFiles)
 } else {
-arrayOfFiles.push(path.join(dirPath, "/", filename))
+arrayOfFiles.push(path.join(dirPath, path.sep, filename))
 }
 }
 return arrayOfFiles
@@ -190,10 +190,13 @@ export async function getCamelYamlFiles(baseDir: string) {
 }
 
 export async function readCamelYamlFiles(dir: string) {
+const exportFolder = await getExportFolder();
+const fullExportFolder = dir + path.sep + exportFolder;
 const result: any = {};
 const files = await getCamelYamlFiles(dir);
-for (let x in files){
-const filename = files[x];
+const camelFiles = exportFolder ? files.filter(f => 
!f.startsWith(fullExportFolder)) : files;
+for (let x in camelFiles){
+const filename = camelFiles[x];
 const readData = await readFile(path.resolve(filename));
 const yaml = Buffer.from(readData).toString('utf8');
 if (CamelDefinitionYaml.yamlIsIntegration(yaml)){



Re: [I] Topology in VS Code should no show integrations from camel-jbang export folder [camel-karavan]

2023-10-18 Thread via GitHub


mgubaidullin closed issue #941: Topology in VS Code should no show integrations 
from camel-jbang export folder
URL: https://github.com/apache/camel-karavan/issues/941


-- 
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] (chores) camel-disruptor: reduce method size [camel]

2023-10-18 Thread via GitHub


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

   :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] (chores) camel-disruptor: reduce method size [camel]

2023-10-18 Thread via GitHub


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

   This should help profilers to provide better reports and help JVM to inline 
methods when possible


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

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

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



[camel] branch main updated: CAMEL-20000: camel-flatpack DataSetList iterator iterates only once. Thanks to Zeljko Tesic for test case.

2023-10-18 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 6a098df5bb1 CAMEL-2: camel-flatpack DataSetList iterator iterates 
only once. Thanks to Zeljko Tesic for test case.
6a098df5bb1 is described below

commit 6a098df5bb12d7395faa3bbda13653648eed3782
Author: Claus Ibsen 
AuthorDate: Wed Oct 18 16:43:34 2023 +0200

CAMEL-2: camel-flatpack DataSetList iterator iterates only once. Thanks 
to Zeljko Tesic for test case.
---
 .../camel/component/flatpack/DataSetList.java  |  2 +
 .../flatpack/FlatpackDataSetListIteratorTest.java  | 69 ++
 2 files changed, 71 insertions(+)

diff --git 
a/components/camel-flatpack/src/main/java/org/apache/camel/component/flatpack/DataSetList.java
 
b/components/camel-flatpack/src/main/java/org/apache/camel/component/flatpack/DataSetList.java
index b78d484f946..ec9b632b17a 100644
--- 
a/components/camel-flatpack/src/main/java/org/apache/camel/component/flatpack/DataSetList.java
+++ 
b/components/camel-flatpack/src/main/java/org/apache/camel/component/flatpack/DataSetList.java
@@ -63,6 +63,8 @@ public class DataSetList extends AbstractList> implements Da
 
 @Override
 public Iterator> iterator() {
+dataSet.goTop();
+
 return new Iterator>() {
 Optional nextData = Optional.empty();
 
diff --git 
a/components/camel-flatpack/src/test/java/org/apache/camel/component/flatpack/FlatpackDataSetListIteratorTest.java
 
b/components/camel-flatpack/src/test/java/org/apache/camel/component/flatpack/FlatpackDataSetListIteratorTest.java
new file mode 100644
index 000..1327216bbbd
--- /dev/null
+++ 
b/components/camel-flatpack/src/test/java/org/apache/camel/component/flatpack/FlatpackDataSetListIteratorTest.java
@@ -0,0 +1,69 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.flatpack;
+
+import java.util.stream.Collectors;
+import java.util.stream.Stream;
+
+import org.apache.camel.EndpointInject;
+import org.apache.camel.builder.RouteBuilder;
+import org.apache.camel.component.mock.MockEndpoint;
+import org.apache.camel.dataformat.flatpack.FlatpackDataFormat;
+import org.apache.camel.test.junit5.CamelTestSupport;
+import org.junit.jupiter.api.Test;
+
+public class FlatpackDataSetListIteratorTest extends CamelTestSupport {
+
+private static final String DIRECT_URI = "direct:flatpach-test";
+
+@EndpointInject("mock:each-item")
+private MockEndpoint eachItemEndpoint;
+
+@Test
+void sendTESTwithErrors() throws Exception {
+String header = "A,B,C";
+String record1 = "1,2,3";
+String record2 = "7,8,9";
+Object body = Stream.of(header, record1, 
record2).collect(Collectors.joining("\r\n"));
+
+eachItemEndpoint.expectedMessageCount(2);
+
+template.sendBody(DIRECT_URI, body);
+
+eachItemEndpoint.assertIsSatisfied();
+}
+
+@Override
+protected RouteBuilder createRouteBuilder() throws Exception {
+FlatpackDataFormat format = new FlatpackDataFormat();
+format.setDelimiter(',');
+format.setTextQualifier('"');
+
+return new RouteBuilder() {
+@Override
+public void configure() {
+from(DIRECT_URI)
+.unmarshal(format)
+.log("Processing ${body}")
+.split().body()
+.to("mock:each-item")
+.end();
+}
+};
+}
+
+}



[camel] branch regen_bot updated (90c76c8b4b0 -> e61d7c00e87)

2023-10-18 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 90c76c8b4b0 Bean cache (#11758)
 add e61d7c00e87 CAMEL-20013: AdviceWith should have model dumper as 
optional in case its not on classpath.

No new revisions were added by this update.

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



[camel] branch regen_bot_40x updated (330cbfc42d3 -> 13c7ed82ff2)

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

No new revisions were added by this update.

Summary of changes:
 README.md  |  2 +-
 .../org/apache/camel/catalog/components/bean.json  |  3 +-
 .../org/apache/camel/catalog/components/class.json |  3 +-
 .../component/bean/BeanComponentConfigurer.java|  6 
 .../org/apache/camel/component/bean/bean.json  |  3 +-
 .../apache/camel/component/beanclass/class.json|  3 +-
 .../apache/camel/component/bean/BeanComponent.java | 38 +++---
 .../apache/camel/component/stax/StAXProcessor.java |  2 +-
 .../impl/engine/DefaultContextPluginManager.java   |  6 +---
 .../apache/camel/impl/engine/DefaultInjector.java  | 20 +++-
 .../java/org/apache/camel/builder/AdviceWith.java  |  3 +-
 .../component/dsl/BeanComponentBuilderFactory.java | 17 ++
 .../component/dsl/ClasComponentBuilderFactory.java | 17 ++
 parent/pom.xml |  8 ++---
 14 files changed, 103 insertions(+), 28 deletions(-)



[PR] Upgrade Quarkus to 3.5.0 [camel-quarkus]

2023-10-18 Thread via GitHub


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

   (no comment)


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

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

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



[camel] branch main updated: Polished

2023-10-18 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 13c7ed82ff2 Polished
13c7ed82ff2 is described below

commit 13c7ed82ff2732b5c69f624c9eb3541d5b3fa490
Author: Claus Ibsen 
AuthorDate: Wed Oct 18 16:27:03 2023 +0200

Polished
---
 .../org/apache/camel/impl/engine/DefaultContextPluginManager.java   | 6 +-
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git 
a/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultContextPluginManager.java
 
b/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultContextPluginManager.java
index 79b9e06ca5a..f33ad017b61 100644
--- 
a/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultContextPluginManager.java
+++ 
b/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultContextPluginManager.java
@@ -14,7 +14,6 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
 package org.apache.camel.impl.engine;
 
 import java.util.Map;
@@ -25,11 +24,8 @@ import org.apache.camel.RuntimeCamelException;
 import org.apache.camel.spi.PluginManager;
 
 public class DefaultContextPluginManager implements PluginManager {
-private final Map, Object> extensions = new ConcurrentHashMap<>();
-
-public DefaultContextPluginManager() {
 
-}
+private final Map, Object> extensions = new ConcurrentHashMap<>();
 
 @Override
 public  T getContextPlugin(Class type) {



[camel] branch camel-4.0.x updated: CAMEL-20013: AdviceWith should have model dumper as optional in case its not on classpath.

2023-10-18 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 1426f0e6021 CAMEL-20013: AdviceWith should have model dumper as 
optional in case its not on classpath.
1426f0e6021 is described below

commit 1426f0e60215fcfb1741753e1fe8c47a30250e77
Author: Claus Ibsen 
AuthorDate: Wed Oct 18 16:18:18 2023 +0200

CAMEL-20013: AdviceWith should have model dumper as optional in case its 
not on classpath.
---
 .../src/main/java/org/apache/camel/builder/AdviceWith.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/core/camel-core-model/src/main/java/org/apache/camel/builder/AdviceWith.java 
b/core/camel-core-model/src/main/java/org/apache/camel/builder/AdviceWith.java
index 8ec466c11e1..71937375f4f 100644
--- 
a/core/camel-core-model/src/main/java/org/apache/camel/builder/AdviceWith.java
+++ 
b/core/camel-core-model/src/main/java/org/apache/camel/builder/AdviceWith.java
@@ -239,9 +239,9 @@ public final class AdviceWith {
 }
 
 String beforeAsXml = null;
-final ModelToXMLDumper modelToXMLDumper = 
PluginHelper.getModelToXMLDumper(ecc);
 if (logRoutesAsXml && LOG.isInfoEnabled()) {
 try {
+ModelToXMLDumper modelToXMLDumper = 
PluginHelper.getModelToXMLDumper(ecc);
 beforeAsXml = modelToXMLDumper.dumpModelAsXml(camelContext, 
definition);
 } catch (Throwable e) {
 // ignore, it may be due jaxb is not on classpath etc
@@ -278,6 +278,7 @@ public final class AdviceWith {
 
 if (beforeAsXml != null && logRoutesAsXml && LOG.isInfoEnabled()) {
 try {
+ModelToXMLDumper modelToXMLDumper = 
PluginHelper.getModelToXMLDumper(ecc);
 String afterAsXml = 
modelToXMLDumper.dumpModelAsXml(camelContext, merged);
 LOG.info("Adviced route before/after as XML:\n{}\n\n{}", 
beforeAsXml, afterAsXml);
 } catch (Throwable e) {



[camel] branch main updated: CAMEL-20013: AdviceWith should have model dumper as optional in case its not on classpath.

2023-10-18 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 e61d7c00e87 CAMEL-20013: AdviceWith should have model dumper as 
optional in case its not on classpath.
e61d7c00e87 is described below

commit e61d7c00e87ba687156f2fcbc4319532f1a7f7e1
Author: Claus Ibsen 
AuthorDate: Wed Oct 18 16:18:18 2023 +0200

CAMEL-20013: AdviceWith should have model dumper as optional in case its 
not on classpath.
---
 .../src/main/java/org/apache/camel/builder/AdviceWith.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/core/camel-core-model/src/main/java/org/apache/camel/builder/AdviceWith.java 
b/core/camel-core-model/src/main/java/org/apache/camel/builder/AdviceWith.java
index 63ddec47054..4b210df3f82 100644
--- 
a/core/camel-core-model/src/main/java/org/apache/camel/builder/AdviceWith.java
+++ 
b/core/camel-core-model/src/main/java/org/apache/camel/builder/AdviceWith.java
@@ -239,9 +239,9 @@ public final class AdviceWith {
 }
 
 String beforeAsXml = null;
-final ModelToXMLDumper modelToXMLDumper = 
PluginHelper.getModelToXMLDumper(ecc);
 if (logRoutesAsXml && LOG.isInfoEnabled()) {
 try {
+ModelToXMLDumper modelToXMLDumper = 
PluginHelper.getModelToXMLDumper(ecc);
 beforeAsXml = modelToXMLDumper.dumpModelAsXml(camelContext, 
definition);
 } catch (Exception e) {
 // ignore, it may be due jaxb is not on classpath etc
@@ -278,6 +278,7 @@ public final class AdviceWith {
 
 if (beforeAsXml != null && logRoutesAsXml && LOG.isInfoEnabled()) {
 try {
+ModelToXMLDumper modelToXMLDumper = 
PluginHelper.getModelToXMLDumper(ecc);
 String afterAsXml = 
modelToXMLDumper.dumpModelAsXml(camelContext, merged);
 LOG.info("Adviced route before/after as XML:\n{}\n\n{}", 
beforeAsXml, afterAsXml);
 } catch (Exception e) {



Re: [PR] (chores) camel-core: reduce method size to force inlining [camel]

2023-10-18 Thread via GitHub


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

   :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] (chores) camel-core: reduce method size to force inlining [camel]

2023-10-18 Thread via GitHub


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

   Reduce the size of a few hot methods, so that they byte code size is smaller 
than 325 bytes, to increase the chance that the JVM will inline them when 
possible.


-- 
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] Component icons in topology view too big [camel-karavan]

2023-10-18 Thread via GitHub


mgubaidullin closed issue #940: Component icons in topology view too big
URL: https://github.com/apache/camel-karavan/issues/940


-- 
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] feat(blog): Camel K version 2.1.0 [camel-website]

2023-10-18 Thread via GitHub


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

    Preview is available at https://pr-1076--camel.netlify.app


-- 
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] feat(blog): Camel K version 2.1.0 [camel-website]

2023-10-18 Thread via GitHub


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

    Preview is available at https://pr-1076--camel.netlify.app


-- 
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-20010 [camel]

2023-10-18 Thread via GitHub


essobedo commented on code in PR #11759:
URL: https://github.com/apache/camel/pull/11759#discussion_r1363924922


##
components/camel-sql/src/main/java/org/apache/camel/processor/idempotent/jdbc/JdbcMessageIdRepository.java:
##
@@ -65,12 +75,12 @@ protected void doInit() throws Exception {
 
 if (tableName != null) {
 // update query strings from default table name to the new table 
name
-tableExistsString = 
tableExistsString.replaceFirst(DEFAULT_TABLENAME, tableName);
-createString = createString.replaceFirst(DEFAULT_TABLENAME, 
tableName);
-queryString = queryString.replaceFirst(DEFAULT_TABLENAME, 
tableName);
-insertString = insertString.replaceFirst(DEFAULT_TABLENAME, 
tableName);
-deleteString = deleteString.replaceFirst(DEFAULT_TABLENAME, 
tableName);
-clearString = clearString.replaceFirst(DEFAULT_TABLENAME, 
tableName);
+tableExistsString = 
DEFAULT_TABLE_EXISTS_STRING.replaceFirst(DEFAULT_TABLENAME, tableName);

Review Comment:
   You should use `replace` instead of `replaceFirst` to avoid using a regular 
expression behind the scenes



-- 
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] Add support for salesforce grpc pubsub api [camel-kamelets]

2023-10-18 Thread via GitHub


oscerd commented on issue #1546:
URL: 
https://github.com/apache/camel-kamelets/issues/1546#issuecomment-1768484394

   In a Kamelet is not persisted, but we could think about a possible solution.


-- 
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-website-pub] branch asf-site updated (d324a9ccf0 -> 1b828090cd)

2023-10-18 Thread git-site-role
This is an automated email from the ASF dual-hosted git repository.

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


 discard d324a9ccf0 Website updated to 63d9929b6c4bbcddbfc2d8e70c864700aebc183d
 discard 147f3f146d Website updated to 325e929157412b27394080f4d4dba3d821476ddf
 new 31a3e364c7 Website updated to 325e929157412b27394080f4d4dba3d821476ddf
 new 1b828090cd Website updated to d4d47233b7de4599d4f34cb801fdff013d548158

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   (d324a9ccf0)
\
 N -- N -- N   refs/heads/asf-site (1b828090cd)

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

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

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


Summary of changes:
 .htaccess  |   70 +-
 .well-known/security.txt   |2 +-
 blog/2023/10/camel41-whatsnew/index.html   |2 +-
 .../10/jbang-video}/featured.png   |  Bin
 ...e93d4fe1_334247_800x0_resize_q95_gaussian_3.png |  Bin
 blog/2023/10/jbang-video/index.html|1 +
 blog/index.html|2 +-
 blog/index.xml |   13 +-
 blog/page/10/index.html|2 +-
 blog/page/100/index.html   |2 +-
 blog/page/101/index.html   |2 +-
 blog/page/{12 => 102}/index.html   |2 +-
 blog/page/11/index.html|2 +-
 blog/page/12/index.html|2 +-
 blog/page/13/index.html|2 +-
 blog/page/14/index.html|2 +-
 blog/page/15/index.html|2 +-
 blog/page/16/index.html|2 +-
 blog/page/17/index.html|2 +-
 blog/page/18/index.html|2 +-
 blog/page/19/index.html|2 +-
 blog/page/2/index.html |2 +-
 blog/page/20/index.html|2 +-
 blog/page/21/index.html|2 +-
 blog/page/22/index.html|2 +-
 blog/page/23/index.html|2 +-
 blog/page/24/index.html|2 +-
 blog/page/25/index.html|2 +-
 blog/page/26/index.html|2 +-
 blog/page/27/index.html|2 +-
 blog/page/28/index.html|2 +-
 blog/page/29/index.html|2 +-
 blog/page/3/index.html |2 +-
 blog/page/30/index.html|2 +-
 blog/page/31/index.html|2 +-
 blog/page/32/index.html|2 +-
 blog/page/33/index.html|2 +-
 blog/page/34/index.html|2 +-
 blog/page/35/index.html|2 +-
 blog/page/36/index.html|2 +-
 blog/page/37/index.html|2 +-
 blog/page/38/index.html|2 +-
 blog/page/39/index.html|2 +-
 blog/page/4/index.html |2 +-
 blog/page/40/index.html|2 +-
 blog/page/41/index.html|2 +-
 blog/page/42/index.html|2 +-
 blog/page/43/index.html|2 +-
 blog/page/44/index.html|2 +-
 blog/page/45/index.html|2 +-
 blog/page/46/index.html|2 +-
 blog/page/47/index.html|2 +-
 blog/page/48/index.html|2 +-
 blog/page/49/index.html|2 +-
 blog/page/5/index.html |2 +-
 blog/page/50/index.html|2 +-
 blog/page/51/index.html|2 +-
 

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

2023-10-18 Thread Apache Infrastructure


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



[camel] branch regen_bot updated (cc4b5f7dc1f -> 90c76c8b4b0)

2023-10-18 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 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)

No new revisions were added by this update.

Summary of changes:
 README.md  |  2 +-
 .../org/apache/camel/catalog/components/bean.json  |  3 +-
 .../org/apache/camel/catalog/components/class.json |  3 +-
 .../component/bean/BeanComponentConfigurer.java|  6 
 .../org/apache/camel/component/bean/bean.json  |  3 +-
 .../apache/camel/component/beanclass/class.json|  3 +-
 .../apache/camel/component/bean/BeanComponent.java | 38 +++---
 .../component/dsl/BeanComponentBuilderFactory.java | 17 ++
 .../component/dsl/ClasComponentBuilderFactory.java | 17 ++
 9 files changed, 83 insertions(+), 9 deletions(-)



Re: [PR] CAMEL-20010 [camel]

2023-10-18 Thread via GitHub


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

   :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-20010 [camel]

2023-10-18 Thread via GitHub


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

   # Description
   
   Preserve default queries in `JdbcMessageIdRepository` to avoid replacing the 
table name more than once.
   
   Solves CAMEL-20010.
   
   # Target
   
   - [x] 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
   - [x] 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
   
   - [x] I checked that each commit in the pull request has a meaningful 
subject line and body.
   
   
   
   - [x] 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



Re: [PR] 20008 xml tokenizer expected bodies check [camel]

2023-10-18 Thread via GitHub


apupier commented on PR #11756:
URL: https://github.com/apache/camel/pull/11756#issuecomment-1768457734

   ok, Eclipse IDE test runner was friendlier with dependencyManagement 
declared with test scope than Maven. I updated the branch.


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

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

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



[camel-k] branch dependabot/go_modules/github.com/prometheus/common-0.45.0 created (now 32974ee46)

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

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


  at 32974ee46 chore(deps): bump github.com/prometheus/common from 0.44.0 
to 0.45.0

No new revisions were added by this update.



[PR] chore(deps): bump github.com/prometheus/common from 0.44.0 to 0.45.0 [camel-k]

2023-10-18 Thread via GitHub


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

   Bumps [github.com/prometheus/common](https://github.com/prometheus/common) 
from 0.44.0 to 0.45.0.
   
   Release notes
   Sourced from https://github.com/prometheus/common/releases;>github.com/prometheus/common's
 releases.
   
   v0.45.0
   What's Changed
   
   Adding support for file based configuration of basic auth username in 
http client config by https://github.com/wasim-nihal;>@​wasim-nihal in https://redirect.github.com/prometheus/common/pull/511;>prometheus/common#511
   Bump golang.org/x/net from 0.10.0 to 0.12.0 by https://github.com/dependabot;>@​dependabot in https://redirect.github.com/prometheus/common/pull/507;>prometheus/common#507
   Add read-only token permissions by https://github.com/pnacht;>@​pnacht in https://redirect.github.com/prometheus/common/pull/490;>prometheus/common#490
   Synchronize common files from prometheus/prometheus by https://github.com/prombot;>@​prombot in https://redirect.github.com/prometheus/common/pull/495;>prometheus/common#495
   Update client_golang by https://github.com/SuperQ;>@​SuperQ in https://redirect.github.com/prometheus/common/pull/513;>prometheus/common#513
   Bump golang.org/x/oauth2 from 0.8.0 to 0.12.0 by https://github.com/dependabot;>@​dependabot in https://redirect.github.com/prometheus/common/pull/514;>prometheus/common#514
   Bump github.com/aws/aws-sdk-go from 1.44.266 to 1.45.18 in /sigv4 by https://github.com/dependabot;>@​dependabot in https://redirect.github.com/prometheus/common/pull/515;>prometheus/common#515
   Bump github.com/prometheus/client_golang from 1.15.1 to 1.17.0 in /sigv4 
by https://github.com/dependabot;>@​dependabot in https://redirect.github.com/prometheus/common/pull/516;>prometheus/common#516
   Bump github.com/stretchr/testify from 1.8.2 to 1.8.4 in /sigv4 by https://github.com/dependabot;>@​dependabot in https://redirect.github.com/prometheus/common/pull/493;>prometheus/common#493
   Update golang_protobuf_extensions to v2 by https://github.com/Neo2308;>@​Neo2308 in https://redirect.github.com/prometheus/common/pull/509;>prometheus/common#509
   Synchronize common files from prometheus/prometheus by https://github.com/prombot;>@​prombot in https://redirect.github.com/prometheus/common/pull/518;>prometheus/common#518
   Bump github.com/aws/aws-sdk-go from 1.45.18 to 1.45.19 in /sigv4 by https://github.com/dependabot;>@​dependabot in https://redirect.github.com/prometheus/common/pull/519;>prometheus/common#519
   Synchronize common files from prometheus/prometheus by https://github.com/prombot;>@​prombot in https://redirect.github.com/prometheus/common/pull/520;>prometheus/common#520
   Bump golang.org/x/net from 0.15.0 to 0.17.0 in /sigv4 by https://github.com/dependabot;>@​dependabot in https://redirect.github.com/prometheus/common/pull/525;>prometheus/common#525
   Bump golang.org/x/net from 0.15.0 to 0.17.0 by https://github.com/dependabot;>@​dependabot in https://redirect.github.com/prometheus/common/pull/524;>prometheus/common#524
   
   New Contributors
   
   https://github.com/wasim-nihal;>@​wasim-nihal 
made their first contribution in https://redirect.github.com/prometheus/common/pull/511;>prometheus/common#511
   https://github.com/pnacht;>@​pnacht made their 
first contribution in https://redirect.github.com/prometheus/common/pull/490;>prometheus/common#490
   https://github.com/Neo2308;>@​Neo2308 made 
their first contribution in https://redirect.github.com/prometheus/common/pull/509;>prometheus/common#509
   
   Full Changelog: https://github.com/prometheus/common/compare/v0.44.0...v0.45.0;>https://github.com/prometheus/common/compare/v0.44.0...v0.45.0
   
   
   
   Commits
   
   https://github.com/prometheus/common/commit/c59927ec74c04c0c17891bf27784fe7c484ae97f;>c59927e
 Merge pull request https://redirect.github.com/prometheus/common/issues/524;>#524 from 
prometheus/dependabot/go_modules/golang.org/x/ne...
   https://github.com/prometheus/common/commit/1f9b004557717dc157aeb85b7aeb9cbac64d13e3;>1f9b004
 Bump golang.org/x/net from 0.15.0 to 0.17.0
   https://github.com/prometheus/common/commit/16f9480e203c66963b228585d827ca8a74141351;>16f9480
 Merge pull request https://redirect.github.com/prometheus/common/issues/525;>#525 from 
prometheus/dependabot/go_modules/sigv4/golang.or...
   https://github.com/prometheus/common/commit/ff99062cff0d9b9d0337e9518673feef8c1b5644;>ff99062
 Bump golang.org/x/net from 0.15.0 to 0.17.0 in /sigv4
   https://github.com/prometheus/common/commit/7043ea0e691b6da9ecbd08e7ae41e9cf28898e98;>7043ea0
 Merge pull request https://redirect.github.com/prometheus/common/issues/520;>#520 from 
prometheus/repo_sync
   https://github.com/prometheus/common/commit/b6914dd5f799cd6a0a09e3777058b76238e46519;>b6914dd
 Update common Prometheus files
   https://github.com/prometheus/common/commit/f4e05c09ccbf9914a4459a89ae24e940959780b7;>f4e05c0
 Merge pull request 

[camel-k] branch dependabot/go_modules/knative.dev/eventing-0.38.5 deleted (was 5dea0611f)

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

pcongiusti pushed a change to branch 
dependabot/go_modules/knative.dev/eventing-0.38.5
in repository https://gitbox.apache.org/repos/asf/camel-k.git


 was 5dea0611f chore(deps): bump knative.dev/eventing from 0.38.4 to 0.38.5

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-k] branch main updated: chore(deps): bump knative.dev/eventing from 0.38.4 to 0.38.5

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

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


The following commit(s) were added to refs/heads/main by this push:
 new dbb79829b chore(deps): bump knative.dev/eventing from 0.38.4 to 0.38.5
dbb79829b is described below

commit dbb79829b6a9f67fd706be2747ab34685f9aba84
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
AuthorDate: Wed Oct 18 07:27:15 2023 +

chore(deps): bump knative.dev/eventing from 0.38.4 to 0.38.5

Bumps [knative.dev/eventing](https://github.com/knative/eventing) from 
0.38.4 to 0.38.5.
- [Release notes](https://github.com/knative/eventing/releases)
- [Commits](https://github.com/knative/eventing/compare/v0.38.4...v0.38.5)

---
updated-dependencies:
- dependency-name: knative.dev/eventing
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] 
---
 go.mod | 2 +-
 go.sum | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/go.mod b/go.mod
index d983d6a81..ca9a1c25b 100644
--- a/go.mod
+++ b/go.mod
@@ -52,7 +52,7 @@ require (
k8s.io/klog/v2 v2.100.1
k8s.io/kubectl v0.27.4
k8s.io/utils v0.0.0-20230505201702-9f6742963106
-   knative.dev/eventing v0.38.4
+   knative.dev/eventing v0.38.5
knative.dev/pkg v0.0.0-20231011193800-bd99f2f98be7
knative.dev/serving v0.38.2
sigs.k8s.io/controller-runtime v0.15.2
diff --git a/go.sum b/go.sum
index b1e895966..055b23ed4 100644
--- a/go.sum
+++ b/go.sum
@@ -898,8 +898,8 @@ k8s.io/kubectl v0.27.4 
h1:RV1TQLIbtL34+vIM+W7HaS3KfAbqvy9lWn6pWB9els4=
 k8s.io/kubectl v0.27.4/go.mod h1:qtc1s3BouB9KixJkriZMQqTsXMc+OAni6FeKAhq7q14=
 k8s.io/utils v0.0.0-20230505201702-9f6742963106 
h1:EObNQ3TW2D+WptiYXlApGNLVy0zm/JIBVY9i+M4wpAU=
 k8s.io/utils v0.0.0-20230505201702-9f6742963106/go.mod 
h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
-knative.dev/eventing v0.38.4 h1:eH059bfeLilj2xAN6V7XXOh3wqzz5ssoMS/CIJpJfmk=
-knative.dev/eventing v0.38.4/go.mod 
h1:ct8t+v6nmp1kFCy6ngkDWIEvnjJDNDoKptrfnQVh+z8=
+knative.dev/eventing v0.38.5 h1:NvSy3lek9IbLLWEot36NyAfNv7VkJNl38F1ItVL0D6s=
+knative.dev/eventing v0.38.5/go.mod 
h1:g+iAS+KBRSKULEPqoVnseMkObDeq3SJhqefbuIu8zY8=
 knative.dev/networking v0.0.0-20231012062757-a5958051caf8 
h1:oZMbAAXyiDZUYoQ4qEjL6uxXrL1xBVfEyQJx8sP0XEg=
 knative.dev/networking v0.0.0-20231012062757-a5958051caf8/go.mod 
h1:XwZwqJoLZR92N6F/sj8lHxttnry/Kiz+OgG8+uVuYn0=
 knative.dev/pkg v0.0.0-20231011193800-bd99f2f98be7 
h1:y3qbfYX1SuSr/1ysXvKfpV8q/kCwWLWieCUgAhBUHmQ=



Re: [PR] chore(deps): bump knative.dev/eventing from 0.38.4 to 0.38.5 [camel-k]

2023-10-18 Thread via GitHub


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


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

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

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



[camel] branch bean-cache deleted (was 45360b3054d)

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

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


 was 45360b3054d CAMEL-1: camel-bean - Allow to configure bean 
introspection cache on component

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: Bean cache (#11758)

2023-10-18 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 90c76c8b4b0 Bean cache (#11758)
90c76c8b4b0 is described below

commit 90c76c8b4b09c232ee67f57c23ada7c8709b6d16
Author: Claus Ibsen 
AuthorDate: Wed Oct 18 15:16:29 2023 +0200

Bean cache (#11758)

CAMEL-1: camel-bean - Allow to configure bean introspection cache on 
component
---
 .../org/apache/camel/catalog/components/bean.json  |  3 +-
 .../org/apache/camel/catalog/components/class.json |  3 +-
 .../component/bean/BeanComponentConfigurer.java|  6 
 .../org/apache/camel/component/bean/bean.json  |  3 +-
 .../apache/camel/component/beanclass/class.json|  3 +-
 .../apache/camel/component/bean/BeanComponent.java | 38 +++---
 .../component/dsl/BeanComponentBuilderFactory.java | 17 ++
 .../component/dsl/ClasComponentBuilderFactory.java | 17 ++
 8 files changed, 82 insertions(+), 8 deletions(-)

diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/bean.json
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/bean.json
index 75f019fc727..c9abb38b12e 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/bean.json
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/bean.json
@@ -24,7 +24,8 @@
   "componentProperties": {
 "lazyStartProducer": { "index": 0, "kind": "property", "displayName": 
"Lazy Start Producer", "group": "producer", "label": "producer", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": false, "description": 
"Whether the producer should be started lazy (on the first message). By 
starting lazy you can use this to allow CamelContext and routes to startup in 
situations where a producer may otherwise fail [...]
 "scope": { "index": 1, "kind": "property", "displayName": "Scope", 
"group": "producer", "label": "", "required": false, "type": "object", 
"javaType": "org.apache.camel.BeanScope", "enum": [ "Singleton", "Request", 
"Prototype" ], "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": "Singleton", "description": "Scope of bean. When using 
singleton scope (default) the bean is created or looked up only once and reused 
for the lifetime of the endpoint. The bean should  [...]
-"autowiredEnabled": { "index": 2, "kind": "property", "displayName": 
"Autowired Enabled", "group": "advanced", "label": "advanced", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": true, "description": 
"Whether autowiring is enabled. This is used for automatic autowiring options 
(the option must be marked as autowired) by looking up in the registry to find 
if there is a single instance of matching t [...]
+"autowiredEnabled": { "index": 2, "kind": "property", "displayName": 
"Autowired Enabled", "group": "advanced", "label": "advanced", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": true, "description": 
"Whether autowiring is enabled. This is used for automatic autowiring options 
(the option must be marked as autowired) by looking up in the registry to find 
if there is a single instance of matching t [...]
+"beanInfoCacheSize": { "index": 3, "kind": "property", "displayName": 
"Bean Info Cache Size", "group": "advanced", "label": "advanced", "required": 
false, "type": "integer", "javaType": "int", "deprecated": false, "autowired": 
false, "secret": false, "defaultValue": 1000, "description": "Maximum cache 
size of internal cache for bean introspection. Setting a value of 0 or negative 
will disable the cache." }
   },
   "headers": {
 "CamelBeanMethodName": { "index": 0, "kind": "header", "displayName": "", 
"group": "producer", "label": "", "required": false, "javaType": "String", 
"deprecated": false, "deprecationNote": "", "autowired": false, "secret": 
false, "description": "The name of the method to invoke.", "constantName": 
"org.apache.camel.component.bean.BeanConstants#BEAN_METHOD_NAME" }
diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/class.json
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/class.json
index 251ab235540..a870e294575 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/class.json
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/class.json
@@ -24,7 +24,8 @@
   "componentProperties": {
 "lazyStartProducer": { "index": 0, "kind": "property", 

Re: [PR] Bean cache [camel]

2023-10-18 Thread via GitHub


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


-- 
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] Add support for salesforce grpc pubsub api [camel-kamelets]

2023-10-18 Thread via GitHub


jsight commented on issue #1546:
URL: 
https://github.com/apache/camel-kamelets/issues/1546#issuecomment-1768407918

   @oscerd How is it persisted?


-- 
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] feat(blog): Camel K version 2.1.0 [camel-website]

2023-10-18 Thread via GitHub


davsclaus commented on PR #1076:
URL: https://github.com/apache/camel-website/pull/1076#issuecomment-1768397783

   Nice to see soo much progress since 2.0 release


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

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

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



[camel-website] branch main updated: Blog with camel-jbang videos (#1077)

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

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


The following commit(s) were added to refs/heads/main by this push:
 new d4d47233 Blog with camel-jbang videos (#1077)
d4d47233 is described below

commit d4d47233b7de4599d4f34cb801fdff013d548158
Author: Claus Ibsen 
AuthorDate: Wed Oct 18 14:56:39 2023 +0200

Blog with camel-jbang videos (#1077)
---
 content/blog/2023/10/jbang-video/featured.png | Bin 0 -> 334247 bytes
 content/blog/2023/10/jbang-video/index.md |  15 +++
 2 files changed, 15 insertions(+)

diff --git a/content/blog/2023/10/jbang-video/featured.png 
b/content/blog/2023/10/jbang-video/featured.png
new file mode 100644
index ..1f527e40
Binary files /dev/null and b/content/blog/2023/10/jbang-video/featured.png 
differ
diff --git a/content/blog/2023/10/jbang-video/index.md 
b/content/blog/2023/10/jbang-video/index.md
new file mode 100644
index ..193899d0
--- /dev/null
+++ b/content/blog/2023/10/jbang-video/index.md
@@ -0,0 +1,15 @@
+---
+title: "Three Apache Camel JBang Videos" 
+date: 2023-10-18
+authors: [davsclaus]
+categories: ["Videos", "JBang"]
+preview: Three videos with Camel JBang demos and first impressions 
+---
+
+For the past year, we have worked on [Camel JBang](/manual/camel-jbang.html), 
that is becoming ready to be more widespread known among Camel users.
+
+In this blog I just want to quickly refer to a number of recent video 
recordings of Camel JBang in action.
+
+* [Apache Camel 4.0 with Camel JBang MQTT 
demo](https://www.youtube.com/watch?v=djtUQAppRuU) - by Claus, How to quickly 
build a Camel prototype with MQTT using Docker
+* [Camel JBang - Run Camel as Script using 
JBang](https://www.youtube.com/watch?v=q_GtnszqRyk) by Jasvinder, with first 
impressions of Camel JBang
+* [Apache Camel JBang - Reload quickly running Camel via 
copy/paste](https://www.youtube.com/watch?v=Sxr5qsKdx8E) - by Claus, a poor 
man's iPaaS with Apache Camel Karavan and Camel JBang



[camel-website] branch jb deleted (was 9768ce8f)

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

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


 was 9768ce8f Blog with camel-jbang videos

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



Re: [PR] Blog with camel-jbang videos [camel-website]

2023-10-18 Thread via GitHub


davsclaus merged PR #1077:
URL: https://github.com/apache/camel-website/pull/1077


-- 
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] Blog with camel-jbang videos [camel-website]

2023-10-18 Thread via GitHub


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

    Preview is available at https://pr-1077--camel.netlify.app


-- 
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] Fix link for building page on readme [camel]

2023-10-18 Thread via GitHub


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


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

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

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



[camel] branch main updated: Fix link for building page on readme (#11757)

2023-10-18 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 c6b27fc2966 Fix link for building page on readme (#11757)
c6b27fc2966 is described below

commit c6b27fc29664f350927750103eb111c9cfdc6695
Author: Aurélien Pupier 
AuthorDate: Wed Oct 18 14:55:20 2023 +0200

Fix link for building page on readme (#11757)

Signed-off-by: Aurélien Pupier 
---
 README.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/README.md b/README.md
index 55823fd4af5..8b84773b6fa 100644
--- a/README.md
+++ b/README.md
@@ -58,7 +58,7 @@ The beginner examples are another powerful alternative 
pathway for getting start
 
 **Building**
 
-
+
 
 **Contributions**
 



Re: [PR] added the missing description and updated the order of items. [camel-examples]

2023-10-18 Thread via GitHub


rafamqrs commented on PR #130:
URL: https://github.com/apache/camel-examples/pull/130#issuecomment-1768393303

   @oscerd I gonna add the missing description in the related POM. 
   
   


-- 
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] Bean cache [camel]

2023-10-18 Thread via GitHub


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

   :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] Bean cache [camel]

2023-10-18 Thread via GitHub


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

   # 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 bean-cache updated: CAMEL-19999: camel-bean - Allow to configure bean introspection cache on component

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

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


The following commit(s) were added to refs/heads/bean-cache by this push:
 new 45360b3054d CAMEL-1: camel-bean - Allow to configure bean 
introspection cache on component
45360b3054d is described below

commit 45360b3054d2a6e814e778f72642c42b5fa2b038
Author: Claus Ibsen 
AuthorDate: Wed Oct 18 14:52:30 2023 +0200

CAMEL-1: camel-bean - Allow to configure bean introspection cache on 
component
---
 .../generated/resources/org/apache/camel/catalog/components/bean.json | 2 +-
 .../resources/org/apache/camel/catalog/components/class.json  | 2 +-
 .../src/generated/resources/org/apache/camel/component/bean/bean.json | 2 +-
 .../resources/org/apache/camel/component/beanclass/class.json | 2 +-
 .../src/main/java/org/apache/camel/component/bean/BeanComponent.java  | 4 ++--
 .../camel/builder/component/dsl/BeanComponentBuilderFactory.java  | 3 ++-
 .../camel/builder/component/dsl/ClasComponentBuilderFactory.java  | 3 ++-
 7 files changed, 10 insertions(+), 8 deletions(-)

diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/bean.json
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/bean.json
index 327d95440ca..c9abb38b12e 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/bean.json
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/bean.json
@@ -25,7 +25,7 @@
 "lazyStartProducer": { "index": 0, "kind": "property", "displayName": 
"Lazy Start Producer", "group": "producer", "label": "producer", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": false, "description": 
"Whether the producer should be started lazy (on the first message). By 
starting lazy you can use this to allow CamelContext and routes to startup in 
situations where a producer may otherwise fail [...]
 "scope": { "index": 1, "kind": "property", "displayName": "Scope", 
"group": "producer", "label": "", "required": false, "type": "object", 
"javaType": "org.apache.camel.BeanScope", "enum": [ "Singleton", "Request", 
"Prototype" ], "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": "Singleton", "description": "Scope of bean. When using 
singleton scope (default) the bean is created or looked up only once and reused 
for the lifetime of the endpoint. The bean should  [...]
 "autowiredEnabled": { "index": 2, "kind": "property", "displayName": 
"Autowired Enabled", "group": "advanced", "label": "advanced", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": true, "description": 
"Whether autowiring is enabled. This is used for automatic autowiring options 
(the option must be marked as autowired) by looking up in the registry to find 
if there is a single instance of matching t [...]
-"beanInfoCacheSize": { "index": 3, "kind": "property", "displayName": 
"Bean Info Cache Size", "group": "advanced", "label": "advanced", "required": 
false, "type": "integer", "javaType": "int", "deprecated": false, "autowired": 
false, "secret": false, "defaultValue": 1000, "description": "Maximum cache 
size of internal cache for bean introspection." }
+"beanInfoCacheSize": { "index": 3, "kind": "property", "displayName": 
"Bean Info Cache Size", "group": "advanced", "label": "advanced", "required": 
false, "type": "integer", "javaType": "int", "deprecated": false, "autowired": 
false, "secret": false, "defaultValue": 1000, "description": "Maximum cache 
size of internal cache for bean introspection. Setting a value of 0 or negative 
will disable the cache." }
   },
   "headers": {
 "CamelBeanMethodName": { "index": 0, "kind": "header", "displayName": "", 
"group": "producer", "label": "", "required": false, "javaType": "String", 
"deprecated": false, "deprecationNote": "", "autowired": false, "secret": 
false, "description": "The name of the method to invoke.", "constantName": 
"org.apache.camel.component.bean.BeanConstants#BEAN_METHOD_NAME" }
diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/class.json
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/class.json
index 9e37fad812e..a870e294575 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/class.json
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/class.json
@@ -25,7 +25,7 @@
 "lazyStartProducer": { "index": 0, "kind": "property", "displayName": 
"Lazy Start Producer", "group": "producer", "label": "producer", "required": 
false, "type": "boolean", 

Re: [PR] CAMEL-20008 - Improve assertion to compare xml and not string in XMLTokenExpressionIteratorTest [camel]

2023-10-18 Thread via GitHub


apupier commented on code in PR #11754:
URL: https://github.com/apache/camel/pull/11754#discussion_r1363825212


##
parent/pom.xml:
##
@@ -2697,6 +2697,18 @@
 pom
 import
 
+

Review Comment:
   I can update to use the same xmlunit-core in this PR, and provide a 
different PR to migrate from xmlunit-core to xmlunit-assertj3 to separate 
concerns and discuss if it is worthy or not to use the introduced one.



-- 
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 bean-cache created (now 28169236992)

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

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


  at 28169236992 CAMEL-1: camel-bean - Allow to configure bean 
introspection cache on component

This branch includes the following new commits:

 new 28169236992 CAMEL-1: camel-bean - Allow to configure bean 
introspection cache on component

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-19999: camel-bean - Allow to configure bean introspection cache on component

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

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

commit 28169236992b531630341bcf9ce7668af76f2b0b
Author: Claus Ibsen 
AuthorDate: Wed Oct 18 14:41:56 2023 +0200

CAMEL-1: camel-bean - Allow to configure bean introspection cache on 
component
---
 .../org/apache/camel/catalog/components/bean.json  |  3 +-
 .../org/apache/camel/catalog/components/class.json |  3 +-
 .../component/bean/BeanComponentConfigurer.java|  6 
 .../org/apache/camel/component/bean/bean.json  |  3 +-
 .../apache/camel/component/beanclass/class.json|  3 +-
 .../apache/camel/component/bean/BeanComponent.java | 38 +++---
 .../component/dsl/BeanComponentBuilderFactory.java | 16 +
 .../component/dsl/ClasComponentBuilderFactory.java | 16 +
 8 files changed, 80 insertions(+), 8 deletions(-)

diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/bean.json
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/bean.json
index 75f019fc727..327d95440ca 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/bean.json
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/bean.json
@@ -24,7 +24,8 @@
   "componentProperties": {
 "lazyStartProducer": { "index": 0, "kind": "property", "displayName": 
"Lazy Start Producer", "group": "producer", "label": "producer", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": false, "description": 
"Whether the producer should be started lazy (on the first message). By 
starting lazy you can use this to allow CamelContext and routes to startup in 
situations where a producer may otherwise fail [...]
 "scope": { "index": 1, "kind": "property", "displayName": "Scope", 
"group": "producer", "label": "", "required": false, "type": "object", 
"javaType": "org.apache.camel.BeanScope", "enum": [ "Singleton", "Request", 
"Prototype" ], "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": "Singleton", "description": "Scope of bean. When using 
singleton scope (default) the bean is created or looked up only once and reused 
for the lifetime of the endpoint. The bean should  [...]
-"autowiredEnabled": { "index": 2, "kind": "property", "displayName": 
"Autowired Enabled", "group": "advanced", "label": "advanced", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": true, "description": 
"Whether autowiring is enabled. This is used for automatic autowiring options 
(the option must be marked as autowired) by looking up in the registry to find 
if there is a single instance of matching t [...]
+"autowiredEnabled": { "index": 2, "kind": "property", "displayName": 
"Autowired Enabled", "group": "advanced", "label": "advanced", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": true, "description": 
"Whether autowiring is enabled. This is used for automatic autowiring options 
(the option must be marked as autowired) by looking up in the registry to find 
if there is a single instance of matching t [...]
+"beanInfoCacheSize": { "index": 3, "kind": "property", "displayName": 
"Bean Info Cache Size", "group": "advanced", "label": "advanced", "required": 
false, "type": "integer", "javaType": "int", "deprecated": false, "autowired": 
false, "secret": false, "defaultValue": 1000, "description": "Maximum cache 
size of internal cache for bean introspection." }
   },
   "headers": {
 "CamelBeanMethodName": { "index": 0, "kind": "header", "displayName": "", 
"group": "producer", "label": "", "required": false, "javaType": "String", 
"deprecated": false, "deprecationNote": "", "autowired": false, "secret": 
false, "description": "The name of the method to invoke.", "constantName": 
"org.apache.camel.component.bean.BeanConstants#BEAN_METHOD_NAME" }
diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/class.json
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/class.json
index 251ab235540..9e37fad812e 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/class.json
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/class.json
@@ -24,7 +24,8 @@
   "componentProperties": {
 "lazyStartProducer": { "index": 0, "kind": "property", "displayName": 
"Lazy Start Producer", "group": "producer", "label": "producer", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": false, 

Re: [PR] CAMEL-8306: Add support for wildcards to match on prefix [camel]

2023-10-18 Thread via GitHub


TUCJVXCB commented on PR #11638:
URL: https://github.com/apache/camel/pull/11638#issuecomment-1768356266

   > Something is misisng in camel-platform-http I think it would also need 
this register/unregister.
   > And did you remove some tests by mistake ?
   
   because those unit test won’t register wildcard pattern 


-- 
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] 20008 xml tokenizer expected bodies check [camel]

2023-10-18 Thread via GitHub


oscerd commented on PR #11756:
URL: https://github.com/apache/camel/pull/11756#issuecomment-1768346527

   You cannot see the log, because this is reserved to PMC and committer.
   
   ```
   [ERROR] 
/home/runner/work/camel/camel/components/camel-mock/src/main/java/org/apache/camel/component/mock/MockEndpoint.java:[817,71]
 cannot access org.xmlunit.builder.DifferenceEngineConfigurer
 class file for org.xmlunit.builder.DifferenceEngineConfigurer not found
   ```


-- 
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] 20008 xml tokenizer expected bodies check [camel]

2023-10-18 Thread via GitHub


apupier commented on PR #11756:
URL: https://github.com/apache/camel/pull/11756#issuecomment-1768339078

   the job is failing without even really starting the build:
   
   ```
   Run ./mvnw -l build.log -Dquickly install
 ./mvnw -l build.log -Dquickly install
 shell: /usr/bin/bash -e {0}
 env:
   MVND_OPTS: -V -e -ntp 
-Dmvnd.threads=[2](https://github.com/apache/camel/actions/runs/6560385887/job/17818487102?pr=11756#step:6:2)
 -Daether.connector.http.connectionMaxTtl=120 
-Daether.connector.requestTimeout=[3](https://github.com/apache/camel/actions/runs/6560385887/job/17818487102?pr=11756#step:6:3)0
 -Daether.dependencyCollector.impl=bf -Dmaven.artifact.threads=25 
-Dci.env.name=github.com -Dsurefire.rerunFailingTestsCount=2 
-Dfailsafe.rerunFailingTestsCount=2
   JAVA_HOME: 
/opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/17.0.8-1/x6[4](https://github.com/apache/camel/actions/runs/6560385887/job/17818487102?pr=11756#step:6:4)
   
JAVA_HOME_17_X[6](https://github.com/apache/camel/actions/runs/6560385887/job/17818487102?pr=11756#step:6:6)4:
 
/opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/1[7](https://github.com/apache/camel/actions/runs/6560385887/job/17818487102?pr=11756#step:6:7).0.[8](https://github.com/apache/camel/actions/runs/6560385887/job/17818487102?pr=11756#step:6:9)-1/x64
   Error: Process completed with exit code 1.
   ```


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

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

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



Re: [PR] Fix #5437 to avoid FastCamelContext creating TypeConverter [camel-quarkus]

2023-10-18 Thread via GitHub


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


-- 
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: Fix #5437 to avoid FastCamelContext creating TypeConverter

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

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


The following commit(s) were added to refs/heads/main by this push:
 new 261a489c80 Fix #5437 to avoid FastCamelContext creating TypeConverter
261a489c80 is described below

commit 261a489c80154ca6e24ca5aa64d40cfece0374db
Author: Zheng Feng 
AuthorDate: Wed Oct 18 17:19:50 2023 +0800

Fix #5437 to avoid FastCamelContext creating TypeConverter
---
 .../java/org/apache/camel/quarkus/core/CamelContextRecorder.java | 4 
 .../main/java/org/apache/camel/quarkus/core/FastCamelContext.java| 5 +
 2 files changed, 9 insertions(+)

diff --git 
a/extensions-core/core/runtime/src/main/java/org/apache/camel/quarkus/core/CamelContextRecorder.java
 
b/extensions-core/core/runtime/src/main/java/org/apache/camel/quarkus/core/CamelContextRecorder.java
index fd5ca69990..1341696ffe 100644
--- 
a/extensions-core/core/runtime/src/main/java/org/apache/camel/quarkus/core/CamelContextRecorder.java
+++ 
b/extensions-core/core/runtime/src/main/java/org/apache/camel/quarkus/core/CamelContextRecorder.java
@@ -27,6 +27,7 @@ import org.apache.camel.CamelContext;
 import org.apache.camel.ExtendedCamelContext;
 import org.apache.camel.RouteConfigurationsBuilder;
 import org.apache.camel.RoutesBuilder;
+import org.apache.camel.TypeConverter;
 import org.apache.camel.builder.LambdaRouteBuilder;
 import org.apache.camel.builder.RouteBuilder;
 import org.apache.camel.builder.endpoint.EndpointRouteBuilder;
@@ -73,6 +74,9 @@ public class CamelContextRecorder {
 TypeConverterRegistry typeConverterRegistryValue = 
typeConverterRegistry.getValue();
 typeConverterRegistryValue.setInjector(new 
FastTypeConverterInjector(context));
 context.setTypeConverterRegistry(typeConverterRegistryValue);
+if (typeConverterRegistryValue instanceof TypeConverter) {
+context.setTypeConverter((TypeConverter) 
typeConverterRegistryValue);
+}
 context.setLoadTypeConverters(false);
 
 extendedCamelContext.addContextPlugin(ModelJAXBContextFactory.class, 
contextFactory.getValue());
diff --git 
a/extensions-core/core/runtime/src/main/java/org/apache/camel/quarkus/core/FastCamelContext.java
 
b/extensions-core/core/runtime/src/main/java/org/apache/camel/quarkus/core/FastCamelContext.java
index 407b08de02..465f7c9110 100644
--- 
a/extensions-core/core/runtime/src/main/java/org/apache/camel/quarkus/core/FastCamelContext.java
+++ 
b/extensions-core/core/runtime/src/main/java/org/apache/camel/quarkus/core/FastCamelContext.java
@@ -107,6 +107,11 @@ public class FastCamelContext extends DefaultCamelContext 
implements CatalogCame
 return null;
 }
 
+@Override
+protected boolean eagerCreateTypeConverter() {
+return false;
+}
+
 @Override
 protected TypeConverter createTypeConverter() {
 // TypeConverter impls are resolved at build time



Re: [I] [Camel 4.2.0] FastCamelContext failed [camel-quarkus]

2023-10-18 Thread via GitHub


zhfeng closed issue #5437: [Camel 4.2.0] FastCamelContext failed
URL: https://github.com/apache/camel-quarkus/issues/5437


-- 
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] Fix link for building page on readme [camel]

2023-10-18 Thread via GitHub


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

   # Description
   
   previous link is going to this page:
   
   
![image](https://github.com/apache/camel/assets/1105127/fda7d251-e488-4ee7-b6b5-73ff2dc61b8f)
   
   
   # 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



  1   2   3   >