[GitHub] [camel-k-runtime] lburgazzoli merged pull request #746: camel quarkus 2.4.0
lburgazzoli merged pull request #746: URL: https://github.com/apache/camel-k-runtime/pull/746 -- 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-runtime] 10/12: chore: fix deprecation warnings
This is an automated email from the ASF dual-hosted git repository. lburgazzoli pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-k-runtime.git commit c726ce5ef11e6ff509a33799075098bc9c032d2d Author: Luca Burgazzoli AuthorDate: Fri Oct 22 19:07:38 2021 +0200 chore: fix deprecation warnings --- .../apache/camel/k/tooling/maven/GenerateDependencyListMojo.java| 6 +++--- .../main/java/org/apache/camel/k/tooling/maven/GenerateSupport.java | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/support/camel-k-maven-plugin/src/main/java/org/apache/camel/k/tooling/maven/GenerateDependencyListMojo.java b/support/camel-k-maven-plugin/src/main/java/org/apache/camel/k/tooling/maven/GenerateDependencyListMojo.java index 09ba7f7..5cac698 100644 --- a/support/camel-k-maven-plugin/src/main/java/org/apache/camel/k/tooling/maven/GenerateDependencyListMojo.java +++ b/support/camel-k-maven-plugin/src/main/java/org/apache/camel/k/tooling/maven/GenerateDependencyListMojo.java @@ -28,6 +28,7 @@ import java.util.Collections; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; +import java.util.Objects; import java.util.stream.Collectors; import org.apache.maven.artifact.Artifact; @@ -40,7 +41,6 @@ import org.apache.maven.plugins.annotations.Mojo; import org.apache.maven.plugins.annotations.Parameter; import org.apache.maven.plugins.annotations.ResolutionScope; import org.apache.maven.project.MavenProject; -import org.apache.maven.shared.utils.StringUtils; import org.yaml.snakeyaml.DumperOptions; import org.yaml.snakeyaml.Yaml; @@ -93,8 +93,8 @@ public class GenerateDependencyListMojo extends AbstractMojo { } private boolean isCompileOrRuntime(Artifact artifact) { -return StringUtils.equals(artifact.getScope(), DefaultArtifact.SCOPE_COMPILE) -|| StringUtils.equals(artifact.getScope(), DefaultArtifact.SCOPE_RUNTIME); +return Objects.equals(artifact.getScope(), DefaultArtifact.SCOPE_COMPILE) +|| Objects.equals(artifact.getScope(), DefaultArtifact.SCOPE_RUNTIME); } private Map artifactToMap(Artifact artifact) { diff --git a/support/camel-k-maven-plugin/src/main/java/org/apache/camel/k/tooling/maven/GenerateSupport.java b/support/camel-k-maven-plugin/src/main/java/org/apache/camel/k/tooling/maven/GenerateSupport.java index e8369d0..2f17bdf 100644 --- a/support/camel-k-maven-plugin/src/main/java/org/apache/camel/k/tooling/maven/GenerateSupport.java +++ b/support/camel-k-maven-plugin/src/main/java/org/apache/camel/k/tooling/maven/GenerateSupport.java @@ -20,7 +20,7 @@ import java.io.IOException; import java.io.InputStream; import java.nio.charset.StandardCharsets; -import org.apache.maven.shared.utils.io.IOUtil; +import org.apache.commons.io.IOUtils; public final class GenerateSupport { private GenerateSupport() { @@ -32,7 +32,7 @@ public final class GenerateSupport { throw new IllegalStateException("Unable to find catalog-license.txt"); } -return IOUtil.toString(is, StandardCharsets.UTF_8.name()); +return IOUtils.toString(is, StandardCharsets.UTF_8.name()); } } }
[camel-k-runtime] 02/12: fix: move tests classes to a dedicate package to avoid split package warning
This is an automated email from the ASF dual-hosted git repository. lburgazzoli pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-k-runtime.git commit d0d582ce9884308344f306e35f1822d83ab487b0 Author: Luca Burgazzoli AuthorDate: Fri Oct 22 18:24:43 2021 +0200 fix: move tests classes to a dedicate package to avoid split package warning --- .../org/apache/camel/k/loader/jsh/quarkus/{ => it}/JshApplication.java | 2 +- .../test/java/org/apache/camel/k/loader/jsh/{ => it}/JshLoaderTest.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/itests/camel-k-itests-loader-jsh/src/main/java/org/apache/camel/k/loader/jsh/quarkus/JshApplication.java b/itests/camel-k-itests-loader-jsh/src/main/java/org/apache/camel/k/loader/jsh/quarkus/it/JshApplication.java similarity index 96% rename from itests/camel-k-itests-loader-jsh/src/main/java/org/apache/camel/k/loader/jsh/quarkus/JshApplication.java rename to itests/camel-k-itests-loader-jsh/src/main/java/org/apache/camel/k/loader/jsh/quarkus/it/JshApplication.java index fa9dfbf..33db01d 100644 --- a/itests/camel-k-itests-loader-jsh/src/main/java/org/apache/camel/k/loader/jsh/quarkus/JshApplication.java +++ b/itests/camel-k-itests-loader-jsh/src/main/java/org/apache/camel/k/loader/jsh/quarkus/it/JshApplication.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.k.loader.jsh.quarkus; +package org.apache.camel.k.loader.jsh.quarkus.it; import javax.enterprise.context.ApplicationScoped; import javax.inject.Inject; diff --git a/itests/camel-k-itests-loader-jsh/src/test/java/org/apache/camel/k/loader/jsh/JshLoaderTest.java b/itests/camel-k-itests-loader-jsh/src/test/java/org/apache/camel/k/loader/jsh/it/JshLoaderTest.java similarity index 97% rename from itests/camel-k-itests-loader-jsh/src/test/java/org/apache/camel/k/loader/jsh/JshLoaderTest.java rename to itests/camel-k-itests-loader-jsh/src/test/java/org/apache/camel/k/loader/jsh/it/JshLoaderTest.java index d2b11ec..5a7e3c2 100644 --- a/itests/camel-k-itests-loader-jsh/src/test/java/org/apache/camel/k/loader/jsh/JshLoaderTest.java +++ b/itests/camel-k-itests-loader-jsh/src/test/java/org/apache/camel/k/loader/jsh/it/JshLoaderTest.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.k.loader.jsh; +package org.apache.camel.k.loader.jsh.it; import java.io.IOException; import java.io.InputStream;
[camel-k-runtime] 12/12: chore: remove staging repo
This is an automated email from the ASF dual-hosted git repository. lburgazzoli pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-k-runtime.git commit 316264f125a3a1fbe1bbd297fdb76fb8e0262845 Author: Luca Burgazzoli AuthorDate: Tue Nov 2 07:28:15 2021 +0100 chore: remove staging repo --- pom.xml | 4 1 file changed, 4 insertions(+) diff --git a/pom.xml b/pom.xml index 4739e11..dc796a6 100644 --- a/pom.xml +++ b/pom.xml @@ -382,6 +382,7 @@ + apache.snapshots https://repository.apache.org/snapshots/ @@ -407,6 +409,7 @@ + apache.snapshots https://repository.apache.org/snapshots/
[camel-k-runtime] branch main updated (345af2c -> 316264f)
This is an automated email from the ASF dual-hosted git repository. lburgazzoli pushed a change to branch main in repository https://gitbox.apache.org/repos/asf/camel-k-runtime.git. from 345af2c Updated CHANGELOG.md new 9bbdc6b deps: update to camel-quarkus 2.4.0 new d0d582c fix: move tests classes to a dedicate package to avoid split package warning new 6cd3ad4 deps: update directory-maven-plugin to v1.0.0 new 3f28222 deps: update gmavenplus-plugin to v1.13.0 new ec69384 deps: update maven-pmd-plugin to v3.15.0 new 88cdc7f deps: update checkstyle to v8.44 new bfb51db deps: update directory-maven-plugin to v1.0 new 5c51027 ci: switch to actions/setup-java@v2, use temurin distribution, build on java 17 new 9f7f52d deps: force asm version for maven-pmd-plugin new c726ce5 chore: fix deprecation warnings new fd84ba3 fix: adapt pom to build on Java 17 new 316264f chore: remove staging repo The 12 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: .github/workflows/ci-build-camel-main.yaml | 7 +- .github/workflows/ci-build.yml | 20 -- .github/workflows/pr-validate.yml | 11 ++- .../jsh/quarkus/{ => it}/JshApplication.java | 2 +- .../camel/k/loader/jsh/{ => it}/JshLoaderTest.java | 2 +- pom.xml| 80 +++--- .../tooling/maven/GenerateDependencyListMojo.java | 6 +- .../camel/k/tooling/maven/GenerateSupport.java | 4 +- support/camel-k-runtime-bom/pom.xml| 31 - 9 files changed, 119 insertions(+), 44 deletions(-) rename itests/camel-k-itests-loader-jsh/src/main/java/org/apache/camel/k/loader/jsh/quarkus/{ => it}/JshApplication.java (96%) rename itests/camel-k-itests-loader-jsh/src/test/java/org/apache/camel/k/loader/jsh/{ => it}/JshLoaderTest.java (97%)
[camel-k-runtime] 04/12: deps: update gmavenplus-plugin to v1.13.0
This is an automated email from the ASF dual-hosted git repository. lburgazzoli pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-k-runtime.git commit 3f282220923cdce336e5fd3c6380a0e40219dec1 Author: Luca Burgazzoli AuthorDate: Fri Oct 22 18:29:37 2021 +0200 deps: update gmavenplus-plugin to v1.13.0 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 410277c..7b20123 100644 --- a/pom.xml +++ b/pom.xml @@ -57,7 +57,7 @@ 2.4.1.Final -1.12.1 +1.13.0 3.8.1 3.0.0-M5 1.7.0
[camel-k-runtime] 01/12: deps: update to camel-quarkus 2.4.0
This is an automated email from the ASF dual-hosted git repository. lburgazzoli pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-k-runtime.git commit 9bbdc6b02b7a101dadd0b300bbdc48a56a906d94 Author: Luca Burgazzoli AuthorDate: Fri Oct 22 18:24:05 2021 +0200 deps: update to camel-quarkus 2.4.0 --- pom.xml | 30 ++ 1 file changed, 26 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index da99cbe..e94a7e3 100644 --- a/pom.xml +++ b/pom.xml @@ -22,7 +22,7 @@ org.apache.camel camel-dependencies -3.11.2 +3.12.0 4.0.0 @@ -38,12 +38,12 @@ 11 11 -3.11.2 +3.12.0 -2.3.0 +2.4.0 21.2.0 -2.3.0.Final +2.4.0.Final 3.0.9 @@ -382,6 +382,17 @@ +camel.quarkus.staging + https://repository.apache.org/content/repositories/orgapachecamel-1370 +Apache Snapshot Repo + +false + + +true + + + apache.snapshots https://repository.apache.org/snapshots/ Apache Snapshot Repo @@ -396,6 +407,17 @@ +camel.quarkus.staging + https://repository.apache.org/content/repositories/orgapachecamel-1370 +Apache Snapshot Repo + +false + + +true + + + apache.snapshots https://repository.apache.org/snapshots/
[camel-k-runtime] 11/12: fix: adapt pom to build on Java 17
This is an automated email from the ASF dual-hosted git repository. lburgazzoli pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-k-runtime.git commit fd84ba3606c2bf6ebc88a601d85a28516c0b1785 Author: Luca Burgazzoli AuthorDate: Fri Oct 22 19:59:40 2021 +0200 fix: adapt pom to build on Java 17 --- support/camel-k-runtime-bom/pom.xml | 31 ++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/support/camel-k-runtime-bom/pom.xml b/support/camel-k-runtime-bom/pom.xml index b8ca927..030aab4 100644 --- a/support/camel-k-runtime-bom/pom.xml +++ b/support/camel-k-runtime-bom/pom.xml @@ -33,9 +33,12 @@ 3.11.0 - + 1 + +3.0.0 +3.6.3 @@ -222,6 +225,32 @@ + + + + +org.apache.maven.plugins +maven-enforcer-plugin +${maven-enforcer-plugin-version} + + +enforce-maven + +enforce + + + + +${maven-version} + + + + + + + + + release
[camel-k-runtime] 08/12: ci: switch to actions/setup-java@v2, use temurin distribution, build on java 17
This is an automated email from the ASF dual-hosted git repository. lburgazzoli pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-k-runtime.git commit 5c51027a80a837192650e4c5b1d8130cb069f4e8 Author: Luca Burgazzoli AuthorDate: Fri Oct 22 18:52:52 2021 +0200 ci: switch to actions/setup-java@v2, use temurin distribution, build on java 17 --- .github/workflows/ci-build-camel-main.yaml | 7 --- .github/workflows/ci-build.yml | 20 +--- .github/workflows/pr-validate.yml | 11 --- 3 files changed, 25 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci-build-camel-main.yaml b/.github/workflows/ci-build-camel-main.yaml index 3de0679..7ac83ab 100644 --- a/.github/workflows/ci-build-camel-main.yaml +++ b/.github/workflows/ci-build-camel-main.yaml @@ -49,10 +49,11 @@ jobs: - uses: actions/checkout@v2 with: persist-credentials: false -- name: Set up JDK 11 - uses: AdoptOpenJDK/install-jdk@v1 +- name: Set up JDK ${{ matrix.java }} + uses: actions/setup-java@v2 with: -version: '11' +distribution: 'temurin' +java-version: ${{ matrix.java }} - name: Cache Maven packages uses: actions/cache@v2 with: diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index 51cc111..2acfec9 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -46,14 +46,19 @@ on: jobs: build: runs-on: ubuntu-latest +strategy: + matrix: +java: + - '11' steps: - uses: actions/checkout@v2 with: persist-credentials: false -- name: Set up JDK 11 - uses: AdoptOpenJDK/install-jdk@v1 +- name: Set up JDK ${{ matrix.java }} + uses: actions/setup-java@v2 with: -version: '11' +distribution: 'temurin' +java-version: ${{ matrix.java }} - name: Build camel-k-runtime run: ./mvnw -V -ntp clean install - name: Tar Maven Repo @@ -69,15 +74,16 @@ jobs: strategy: matrix: java: - - '14' + - '17' steps: - uses: actions/checkout@v2 with: persist-credentials: false - - name: Set up JDK - ${{ matrix.java }} -uses: AdoptOpenJDK/install-jdk@v1 + - name: Set up JDK ${{ matrix.java }} +uses: actions/setup-java@v2 with: - version: ${{ matrix.java }} + distribution: 'temurin' + java-version: ${{ matrix.java }} - name: Build on ${{ matrix.java }} run: | ./mvnw ${MAVEN_ARGS} -B clean install diff --git a/.github/workflows/pr-validate.yml b/.github/workflows/pr-validate.yml index 09b59f9..384ceed 100644 --- a/.github/workflows/pr-validate.yml +++ b/.github/workflows/pr-validate.yml @@ -35,12 +35,17 @@ on: jobs: build: runs-on: ubuntu-latest +strategy: + matrix: +java: + - '11' steps: - uses: actions/checkout@v2 -- name: Set up JDK 11 - uses: AdoptOpenJDK/install-jdk@v1 +- name: Set up JDK ${{ matrix.java }} + uses: actions/setup-java@v2 with: -version: '11' +distribution: 'temurin' +java-version: ${{ matrix.java }} - name: mvn package run: | ./mvnw ${MAVEN_ARGS} \
[camel-k-runtime] 06/12: deps: update checkstyle to v8.44
This is an automated email from the ASF dual-hosted git repository. lburgazzoli pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-k-runtime.git commit 88cdc7f0a976c2321819196ef7626037342faee2 Author: Luca Burgazzoli AuthorDate: Fri Oct 22 18:31:58 2021 +0200 deps: update checkstyle to v8.44 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 0346df6..6880cab 100644 --- a/pom.xml +++ b/pom.xml @@ -67,7 +67,7 @@ 3.0.0 4.1 3.1.2 -8.43 +8.44 3.0.1 3.0.0-M1 3.3.1
[camel-k-runtime] 05/12: deps: update maven-pmd-plugin to v3.15.0
This is an automated email from the ASF dual-hosted git repository. lburgazzoli pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-k-runtime.git commit ec693847604d552fb8debd71fbdc0087e814e58b Author: Luca Burgazzoli AuthorDate: Fri Oct 22 18:31:17 2021 +0200 deps: update maven-pmd-plugin to v3.15.0 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 7b20123..0346df6 100644 --- a/pom.xml +++ b/pom.xml @@ -81,7 +81,7 @@ 3.0.0 3.2.0 3.9.1 -3.14.0 +3.15.0 3.6.1 3.6.3 3.6.1
[camel-k-runtime] 09/12: deps: force asm version for maven-pmd-plugin
This is an automated email from the ASF dual-hosted git repository. lburgazzoli pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-k-runtime.git commit 9f7f52d7ed9fe71275481d168fb567d20f4edd1b Author: Luca Burgazzoli AuthorDate: Fri Oct 22 19:03:07 2021 +0200 deps: force asm version for maven-pmd-plugin --- pom.xml | 8 1 file changed, 8 insertions(+) diff --git a/pom.xml b/pom.xml index 3c5800b..4739e11 100644 --- a/pom.xml +++ b/pom.xml @@ -82,6 +82,7 @@ 3.2.0 3.9.1 3.15.0 +9.2 3.6.1 3.6.3 3.6.1 @@ -1046,6 +1047,13 @@ ${project.build.directory}/generated-sources + + +org.ow2.asm +asm + ${maven-pmd-plugin-asm-version} + +
[camel-k-runtime] 07/12: deps: update directory-maven-plugin to v1.0
This is an automated email from the ASF dual-hosted git repository. lburgazzoli pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-k-runtime.git commit bfb51dbb2dc3917267d1d8f6876a13325f1a1835 Author: Luca Burgazzoli AuthorDate: Fri Oct 22 18:33:04 2021 +0200 deps: update directory-maven-plugin to v1.0 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 6880cab..3c5800b 100644 --- a/pom.xml +++ b/pom.xml @@ -63,7 +63,7 @@ 1.7.0 3.0.0-M5 2.8.1 -1.0.0 +1.0 3.0.0 4.1 3.1.2
[camel-k-runtime] 03/12: deps: update directory-maven-plugin to v1.0.0
This is an automated email from the ASF dual-hosted git repository. lburgazzoli pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-k-runtime.git commit 6cd3ad408efb572cb119fa8fa7586507f754ec62 Author: Luca Burgazzoli AuthorDate: Fri Oct 22 18:29:09 2021 +0200 deps: update directory-maven-plugin to v1.0.0 --- pom.xml | 32 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/pom.xml b/pom.xml index e94a7e3..410277c 100644 --- a/pom.xml +++ b/pom.xml @@ -63,7 +63,7 @@ 1.7.0 3.0.0-M5 2.8.1 -0.3.1 +1.0.0 3.0.0 4.1 3.1.2 @@ -204,13 +204,13 @@ org.jboss.jandex jandex-maven-plugin ${jandex-maven-plugin-version} - - -org.jboss + + +org.jboss jandex ${jandex-version} - - + + org.apache.maven.plugins @@ -264,25 +264,25 @@ org.apache.camel camel-component-maven-plugin ${camel-version} - - -org.jboss + + +org.jboss jandex ${jandex-version} - - + + org.apache.camel camel-package-maven-plugin ${camel-version} - - -org.jboss + + +org.jboss jandex ${jandex-version} - - + + org.codehaus.gmavenplus
[camel] 01/02: Upgrade AWS SDK v2 to version 2.17.72
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit 25fba7fdd6b498367aebabd53d38122fcebd9a7e Author: Andrea Cosentino AuthorDate: Tue Nov 2 06:47:19 2021 +0100 Upgrade AWS SDK v2 to version 2.17.72 --- parent/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parent/pom.xml b/parent/pom.xml index 0d1b448..70627cd 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -80,7 +80,7 @@ 1.10.2 1.10.2 4.1.1 -2.17.67 +2.17.72 2.6.1 1.2.14 2.11.3
[camel] branch main updated (ff14762 -> 3cb172f)
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a change to branch main in repository https://gitbox.apache.org/repos/asf/camel.git. from ff14762 Escape due to antora is weird. new 25fba7f Upgrade AWS SDK v2 to version 2.17.72 new 3cb172f Sync deps and regen 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-dependencies/pom.xml |2 +- .../sql/stored/template/generated/SSPTParser.java | 833 ++--- .../template/generated/SSPTParserConstants.java| 110 +- .../template/generated/SSPTParserTokenManager.java | 1222 ++-- parent/pom.xml |2 +- 5 files changed, 1095 insertions(+), 1074 deletions(-)
[camel] 02/02: Sync deps and regen
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit 3cb172f9ec44b7243e90077f31a8c15ee9a330b8 Author: Andrea Cosentino AuthorDate: Tue Nov 2 07:27:09 2021 +0100 Sync deps and regen --- camel-dependencies/pom.xml |2 +- .../sql/stored/template/generated/SSPTParser.java | 833 ++--- .../template/generated/SSPTParserConstants.java| 110 +- .../template/generated/SSPTParserTokenManager.java | 1222 ++-- 4 files changed, 1094 insertions(+), 1073 deletions(-) diff --git a/camel-dependencies/pom.xml b/camel-dependencies/pom.xml index 47bb030..9f17497 100644 --- a/camel-dependencies/pom.xml +++ b/camel-dependencies/pom.xml @@ -65,7 +65,7 @@ 1.10.2 1.10.2 4.1.1 -2.17.67 +2.17.72 2.6.1 1.2.14 4.20.0 diff --git a/components/camel-sql/src/main/java/org/apache/camel/component/sql/stored/template/generated/SSPTParser.java b/components/camel-sql/src/main/java/org/apache/camel/component/sql/stored/template/generated/SSPTParser.java index 13c79f5..319202c 100644 --- a/components/camel-sql/src/main/java/org/apache/camel/component/sql/stored/template/generated/SSPTParser.java +++ b/components/camel-sql/src/main/java/org/apache/camel/component/sql/stored/template/generated/SSPTParser.java @@ -3,419 +3,476 @@ package org.apache.camel.component.sql.stored.template.generated; import java.io.Reader; -import org.apache.camel.spi.ClassResolver; import org.apache.camel.component.sql.stored.template.ast.*; +import org.apache.camel.spi.ClassResolver; public class SSPTParser implements SSPTParserConstants { - int parameterNameCounter = 0; - - ClassResolver classResolver; - - public SSPTParser(Reader reader, ClassResolver classResolver) { - this(reader); - this.classResolver = classResolver; - } - - String createNextParameterName() { - return "_"+(parameterNameCounter++); - } - - final public Template parse() throws ParseException { -Token procedureName; -Template template = new Template(); -Object parameter = null; -procedureName = jj_consume_token(IDENTIFIER); -jj_consume_token(PROCEDURE_BEGIN); -switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { -case 2: -case 3: -case NUMBER: -case PARAMETER_NAME: -case IDENTIFIER: - parameter = Parameter(); - template.addParameter(parameter); - label_1: - while (true) { -switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { -case SEPARATOR: - ; - break; -default: - jj_la1[0] = jj_gen; - break label_1; -} -jj_consume_token(SEPARATOR); -parameter = Parameter(); -template.addParameter(parameter); - } - break; -default: - jj_la1[1] = jj_gen; - ; +int parameterNameCounter = 0; + +ClassResolver classResolver; + +public SSPTParser(Reader reader, ClassResolver classResolver) { +this(reader); +this.classResolver = classResolver; } -jj_consume_token(PROCEDURE_END); -jj_consume_token(0); - template.setProcedureName(procedureName.toString()); - {if (true) return template;} -throw new Error("Missing return statement in function"); - } - - final public Object Parameter() throws ParseException { -Object param; -switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { -case NUMBER: -case PARAMETER_NAME: -case IDENTIFIER: - param = InParameter(); - {if (true) return param;} - break; -case 2: - param = OutParameter(); - {if (true) return param;} - break; -case 3: - param = InOutParameter(); - {if (true) return param;} - break; -default: - jj_la1[2] = jj_gen; - jj_consume_token(-1); - throw new ParseException(); + +String createNextParameterName() { +return "_" + (parameterNameCounter++); } -throw new Error("Missing return statement in function"); - } - - final public InParameter InParameter() throws ParseException { - Token sqlTypeToken; - String name = null; - Token valueSrcToken; - Integer scale = null; - String typeName = null; -switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { -case PARAMETER_NAME: - name = ParameterName(); - jj_consume_token(1); - break; -default: - jj_la1[3] = jj_gen; - ; + +final public Template parse() throws ParseException { +Token procedureName; +Template template = new Template(); +Object parameter = null; +procedureName = jj_consume_token(IDENTIFIER); +jj_co
[GitHub] [camel] davsclaus commented on pull request #6362: CAMEL-17156: camel-aws2 - do not interrupt extension
davsclaus commented on pull request #6362: URL: https://github.com/apache/camel/pull/6362#issuecomment-957119119 Okay maybe you can catch that exception and check its message and then ignore it if its due to not there anymore - cannot extend. And maybe do a WARN logging (without stacktrace) or something when doing so. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-kafka-connector] oscerd edited a comment on issue #1282: camel.source.endpoint.exceptionHandler for the sftp connector not working as expected
oscerd edited a comment on issue #1282: URL: https://github.com/apache/camel-kafka-connector/issues/1282#issuecomment-957118937 The following line `camel.source.endpoint.onCompletionExceptionHandler=org.apache.camel.kafkaconnector.CustomLoggingExceptionHandler` should be `camel.source.endpoint.onCompletionExceptionHandler=#class:org.apache.camel.kafkaconnector.CustomLoggingExceptionHandler` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-kafka-connector] oscerd commented on issue #1282: camel.source.endpoint.exceptionHandler for the sftp connector not working as expected
oscerd commented on issue #1282: URL: https://github.com/apache/camel-kafka-connector/issues/1282#issuecomment-957118937 The following line camel.source.endpoint.onCompletionExceptionHandler=org.apache.camel.kafkaconnector.CustomLoggingExceptionHandler should be camel.source.endpoint.onCompletionExceptionHandler=#class:org.apache.camel.kafkaconnector.CustomLoggingExceptionHandler -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-spring-boot] branch main updated: [create-pull-request] automated change
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git The following commit(s) were added to refs/heads/main by this push: new fee0a0d [create-pull-request] automated change fee0a0d is described below commit fee0a0d7a559046ddfe0dec561e586c9efb7ea0d Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Tue Nov 2 01:00:41 2021 + [create-pull-request] automated change --- .../org/apache/camel/springboot/catalog/languages/xtokenize.json| 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/xtokenize.json b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/xtokenize.json index bca8424..bd3b281 100644 --- a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/xtokenize.json +++ b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/xtokenize.json @@ -17,7 +17,7 @@ }, "properties": { "headerName": { "kind": "attribute", "displayName": "Header Name", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Name of header to tokenize instead of using the message body." }, -"mode": { "kind": "attribute", "displayName": "Mode", "required": false, "type": "enum", "javaType": "java.lang.String", "enum": [ "i", "t", "u", "w" ], "deprecated": false, "autowired": false, "secret": false, "description": "The extraction mode. The available extraction modes are: i - injecting the contextual namespace bindings into the extracted token (default) w - wrapping the extracted token in its ancestor context u - unwrapping the extracted token to its child content t - extr [...] +"mode": { "kind": "attribute", "displayName": "Mode", "required": false, "type": "enum", "javaType": "java.lang.String", "enum": [ "i", "w", "u", "t" ], "deprecated": false, "autowired": false, "secret": false, "description": "The extraction mode. The available extraction modes are: i - injecting the contextual namespace bindings into the extracted token (default) w - wrapping the extracted token in its ancestor context u - unwrapping the extracted token to its child content t - extr [...] "group": { "kind": "attribute", "displayName": "Group", "required": false, "type": "integer", "javaType": "java.lang.Integer", "deprecated": false, "autowired": false, "secret": false, "description": "To group N parts together" }, "trim": { "kind": "attribute", "displayName": "Trim", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Whether to trim the value to remove leading and trailing whitespaces and line breaks" }, "id": { "kind": "attribute", "displayName": "Id", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Sets the id of this node" }
[GitHub] [camel-spring-boot] oscerd merged pull request #402: [Github Actions] Periodic Sync Camel Spring Boot Main Branch
oscerd merged pull request #402: URL: https://github.com/apache/camel-spring-boot/pull/402 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-quarkus] github-actions[bot] commented on issue #2927: [CI] - Camel Main Branch Build Failure
github-actions[bot] commented on issue #2927: URL: https://github.com/apache/camel-quarkus/issues/2927#issuecomment-957083142 The [camel-main](https://github.com/apache/camel-quarkus/tree/camel-main) branch build has failed: * Build ID: 1410200249-454-962f73c5-5aa0-4f9f-b57f-c43f0e9683d8 * Camel Quarkus Commit: e4dabdb8c10f1fc396d531df7a75eead87a93b07 * Camel Main Commit: 25b8fd5b2dd173c8cd44a147141793af9cdb15b3 * Link to build: https://github.com/apache/camel-quarkus/actions/runs/1410200249 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-quarkus] branch main updated: Updated CHANGELOG.md
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git The following commit(s) were added to refs/heads/main by this push: new 26ebed5 Updated CHANGELOG.md 26ebed5 is described below commit 26ebed5d348f4dc44f72ba37ca458dd8b3eb6969 Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Tue Nov 2 03:12:30 2021 + Updated CHANGELOG.md --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 990cade..9010a8f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,9 @@ **Merged pull requests:** +- Add notes about the salesforce-maven-plugin to the Salesforce extension docs [\#3250](https://github.com/apache/camel-quarkus/pull/3250) ([jamesnetherton](https://github.com/jamesnetherton)) +- Assert that Component DSL and Endpoint DSL work for AtlasMap [\#3246](https://github.com/apache/camel-quarkus/pull/3246) ([ppalaga](https://github.com/ppalaga)) +- Added explanation that Quarkus-amazon-lambda can not be used by aws2-… [\#3245](https://github.com/apache/camel-quarkus/pull/3245) ([JiriOndrusek](https://github.com/JiriOndrusek)) - Align Azurite container version with Camel [\#3244](https://github.com/apache/camel-quarkus/pull/3244) ([jamesnetherton](https://github.com/jamesnetherton)) - Use log await strategy for Spring RabbitMQ container [\#3242](https://github.com/apache/camel-quarkus/pull/3242) ([jamesnetherton](https://github.com/jamesnetherton)) - Remove bulkhead related tests as this is not yet implemented in Camel… [\#3241](https://github.com/apache/camel-quarkus/pull/3241) ([aldettinger](https://github.com/aldettinger))
[camel-k] branch main updated: Updated CHANGELOG.md
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-k.git The following commit(s) were added to refs/heads/main by this push: new fcf6dba Updated CHANGELOG.md fcf6dba is described below commit fcf6dbaa7b5bb565e433fb390b3dccb2ec9aa900 Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Tue Nov 2 03:09:30 2021 + Updated CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7f7c43a..e44686a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ - Release 1.6.1 [\#2713](https://github.com/apache/camel-k/issues/2713) - Building with buildah not working [\#2685](https://github.com/apache/camel-k/issues/2685) +- Flaky TestKameletBindingScale test? [\#2660](https://github.com/apache/camel-k/issues/2660) - build: update to latest golangci-lint [\#2333](https://github.com/apache/camel-k/issues/2333) - Use environment independent `operator-sdk` CLI version [\#2167](https://github.com/apache/camel-k/issues/2167)
[GitHub] [camel-quarkus] github-actions[bot] commented on issue #2926: [CI] - Quarkus Main Branch Build Failure
github-actions[bot] commented on issue #2926: URL: https://github.com/apache/camel-quarkus/issues/2926#issuecomment-957037046 The [quarkus-main](https://github.com/apache/camel-quarkus/tree/quarkus-main) branch build has failed: * Build ID: 1410513250-558-0594762a-42e3-46a5-9fb8-b72d5f0c387d * Camel Quarkus Commit: 25a3d41b578c610224a0126f52e2176fd05fdf53 * Quarkus Main Commit: Unknown * Link to build: https://github.com/apache/camel-quarkus/actions/runs/1410513250 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-quarkus] zhfeng opened a new pull request #3252: Re-enable Kafka ssl sasl tests
zhfeng opened a new pull request #3252: URL: https://github.com/apache/camel-quarkus/pull/3252 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-spring-boot] github-actions[bot] opened a new pull request #402: [Github Actions] Periodic Sync Camel Spring Boot Main Branch
github-actions[bot] opened a new pull request #402: URL: https://github.com/apache/camel-spring-boot/pull/402 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-spring-boot] branch automatic-periodic-sync created (now a2d31bd)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch automatic-periodic-sync in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git. at a2d31bd [create-pull-request] automated change No new revisions were added by this update.
[GitHub] [camel-quarkus] ppalaga merged pull request #3246: Assert that Component DSL and Endpoint DSL work for AtlasMap
ppalaga merged pull request #3246: URL: https://github.com/apache/camel-quarkus/pull/3246 -- 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: Assert that Component DSL and Endpoint DSL work for AtlasMap
This is an automated email from the ASF dual-hosted git repository. ppalaga pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git The following commit(s) were added to refs/heads/main by this push: new 25b8fd5 Assert that Component DSL and Endpoint DSL work for AtlasMap 25b8fd5 is described below commit 25b8fd5b2dd173c8cd44a147141793af9cdb15b3 Author: Peter Palaga AuthorDate: Mon Nov 1 11:18:19 2021 +0100 Assert that Component DSL and Endpoint DSL work for AtlasMap --- .../it/{Route.java => AtlasmapComponentDsl.java} | 25 +++--- .../camel/quarkus/component/atlasmap/it/Route.java | 6 +++--- 2 files changed, 15 insertions(+), 16 deletions(-) diff --git a/integration-tests/atlasmap/src/main/java/org/apache/camel/quarkus/component/atlasmap/it/Route.java b/integration-tests/atlasmap/src/main/java/org/apache/camel/quarkus/component/atlasmap/it/AtlasmapComponentDsl.java similarity index 55% copy from integration-tests/atlasmap/src/main/java/org/apache/camel/quarkus/component/atlasmap/it/Route.java copy to integration-tests/atlasmap/src/main/java/org/apache/camel/quarkus/component/atlasmap/it/AtlasmapComponentDsl.java index d6a5dbd..12eddb4 100644 --- a/integration-tests/atlasmap/src/main/java/org/apache/camel/quarkus/component/atlasmap/it/Route.java +++ b/integration-tests/atlasmap/src/main/java/org/apache/camel/quarkus/component/atlasmap/it/AtlasmapComponentDsl.java @@ -16,20 +16,19 @@ */ package org.apache.camel.quarkus.component.atlasmap.it; -import org.apache.camel.builder.RouteBuilder; -import org.apache.camel.quarkus.component.atlasmap.it.model.Account; +import javax.enterprise.context.ApplicationScoped; +import javax.inject.Named; +import javax.inject.Singleton; -public class Route extends RouteBuilder { -@Override -public void configure() throws Exception { +import org.apache.camel.builder.component.ComponentsBuilderFactory; +import org.apache.camel.component.atlasmap.AtlasMapComponent; -// example of Routes that need the class Account to be registred for reflection -from("platform-http:/atlasmap/json/java2csv?httpMethodRestrict=POST") -.unmarshal().json(Account.class) -.to("atlasmap:mapping/json/atlasmapping-java-to-csv.json"); - -from("platform-http:/atlasmap/json/csv2java?httpMethodRestrict=POST") -.to("atlasmap:mapping/json/atlasmapping-csv-to-java.json") -.marshal().json(Account.class); +@ApplicationScoped +public class AtlasmapComponentDsl { +@Singleton +@Named +AtlasMapComponent atlasmap() { +/* Make sure that Component DSL works for Atlasmap */ +return ComponentsBuilderFactory.atlasmap().build(); } } diff --git a/integration-tests/atlasmap/src/main/java/org/apache/camel/quarkus/component/atlasmap/it/Route.java b/integration-tests/atlasmap/src/main/java/org/apache/camel/quarkus/component/atlasmap/it/Route.java index d6a5dbd..0edb7c0 100644 --- a/integration-tests/atlasmap/src/main/java/org/apache/camel/quarkus/component/atlasmap/it/Route.java +++ b/integration-tests/atlasmap/src/main/java/org/apache/camel/quarkus/component/atlasmap/it/Route.java @@ -16,17 +16,17 @@ */ package org.apache.camel.quarkus.component.atlasmap.it; -import org.apache.camel.builder.RouteBuilder; +import org.apache.camel.builder.endpoint.EndpointRouteBuilder; import org.apache.camel.quarkus.component.atlasmap.it.model.Account; -public class Route extends RouteBuilder { +public class Route extends EndpointRouteBuilder { @Override public void configure() throws Exception { // example of Routes that need the class Account to be registred for reflection from("platform-http:/atlasmap/json/java2csv?httpMethodRestrict=POST") .unmarshal().json(Account.class) -.to("atlasmap:mapping/json/atlasmapping-java-to-csv.json"); +.to(atlasmap("mapping/json/atlasmapping-java-to-csv.json")); from("platform-http:/atlasmap/json/csv2java?httpMethodRestrict=POST") .to("atlasmap:mapping/json/atlasmapping-csv-to-java.json")
[GitHub] [camel-quarkus] djencks commented on pull request #3246: Assert that Component DSL and Endpoint DSL work for AtlasMap
djencks commented on pull request #3246: URL: https://github.com/apache/camel-quarkus/pull/3246#issuecomment-956544813 If what is inside the {}follows asciidoc syntax for an attribute Asciidoctor will interpret it as one, so an ${} expression will need escaping. If there's a '.' It can't be an attribute name so no escaping is needed. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-quarkus] davsclaus opened a new issue #3251: Camel Rest DSL - Expose Rest DSL services to quarkus openapi
davsclaus opened a new issue #3251: URL: https://github.com/apache/camel-quarkus/issues/3251 Quarkus can expose its REST servcices to swagger ui https://quarkus.io/guides/openapi-swaggerui We have something similar for camel on spring boot via camel-springdoc-starter https://github.com/apache/camel-spring-boot/tree/main/components-starter/camel-springdoc-starter This code that discovers the Camel Rest DSL and expose that, can be inspiration for something similar to camel-quarkus. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-quarkus] davsclaus commented on pull request #3246: Assert that Component DSL and Endpoint DSL work for AtlasMap
davsclaus commented on pull request #3246: URL: https://github.com/apache/camel-quarkus/pull/3246#issuecomment-956540146 Trying to fix that weird antora xref error about ${body} https://github.com/apache/camel/commit/ff147620a0ff99f8efd67be9c9a7a47c4dd2d760 -- 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: Escape due to antora is weird.
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 ff14762 Escape due to antora is weird. ff14762 is described below commit ff147620a0ff99f8efd67be9c9a7a47c4dd2d760 Author: Claus Ibsen AuthorDate: Mon Nov 1 20:48:42 2021 +0100 Escape due to antora is weird. --- docs/user-manual/modules/ROOT/pages/bean-binding.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/user-manual/modules/ROOT/pages/bean-binding.adoc b/docs/user-manual/modules/ROOT/pages/bean-binding.adoc index 4d2b08f..7b95e0a 100644 --- a/docs/user-manual/modules/ROOT/pages/bean-binding.adoc +++ b/docs/user-manual/modules/ROOT/pages/bean-binding.adoc @@ -217,7 +217,7 @@ the method option * The value is a String enclosed with either single or double quotes * The value is null which denotes a `null` value * It can be evaluated using the xref:components:languages:simple-language.adoc[Simple] language, which -means you can use, e.g., `${body}`, `${header.foo}` and others +means you can use, e.g., `$\{body}`, `${header.foo}` and others xref:components:languages:simple-language.adoc[Simple] tokens. Notice the tokens must be enclosed with `${ }`.
[GitHub] [camel-quarkus] djencks commented on pull request #3246: Assert that Component DSL and Endpoint DSL work for AtlasMap
djencks commented on pull request #3246: URL: https://github.com/apache/camel-quarkus/pull/3246#issuecomment-956512398 Someone broke the user manual by using an unescaped ${body}, it has nothing to do with your PR. The current way of doing partial site builds is not maintainable, I hope to start some discussion on alternatives soon. Sent from my iPhone > On Nov 1, 2021, at 9:49 AM, Peter Palaga ***@***.***> wrote: > > > I do not think this PR impacts the documentation in any way. I do not see any meaningful message in the log that would explain what's wrong. Any idea what's wrong @djencks ? > > — > You are receiving this because you were mentioned. > Reply to this email directly, view it on GitHub, or unsubscribe. -- 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-16861: Cleanup docs
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 7103503 CAMEL-16861: Cleanup docs 7103503 is described below commit 7103503547e8dbe03b38cb1aeb279b12c8015c93 Author: Claus Ibsen AuthorDate: Mon Nov 1 19:28:37 2021 +0100 CAMEL-16861: Cleanup docs --- .../modules/ROOT/pages/backlog-debugger.adoc | 77 +++--- docs/user-manual/modules/ROOT/pages/debugger.adoc | 26 2 files changed, 35 insertions(+), 68 deletions(-) diff --git a/docs/user-manual/modules/ROOT/pages/backlog-debugger.adoc b/docs/user-manual/modules/ROOT/pages/backlog-debugger.adoc index d1ec1f8..84b4020 100644 --- a/docs/user-manual/modules/ROOT/pages/backlog-debugger.adoc +++ b/docs/user-manual/modules/ROOT/pages/backlog-debugger.adoc @@ -19,21 +19,11 @@ NOTE: This requires to enabled JMX by including `camel-management` JAR in the cl [width="100%",cols="10%,20%,70%",options="header",] |=== |Option |Default |Description - +|`bodyIncludeFiles` |`true` |Whether to include the message body of file based messages. The overhead is that the file content has to be read from the file. +|`bodyIncludeStreams` |`false` |Whether to include the message body of stream based messages. If enabled then beware the stream may not be re-readable later. See more about Stream Caching. +|`bodyMaxChars` |`128kb` |To limit the message body to a maximum size in the traced message. Use 0 or negative value to use unlimited size. |`enabled` |`false` |Whether the debugger is enabled or not. - -|`singleStepMode` |`false` |Whether currently in single step mode of a single -Exchange. - -|`bodyMaxChars` |`128kb` |To limit the message body to a maximum size in the traced message. Use 0 -or negative value to use unlimited size. - -|`bodyIncludeStreams` |`false` |Whether to include the message body of stream based messages. If enabled -then beware the stream may not be re-readable later. See more about -Stream Caching. - -|`bodyIncludeFiles` |`true` |Whether to include the message body of file based messages. The overhead -is that the file content has to be read from the file. +|`singleStepMode` |`false` |Whether currently in single step mode of a single Exchange. |=== == Operations @@ -41,54 +31,31 @@ is that the file content has to be read from the file. [width="100%",cols="10%,20%,70%",options="header",] |=== |Option |Type |Description - -|`enableDebugger` |`void` |To enable the debugger - +|`addBreakpoint(nodeId)` |`void` |To add a breakpoint at the given node. +|`addConditionalBreakpoint(nodeId, language, predicate)` |`void` |To add a conditional breakpoint at the given node. The predicate is created from the language parameter. +|`disableBreakpoint(nodeId)` |`void` |To disable a breakpoint temporary. |`disableDebugger` |`void` |To disable the debugger - -|`getDebuggerCounter` |`long` |Gets the total number of debugged messages. - -|`resetDebuggerCounter` |`void` |To reset the debugger counter. - |`dumpTracedMessagesAsXml(nodeId)` |`String` |To dump the debugged messages from the give node id in XML format. - -|`addBreakpoint(nodeId)` |`void` |To add a breakpoint at the given node. - -|`addConditionalBreakpoint(nodeId, language, predicate)` |`void` |To add a conditional breakpoint at the given node. The predicate is -created from the language parameter. - +|`enableBreakpoint(nodeId)` |`void` |To active a breakpoint which has been temporary disabled. +|`enableDebugger` |`void` |To enable the debugger +|`getBreakpoints` |`Set` |To get a set of all the nodes which has a breakpoint added. +|`getDebuggerCounter` |`long` |Gets the total number of debugged messages. +|`getSuspendedBreakpointNodeIds` |`Set` |To get a set of all the nodes which has suspended breakpoints (eg an Exchange at the breakpoint which is suspended). |`removeBreakpoint(nodeId)` |`void` |To remove the breakpoint from the given node id. - -|`resumeBreakpoint(nodeId)` |`void` |To resume a suspend breakpoint, which will then continue routing the -Exchange. - +|`resetDebuggerCounter` |`void` |To reset the debugger counter. |`resumeAll` |`void` |To resume all suspended breakpoints. - -|`getSuspendedBreakpointNodeIds` |`Set` |To get a set of all the nodes which has suspended breakpoints (eg an -Exchange at the breakpoint which is suspended). - -|`stepBreakpoint(nodeId)` |`void` |To start single step mode from a suspended breakpoint at the given node. -Then invoke `step` to step to next node in the route. - +|`resumeBreakpoint(nodeId)` |`void` |To resume a suspend breakpoint, which will then continue routing the Exchange. +|`setFallbackTimeout(val
[camel] 02/02: CAMEL-16861: Cleanup docs
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit 79b654092f45daee3a25928c8731564668eb519f Author: Claus Ibsen AuthorDate: Mon Nov 1 19:19:59 2021 +0100 CAMEL-16861: Cleanup docs --- .../main/docs/modules/eips/pages/marshal-eip.adoc | 2 + .../docs/modules/eips/pages/unmarshal-eip.adoc | 2 + .../assets/images/images/MessageTranslator.gif | Bin 0 -> 2183 bytes .../ROOT/pages/cronscheduledroutepolicy.adoc | 40 + .../modules/ROOT/pages/data-format.adoc| 99 +++-- 5 files changed, 39 insertions(+), 104 deletions(-) diff --git a/core/camel-core-engine/src/main/docs/modules/eips/pages/marshal-eip.adoc b/core/camel-core-engine/src/main/docs/modules/eips/pages/marshal-eip.adoc index 74a1f90..ac71cab 100644 --- a/core/camel-core-engine/src/main/docs/modules/eips/pages/marshal-eip.adoc +++ b/core/camel-core-engine/src/main/docs/modules/eips/pages/marshal-eip.adoc @@ -3,6 +3,8 @@ The xref:marshal-eip.adoc[Marshal] and xref:unmarshal-eip.adoc[Unmarshal] EIPs are used for xref:message-translator.adoc[Message Transformation]. +image::eip/MessageTranslator.gif[image] + Camel has support for message transformation using several techniques. One such technique is xref:components:dataformats:index.adoc[Data Formats], where marshal and unmarshal comes from. diff --git a/core/camel-core-engine/src/main/docs/modules/eips/pages/unmarshal-eip.adoc b/core/camel-core-engine/src/main/docs/modules/eips/pages/unmarshal-eip.adoc index 988105b..044874c 100644 --- a/core/camel-core-engine/src/main/docs/modules/eips/pages/unmarshal-eip.adoc +++ b/core/camel-core-engine/src/main/docs/modules/eips/pages/unmarshal-eip.adoc @@ -3,6 +3,8 @@ The xref:marshal-eip.adoc[Marshal] and xref:unmarshal-eip.adoc[Unmarshal] EIPs are used for xref:message-translator.adoc[Message Transformation]. +image::eip/MessageTranslator.gif[image] + Camel has support for message transformation using several techniques. One such technique is xref:dataformats:index.adoc[Data Formats], where marshal and unmarshal comes from. diff --git a/docs/user-manual/modules/ROOT/assets/images/images/MessageTranslator.gif b/docs/user-manual/modules/ROOT/assets/images/images/MessageTranslator.gif new file mode 100644 index 000..f2d52fe Binary files /dev/null and b/docs/user-manual/modules/ROOT/assets/images/images/MessageTranslator.gif differ diff --git a/docs/user-manual/modules/ROOT/pages/cronscheduledroutepolicy.adoc b/docs/user-manual/modules/ROOT/pages/cronscheduledroutepolicy.adoc index bfeae23..b7525d5 100644 --- a/docs/user-manual/modules/ROOT/pages/cronscheduledroutepolicy.adoc +++ b/docs/user-manual/modules/ROOT/pages/cronscheduledroutepolicy.adoc @@ -3,26 +3,13 @@ `CronScheduledRoutePolicy` is a xref:scheduledroutepolicy.adoc[ScheduledRoutePolicy] that facilitates route activation, de-activation, suspension and resumption of routes -based on a xref:components::quartz-component.adoc[Quartz] `CronTrigger`. - -Maven users will need to add a camel-quartz dependency to their -`pom.xml` to avail this capability. - -[source,xml] - - -org.apache.camel -camel-quartz -x.x.x - - - +based on a xref:components::quartz-component.adoc[Quartz] cron trigger. [TIP] .Relationship to the Quartz component -All Scheduled route policies share the scheduler created by the Quartz +All Scheduled route policies share the scheduler created by the xref:components::quartz-component.adoc[Quartz] component. In this way, scheduler, jobs and triggers can be managed in a common and consistent way. @@ -53,7 +40,7 @@ Cron Expression for route start |routeStopTime |String | |the initial scheduled Date and time as a Cron Expression for route stop -|routeStopGracePeriod |int |10 seconds |the time period to wait before +|routeStopGracePeriod |int |1 |the time period to wait before initiating graceful route stop |routeStopTimeUnit |long |TimeUnit.MILLISECONDS |the time unit for the @@ -78,10 +65,10 @@ Cron Expression for route suspension Cron Expression for route resumption |=== -== Configuring the policy +== Configuring the route policy Once the `org.apache.camel.routepolicy.quartz.CronScheduledRoutePolicy` -is created it can be wired into the camel route as follows: +is created it can be wired into the Camel route as follows: In Java: @@ -113,4 +100,19 @@ And with Spring XML: IMPORTANT: Notice how the route to be scheduled *MUST* be configured to not xref:configuring-route-startup-ordering-and-autostartup.adoc[autostartup], to let -the route scheduler take control of starting and stopping the route accordingly. \ No newline at end of file +the route scheduler take control of starting and stopping the route accordingly. + +=== Dependency + +Maven
[camel] 01/02: CAMEL-16861: Cleanup docs
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit 22b0d0ea1ab073058789cbf4b26d90d38fac362f Author: Claus Ibsen AuthorDate: Mon Nov 1 19:06:45 2021 +0100 CAMEL-16861: Cleanup docs --- ...ing-route-startup-ordering-and-autostartup.adoc | 135 - 1 file changed, 75 insertions(+), 60 deletions(-) diff --git a/docs/user-manual/modules/ROOT/pages/configuring-route-startup-ordering-and-autostartup.adoc b/docs/user-manual/modules/ROOT/pages/configuring-route-startup-ordering-and-autostartup.adoc index 20b0688..592daac 100644 --- a/docs/user-manual/modules/ROOT/pages/configuring-route-startup-ordering-and-autostartup.adoc +++ b/docs/user-manual/modules/ROOT/pages/configuring-route-startup-ordering-and-autostartup.adoc @@ -15,36 +15,40 @@ The auto startup can be configured on two levels: - CamelContext - _Globally_ - Route - _Individually per route_ -For example the CamelContext below we have configured `autoStartup=false` to -prevent Camel starting all the routes when Spring starts. +For example the xref:camelcontext.adoc[CamelContext] below we have configured `autoStartup=false` to +prevent Camel starting all the routes on startup. [source,xml] -http://camel.apache.org/schema/spring"; autoStartup="false"> - - - - - - - - - +http://camel.apache.org/schema/spring"; + autoStartup="false"> + + + + + + + + + So how do you start the routes? The `autoStartup` option on the `` is only used once, so you can manually start Camel later by invoking its `start` method in Java as shown -below: +below. + +For example when using Spring, you can get hold of the `CamelContext` via +the Spring `ApplicationContext`: [source,java] -ApplicationContext ac = ... -CamelContext camel = (CamelContext) ac.getBean("myCamel"); +ApplicationContext ac = ... +CamelContext camel = (CamelContext) ac.getBean("myCamel"); -// now start all the routes -camel.getRouteController().startAllRoutes(); +// now start all the routes +camel.getRouteController().startAllRoutes(); TIP: The routes can also be started via JMX (requires `camel-management` JAR to be on the classpath) by invoking the `startAllRoutes` operation on the CamelContext MBean. @@ -52,11 +56,9 @@ TIP: The routes can also be started via JMX (requires `camel-management` JAR to === Autostartup per route level You can also use the `autoStartup` option to configure if a given route -should be started when Camel starts. By default a route is auto started. - -You can disable or enable it as follows. +should be started when Camel starts. By default, a route is auto started. -In XML DSL you define it as follows: +In XML DSL you disable auto startup as follows: [source,xml] @@ -76,20 +78,19 @@ And to explicit state it should be started: -=== Autostartup in Java DSL - -Configuring auto startup on `CamelContext` is done as follows: +And in Java DSL you can configure auto startup on `CamelContext` as follows: [source,java] camelCopntext.setAutoStartup(false); -And on route level you can disable (is enabled by default): +And on route level you can disable it via `noAutoStartup`: [source,java] -from("activemq:queue:special").noAutoStartup().to("file://backup"); +from("activemq:queue:special").noAutoStartup() +.to("file://backup"); To startup based on a boolean, String or @@ -97,27 +98,31 @@ xref:components::properties-component.adoc[Property], do one of the following: [source,java] -boolean startupRoute = true; -from("activemq:queue:special").autoStartup(startupRoute).to("file://backup"); +// using a boolean +from("activemq:queue:special").autoStartup(false) +.to("file://backup"); -String startupRoute = "true"; -from("activemq:queue:special").autoStartup(startupRoute).to("file://backup"); +// using a string +from("activemq:queue:special").autoStartup("false") +.to("file://backup"); -from("activemq:queue:special").autoStartup("{{startupRouteProperty}}").to("file://backup"); +// using property placeholders +from("activemq:queue:special").autoStartup("{{startupRouteProperty}}") +.to("file://backup"); == Configuring starting order for routes You can also configure the order in which routes are started. Previously -Camel started the routes in a non deterministic order. Now you have fine -grained control in which order the routes should be started. There is a +Camel started the routes in a non-deterministic order. Now you have +fine-grained control in which order the routes should be started. There is a new attribute `startupOrder` which is an `Integer` that states the order. Camel then sorts the routes before starting time. The routes with
[camel] branch main updated (e00692f -> 79b6540)
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a change to branch main in repository https://gitbox.apache.org/repos/asf/camel.git. from e00692f CAMEL-16861: Cleanup docs new 22b0d0e CAMEL-16861: Cleanup docs new 79b6540 CAMEL-16861: Cleanup docs The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: .../main/docs/modules/eips/pages/marshal-eip.adoc | 2 + .../docs/modules/eips/pages/unmarshal-eip.adoc | 2 + .../assets/images/images}/MessageTranslator.gif| Bin ...ing-route-startup-ordering-and-autostartup.adoc | 135 - .../ROOT/pages/cronscheduledroutepolicy.adoc | 40 +++--- .../modules/ROOT/pages/data-format.adoc| 99 +++ 6 files changed, 114 insertions(+), 164 deletions(-) copy {core/camel-core-engine/src/main/docs/modules/eips/images/eip => docs/user-manual/modules/ROOT/assets/images/images}/MessageTranslator.gif (100%)
[camel] branch main updated: CAMEL-16861: Cleanup docs
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 e00692f CAMEL-16861: Cleanup docs e00692f is described below commit e00692ff424b2447aa77475bff2dbc4005074ab0 Author: Claus Ibsen AuthorDate: Mon Nov 1 18:56:18 2021 +0100 CAMEL-16861: Cleanup docs --- .../modules/ROOT/pages/component-dsl.adoc | 32 ++ 1 file changed, 8 insertions(+), 24 deletions(-) diff --git a/docs/user-manual/modules/ROOT/pages/component-dsl.adoc b/docs/user-manual/modules/ROOT/pages/component-dsl.adoc index 8916522..aa6f6a6 100644 --- a/docs/user-manual/modules/ROOT/pages/component-dsl.adoc +++ b/docs/user-manual/modules/ROOT/pages/component-dsl.adoc @@ -1,6 +1,10 @@ = Component DSL -Component-DSL is a new API that allows using type safe construction of Camel components and inject them directly to Camel Context instead of initializing through a constructor. +Component-DSL is a builder API that allows using type safe construction of +Camel xref:component.adoc[Components] and inject them directly to xref:camelcontext.adoc[CamelContext] +instead of initializing through a constructor. + +== Using Component DSL The following is an example of Kafka component that is constructed using the typical constructor initialization: @@ -27,33 +31,13 @@ In order to explain it better, we can break down the above Java statement into 3 . `.brokers("{{kafka.host}}:{{kafka.port}}")`: This is the equivalent setter of `kafka.setBrokers("localhost:9090")` using DSL fluent builder. . `.register(camelContext, "kafka")`: Here we register directly the component under name `kafka` into Camel context, of course you can use any component name you like, just like `addComponent` API. -== The fluent DSL now provides type safety for parameters +=== Type Safety -Similar to the Endpoint DSL, uses the meta model, which is extracted from the source using an annotation processor and +Similar to the xref:Endpoint-dsl.adoc[Endpoint DSL], uses the meta-model, which is extracted from the source and written in various JSON files, to generate a fluent DSL for each component. This fluent DSL provides type safety for parameters. -It further allows leveraging the Java editor code completion to access the list of available parameters for the each component. - -== Build component without registering into Camel context -In the above Java statement, we registered the component directly into Camel context. However, the Component DSL also allows you to just build the component and return the object instance, for example: - -[source,java] - -KafkaComponent kafka = ComponentsBuilderFactory.kafka() -.brokers("{{kafka.host}}:{{kafka.port}}") -.build(camelContext); - - -In the above Java statement, the context was passed into the `build` API in order to resolve any placeholders that are assigned in the context, e.g: `{{kafka.host}}:{{kafka.port}}`. However, if you don't have any placeholders or don't need to have the component closely connected to the Camel context, this can be done as follows: - -[source,java] - -KafkaComponent kafka = ComponentsBuilderFactory.kafka() -.brokers("{{kafka.host}}:{{kafka.port}}") -.build(); - -== How to use +== Dependency In order to use this feature, Maven users will need to add the following dependency to their `pom.xml` for this component:
[camel-quarkus] branch main updated (6db7bd9 -> fc5520e)
This is an automated email from the ASF dual-hosted git repository. jamesnetherton pushed a change to branch main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git. from 6db7bd9 Added explanation that Quarkus-amazon-lambda can not be used by aws2-lambda add fc5520e Add notes about the salesforce-maven-plugin to the Salesforce extension docs No new revisions were added by this update. Summary of changes: docs/antora.yml| 1 + .../pages/reference/extensions/salesforce.adoc | 35 ++ .../salesforce/runtime/src/main/doc/usage.adoc | 31 +++ 3 files changed, 67 insertions(+) create mode 100644 extensions/salesforce/runtime/src/main/doc/usage.adoc
[GitHub] [camel-quarkus] jamesnetherton merged pull request #3250: Add notes about the salesforce-maven-plugin to the Salesforce extension docs
jamesnetherton merged pull request #3250: URL: https://github.com/apache/camel-quarkus/pull/3250 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-quarkus] ppalaga commented on pull request #3246: Assert that Component DSL and Endpoint DSL work for AtlasMap
ppalaga commented on pull request #3246: URL: https://github.com/apache/camel-quarkus/pull/3246#issuecomment-956400169 I do not think this PR impacts the documentation in any way. I do not see any meaningful message in the log that would explain what's wrong. Any idea what's wrong @djencks ? -- 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 formatting in table of hl7-dataformat.adoc
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/main by this push: new e2340e0 fix formatting in table of hl7-dataformat.adoc e2340e0 is described below commit e2340e097e75ab5e04831bcf6695ca2f4fc96e4e Author: Matteo Mortari AuthorDate: Mon Nov 1 17:41:16 2021 +0100 fix formatting in table of hl7-dataformat.adoc --- components/camel-hl7/src/main/docs/hl7-dataformat.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/camel-hl7/src/main/docs/hl7-dataformat.adoc b/components/camel-hl7/src/main/docs/hl7-dataformat.adoc index d42..e0a214d 100644 --- a/components/camel-hl7/src/main/docs/hl7-dataformat.adoc +++ b/components/camel-hl7/src/main/docs/hl7-dataformat.adoc @@ -322,7 +322,7 @@ headers on the Camel message: |`CamelHL7VersionId` |`MSH-12` |`2.4` -|`CamelHL7Context |`` |`contains the +|`CamelHL7Context` |`` |`contains the http://hl7api.sourceforge.net/base/apidocs/ca/uhn/hl7v2/HapiContext.html[HapiContext] that was used to parse the message`
[GitHub] [camel] oscerd commented on pull request #6364: fix formatting in table of hl7-dataformat.adoc
oscerd commented on pull request #6364: URL: https://github.com/apache/camel/pull/6364#issuecomment-956397269 Thanks for this one too -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel] oscerd merged pull request #6364: fix formatting in table of hl7-dataformat.adoc
oscerd merged pull request #6364: URL: https://github.com/apache/camel/pull/6364 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-quarkus] jamesnetherton commented on pull request #3250: Add notes about the salesforce-maven-plugin to the Salesforce extension docs
jamesnetherton commented on pull request #3250: URL: https://github.com/apache/camel-quarkus/pull/3250#issuecomment-956396747 Hold merging - I probably need to tweak code block because I don't see the `camel-version` property replacement happening locally. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel] tarilabs opened a new pull request #6364: fix formatting in table of hl7-dataformat.adoc
tarilabs opened a new pull request #6364: URL: https://github.com/apache/camel/pull/6364 sorry in relation to previous PR https://github.com/apache/camel/pull/6363 I didn't realize there was also another formatting typo @oscerd This PR intent is to fix this formatting problem in this table: https://user-images.githubusercontent.com/1699252/139708154-00a7a33e-36a4-4138-9c12-11d7d2721c7e.png";> -- 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 formatting typo in hl7-dataformat.adoc
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/main by this push: new 2cda3d6 fix formatting typo in hl7-dataformat.adoc 2cda3d6 is described below commit 2cda3d63cf92ca4dd4e61d5aa8fdf5c82d086ad8 Author: Matteo Mortari AuthorDate: Mon Nov 1 17:35:39 2021 +0100 fix formatting typo in hl7-dataformat.adoc --- components/camel-hl7/src/main/docs/hl7-dataformat.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/camel-hl7/src/main/docs/hl7-dataformat.adoc b/components/camel-hl7/src/main/docs/hl7-dataformat.adoc index cf35189..d42 100644 --- a/components/camel-hl7/src/main/docs/hl7-dataformat.adoc +++ b/components/camel-hl7/src/main/docs/hl7-dataformat.adoc @@ -329,7 +329,7 @@ that was used to parse the message` |`CamelHL7Charset` |`MSH-18` |`UNICODE UTF-8` |=== -All headers except `CamelHL7Context `are `String` types. If a header +All headers except `CamelHL7Context` are `String` types. If a header value is missing, its value is `null`. == Dependencies
[GitHub] [camel] oscerd commented on pull request #6363: fix formatting typo in hl7-dataformat.adoc
oscerd commented on pull request #6363: URL: https://github.com/apache/camel/pull/6363#issuecomment-956391979 Thanks -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel] oscerd merged pull request #6363: fix formatting typo in hl7-dataformat.adoc
oscerd merged pull request #6363: URL: https://github.com/apache/camel/pull/6363 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel] tarilabs opened a new pull request #6363: fix formatting typo in hl7-dataformat.adoc
tarilabs opened a new pull request #6363: URL: https://github.com/apache/camel/pull/6363 This PR intent is to fix this formatting typo: ![image](https://user-images.githubusercontent.com/1699252/139707173-bef241a8-8416-47bb-80be-b87e8821e005.png) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-quarkus] zhfeng commented on issue #3239: [Quarkus 2.5.0] Kafka SASL / SSL tests are failing
zhfeng commented on issue #3239: URL: https://github.com/apache/camel-quarkus/issues/3239#issuecomment-956358663 It should be a simple workaround to override ```protected void configure()``` to set ```KAFKA_ADVERTISED_LISTENERS``` with ```SSL://localhost:9093,BROKER://localhost:9092```. I've checked that it works on my local machine. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-quarkus] zhfeng commented on issue #3239: [Quarkus 2.5.0] Kafka SASL / SSL tests are failing
zhfeng commented on issue #3239: URL: https://github.com/apache/camel-quarkus/issues/3239#issuecomment-956357014 @jamesnetherton I think you are right. This is related to testcontainers 1.6.2 changes with https://github.com/testcontainers/testcontainers-java/blob/4df9b900e79e4a3033ef0975abacf9064a0e7353/modules/kafka/src/main/java/org/testcontainers/containers/KafkaContainer.java#L76-L86 it set ```KAFKA_ADVERTISED_LISTENERS``` with ```BROKER:localhost:9092``` explicitly. So Kafka SSL is not enabled when lauching the instance. I think this is a bug in testcontainers. -- 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-16861: Cleanup docs
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 c9841ce CAMEL-16861: Cleanup docs c9841ce is described below commit c9841ce06281379e89b9c72b59544d333a925a6a Author: Claus Ibsen AuthorDate: Mon Nov 1 16:47:17 2021 +0100 CAMEL-16861: Cleanup docs --- .../user-manual/modules/ROOT/pages/clustering.adoc | 3 +- .../ROOT/pages/commercial-camel-offerings.adoc | 55 +- 2 files changed, 15 insertions(+), 43 deletions(-) diff --git a/docs/user-manual/modules/ROOT/pages/clustering.adoc b/docs/user-manual/modules/ROOT/pages/clustering.adoc index 726d1a9..a0b3de9 100644 --- a/docs/user-manual/modules/ROOT/pages/clustering.adoc +++ b/docs/user-manual/modules/ROOT/pages/clustering.adoc @@ -164,7 +164,7 @@ camel.clustered.controller.routes[heartbeat].clustered = false + The master component is similar to a _ClusteredRoutePolicy_ but it works on consumer level so it ensure the only a single endpoint in a cluster is consuming resources at any point in time. Set it up is very easy and all you need is to prefix singleton endpoints according to the master component syntax: + -[source] +[source,text] master:namespace:delegateUri @@ -181,6 +181,7 @@ public RouteBuilder routeBuilder() { from("timer:heartbeat?period=1") .routeId("heartbeat") .log("HeartBeat route (timer) ..."); + from("master:my-ns:timer:clustered?period=5000") .routeId("clustered") .log("Clustered route (timer) ..."); diff --git a/docs/user-manual/modules/ROOT/pages/commercial-camel-offerings.adoc b/docs/user-manual/modules/ROOT/pages/commercial-camel-offerings.adoc index a419135..0632598 100644 --- a/docs/user-manual/modules/ROOT/pages/commercial-camel-offerings.adoc +++ b/docs/user-manual/modules/ROOT/pages/commercial-camel-offerings.adoc @@ -11,15 +11,7 @@ The Camel PMC does not endorse or recommend any of the products or services on this page. See below for information about what is appropriate to add to the page. -[[CommercialCamelOfferings-Code-House]] -== http://code-house.org[Code-House] -http://code-house.org[Code-House] is european service provider with own -training programs covering Apache middleware projects (Camel, -ServiceMix, ActiveMQ) on development and system operations level. We -also offer dedicated management tool. - -[[CommercialCamelOfferings-CyberlogicConsulting]] == http://www.cyberlogic.ch[Cyberlogic Consulting] http://www.cyberlogic.ch[Cyberlogic Consulting] is a Swiss based @@ -30,45 +22,27 @@ Software. We specialize in helping our clients to realize new projects and support the delivery of the project from end to end. -[[CommercialCamelOfferings-GOAPPO]] -== https://www.goappo.com[GOAPPO] - -https://www.goappo.com[GOAPPO] embeds Apache Camel at design, testing -and runtime. You start by composing ETLs using the application builder. -You test ETLs instantly on your machine. You bundle ETLs with your -application. - -[[CommercialCamelOfferings-IBM]] == http://ibm.biz/OSSupport[IBM] http://ibm.biz/OSSupport[IBM] provides cross-platform support for Apache Camel and many other open source packages. -[[CommercialCamelOfferings-LinuxPolska]] -== https://linuxpolska.com/[Linux Polska] - -https://linuxpolska.com/[Linux Polska] provides consulting, implementation and maintenance services in the areas of middleware, especially for Apache Camel and related projects based on Apache. The company also designs and creates its own open source solutions. Its experienced team of engineers has over 500 individual certifications. Part of Linux Polska’s business centers on providing IT training courses, delivered by an experienced team of certified trainers. +== https://linuxpolska.com/[Linux Polska] -[[CommercialCamelOfferings-MediaDriver]] -== http://mediadriver.com[Media Driver] +https://linuxpolska.com/[Linux Polska] provides consulting, +implementation and maintenance services in the areas of middleware, especially for Apache Camel and related projects based on Apache. +The company also designs and creates its own open source solutions. -Media Driver provides consulting services and management tools for -Apache Camel, Red Hat JBoss Fuse and the Apache Integration stack -(ActiveMQ, CXF, Karaf, ServiceMix, etc) for both the commercial and -public sector. We bring a full suite of project delivery services -including business and technical analysis, proof of concepts, -architectural guidance, best practice integration, and project -management. Media Driver offers training classes for developers and -administrators, as well as middleware management software. -[[CommercialCamelOfferings-OpenLogic]] == http://www.openlogic.com/[OpenLogic] -http://www.openlogic.com/[
[camel] branch main updated: CAMEL-16861: Cleanup docs
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 7766253 CAMEL-16861: Cleanup docs 7766253 is described below commit 776625358703896c0bc51fa7625bf4ed580e9712 Author: Claus Ibsen AuthorDate: Mon Nov 1 16:36:12 2021 +0100 CAMEL-16861: Cleanup docs --- .../ROOT/assets/images/camel-components.png| Bin 229901 -> 0 bytes .../assets/images/images/camel-architecture.png| Bin 0 -> 96105 bytes .../ROOT/assets/images/{ => images}/debug.png | Bin .../images/{ => images}/service_lifecycle.png | Bin .../ROOT/assets/images/message_flow_in_route.png | Bin 13415 -> 0 bytes .../modules/ROOT/pages/architecture.adoc | 74 ++--- docs/user-manual/modules/ROOT/pages/debugger.adoc | 2 +- docs/user-manual/modules/ROOT/pages/lifecycle.adoc | 2 +- 8 files changed, 39 insertions(+), 39 deletions(-) diff --git a/docs/user-manual/modules/ROOT/assets/images/camel-components.png b/docs/user-manual/modules/ROOT/assets/images/camel-components.png deleted file mode 100644 index c9aa663..000 Binary files a/docs/user-manual/modules/ROOT/assets/images/camel-components.png and /dev/null differ diff --git a/docs/user-manual/modules/ROOT/assets/images/images/camel-architecture.png b/docs/user-manual/modules/ROOT/assets/images/images/camel-architecture.png new file mode 100644 index 000..5e94179 Binary files /dev/null and b/docs/user-manual/modules/ROOT/assets/images/images/camel-architecture.png differ diff --git a/docs/user-manual/modules/ROOT/assets/images/debug.png b/docs/user-manual/modules/ROOT/assets/images/images/debug.png similarity index 100% rename from docs/user-manual/modules/ROOT/assets/images/debug.png rename to docs/user-manual/modules/ROOT/assets/images/images/debug.png diff --git a/docs/user-manual/modules/ROOT/assets/images/service_lifecycle.png b/docs/user-manual/modules/ROOT/assets/images/images/service_lifecycle.png similarity index 100% rename from docs/user-manual/modules/ROOT/assets/images/service_lifecycle.png rename to docs/user-manual/modules/ROOT/assets/images/images/service_lifecycle.png diff --git a/docs/user-manual/modules/ROOT/assets/images/message_flow_in_route.png b/docs/user-manual/modules/ROOT/assets/images/message_flow_in_route.png deleted file mode 100644 index 07b4637..000 Binary files a/docs/user-manual/modules/ROOT/assets/images/message_flow_in_route.png and /dev/null differ diff --git a/docs/user-manual/modules/ROOT/pages/architecture.adoc b/docs/user-manual/modules/ROOT/pages/architecture.adoc index 9107cb9..8d52d29 100644 --- a/docs/user-manual/modules/ROOT/pages/architecture.adoc +++ b/docs/user-manual/modules/ROOT/pages/architecture.adoc @@ -1,39 +1,39 @@ = Architecture -Camel uses a Java based xref:dsl.adoc[Routing Domain Specific Language (DSL)] -or an XML Configuration to configure -routing and mediation rules which are added to a -https://www.javadoc.io/doc/org.apache.camel/camel-api/current/org/apache/camel/CamelContext.html[CamelContext] -to implement the various -xref:components:eips:enterprise-integration-patterns.adoc[Enterprise Integration Patterns]. - -At a high level Camel consists of a -https://www.javadoc.io/doc/org.apache.camel/camel-api/current/org/apache/camel/CamelContext.html[CamelContext] -which contains a collection of Component instances. -A Component is essentially a factory of -Endpoint instances. You can explicitly configure -Component instances in Java code or an IoC -container like Spring, or they can be auto-discovered using -URIs. - -An Endpoint acts rather like a URI or URL in a web -application or a Destination in a JMS system; you can communicate with -an endpoint; either sending messages to it or consuming messages from -it. You can then create a -https://www.javadoc.io/doc/org.apache.camel/camel-api/current/org/apache/camel/Producer.html[Producer] -or -https://www.javadoc.io/doc/org.apache.camel/camel-api/current/org/apache/camel/Consumer.html[Consumer] -on an Endpoint to exchange messages with it. - -The xref:dsl.adoc[Camel Domain Specific Language] makes heavy use of pluggable -xref:languages.adoc[Languages] to create an -xref:expression.adoc[Expression] or xref:predicate.adoc[Predicate] to -make a truly powerful DSL which is extensible to the most suitable -language depending on your needs. Many of the Languages -are also supported as -xref:parameter-binding-annotations.adoc[Annotation Based Expression Language]. - -[[Architecture-Diagram]] -== Diagram - -image::camel-components.png[image] +The following diagram shows a high-level view of the main concepts that make up Camel's architecture. + +image::images/camel-architecture.png[image] + +At the center of the diagram you have the _heart_ of Apache Camel; the xref:camelcontext.adoc[CamelContext]. +The `CamelContex
[GitHub] [camel-karavan] mgubaidullin merged pull request #60: Fixed #58
mgubaidullin merged pull request #60: URL: https://github.com/apache/camel-karavan/pull/60 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-karavan] mgubaidullin closed issue #58: Show default values in the option editor
mgubaidullin closed issue #58: URL: https://github.com/apache/camel-karavan/issues/58 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-karavan] mgubaidullin commented on issue #58: Show default values in the option editor
mgubaidullin commented on issue #58: URL: https://github.com/apache/camel-karavan/issues/58#issuecomment-956314192 A text below textfiled makes UI noisy, so I have added to the Help tooltip https://user-images.githubusercontent.com/1379213/139693886-a7c96118-59b7-48bc-bb58-e5e5a79ae0ed.png";> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-quarkus] jamesnetherton opened a new issue #3249: Leverage Quarkus code generation for Salesforce DTO generation
jamesnetherton opened a new issue #3249: URL: https://github.com/apache/camel-quarkus/issues/3249 It'd be good if we could leverage the code generation features of the `quarkus-maven-plugin` to do the generation of the Salesforce DTOs. Currently this is handled by the `camel-salesforce-maven-plugin`. If we could make the core logic available is some artifact that our extension would depend on, then we should be able to add hooks for the `generate-code` mojo. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-karavan] mgubaidullin merged pull request #59: Fixed #57
mgubaidullin merged pull request #59: URL: https://github.com/apache/camel-karavan/pull/59 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-karavan] mgubaidullin closed issue #57: [VS Code] Show the filename in the window title of Karavan UI editor
mgubaidullin closed issue #57: URL: https://github.com/apache/camel-karavan/issues/57 -- 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-karavan] branch main updated: Fixed #57 (#59)
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 057f078 Fixed #57 (#59) 057f078 is described below commit 057f07876dfe5595614fb10b4e9de43c82e664f0 Author: Marat Gubaidullin AuthorDate: Mon Nov 1 10:05:27 2021 -0400 Fixed #57 (#59) --- karavan-vscode/src/extension.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/karavan-vscode/src/extension.ts b/karavan-vscode/src/extension.ts index 8957837..4c76cb9 100644 --- a/karavan-vscode/src/extension.ts +++ b/karavan-vscode/src/extension.ts @@ -18,6 +18,7 @@ import * as vscode from "vscode"; import * as fs from "fs"; import * as path from "path"; import {CamelYaml} from "../designer/api/CamelYaml"; +import { CamelUi } from "../designer/api/CamelUi"; export function activate(context: vscode.ExtensionContext) { const webviewContent = fs @@ -83,7 +84,7 @@ function openKaravanWebView(context: vscode.ExtensionContext, webviewContent: st // Karavan webview const panel = vscode.window.createWebviewPanel( "karavan", -"Karavan", +CamelUi.nameFomTitle(name), vscode.ViewColumn.One, { enableScripts: true,
[GitHub] [camel-karavan] mgubaidullin edited a comment on issue #46: Durations doesn't support notation with letters
mgubaidullin edited a comment on issue #46: URL: https://github.com/apache/camel-karavan/issues/46#issuecomment-954764826 @davsclaus It is quite confusing that Timer Component and Timer Kamelet have different types for `period` parameter -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-quarkus] JiriOndrusek opened a new pull request #3248: Sql - native tests fail on NPE during db initialization #3247
JiriOndrusek opened a new pull request #3248: URL: https://github.com/apache/camel-quarkus/pull/3248 fixes https://github.com/apache/camel-quarkus/issues/3247 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-quarkus] JiriOndrusek commented on issue #3247: Sql - native tests fail on NPE during db initialization
JiriOndrusek commented on issue #3247: URL: https://github.com/apache/camel-quarkus/issues/3247#issuecomment-956214303 Problem is mainly caused by not consistent approach used for `oracle` db. Oracle db usage should use the same approach as other external dbs - ` -Dcq.sqlJdbcKind=oracle`. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel] simon-ras edited a comment on pull request #6362: CAMEL-17156: camel-aws2 - do not interrupt extension
simon-ras edited a comment on pull request #6362: URL: https://github.com/apache/camel/pull/6362#issuecomment-95622 I just got this exception with this code running after a few hours: ``` 2021-11-01 12:37:12.794 WARN 10 --- [TimeoutExtender] o.a.c.component.aws2.sqs.Sqs2Consumer: [] Extending visibility window failed for exchange Exchange[442D15E13749D0E-06F5]. Will not attempt to extend visibility further. This exception will be ignored. software.amazon.awssdk.services.sqs.model.SqsException: Value for parameter ReceiptHandle is invalid. Reason: Message does not exist or is not available for visibility timeout change. (Service: Sqs, Status Code: 400, Request ID: 5e1cd5bf-85f3-5b5d-b4be-8c46644b67e6, Extended Request ID: null) at software.amazon.awssdk.core.internal.http.CombinedResponseHandler.handleErrorResponse(CombinedResponseHandler.java:123) ~[sdk-core-2.17.42.jar:na] at software.amazon.awssdk.core.internal.http.CombinedResponseHandler.handleResponse(CombinedResponseHandler.java:79) ~[sdk-core-2.17.42.jar:na] at software.amazon.awssdk.core.internal.http.CombinedResponseHandler.handle(CombinedResponseHandler.java:59) ~[sdk-core-2.17.42.jar:na] at software.amazon.awssdk.core.internal.http.CombinedResponseHandler.handle(CombinedResponseHandler.java:40) ~[sdk-core-2.17.42.jar:na] at software.amazon.awssdk.core.internal.http.pipeline.stages.HandleResponseStage.execute(HandleResponseStage.java:40) ~[sdk-core-2.17.42.jar:na] at software.amazon.awssdk.core.internal.http.pipeline.stages.HandleResponseStage.execute(HandleResponseStage.java:30) ~[sdk-core-2.17.42.jar:na] at software.amazon.awssdk.core.internal.http.pipeline.RequestPipelineBuilder$ComposingRequestPipelineStage.execute(RequestPipelineBuilder.java:206) ~[sdk-core-2.17.42.jar:na] at software.amazon.awssdk.core.internal.http.pipeline.stages.ApiCallAttemptTimeoutTrackingStage.execute(ApiCallAttemptTimeoutTrackingStage.java:73) ~[sdk-core-2.17.42.jar:na] at software.amazon.awssdk.core.internal.http.pipeline.stages.ApiCallAttemptTimeoutTrackingStage.execute(ApiCallAttemptTimeoutTrackingStage.java:42) ~[sdk-core-2.17.42.jar:na] at software.amazon.awssdk.core.internal.http.pipeline.stages.TimeoutExceptionHandlingStage.execute(TimeoutExceptionHandlingStage.java:78) ~[sdk-core-2.17.42.jar:na] at software.amazon.awssdk.core.internal.http.pipeline.stages.TimeoutExceptionHandlingStage.execute(TimeoutExceptionHandlingStage.java:40) ~[sdk-core-2.17.42.jar:na] at software.amazon.awssdk.core.internal.http.pipeline.stages.ApiCallAttemptMetricCollectionStage.execute(ApiCallAttemptMetricCollectionStage.java:50) ~[sdk-core-2.17.42.jar:na] at software.amazon.awssdk.core.internal.http.pipeline.stages.ApiCallAttemptMetricCollectionStage.execute(ApiCallAttemptMetricCollectionStage.java:36) ~[sdk-core-2.17.42.jar:na] at software.amazon.awssdk.core.internal.http.pipeline.stages.RetryableStage.execute(RetryableStage.java:80) ~[sdk-core-2.17.42.jar:na] at software.amazon.awssdk.core.internal.http.pipeline.stages.RetryableStage.execute(RetryableStage.java:36) ~[sdk-core-2.17.42.jar:na] at software.amazon.awssdk.core.internal.http.pipeline.RequestPipelineBuilder$ComposingRequestPipelineStage.execute(RequestPipelineBuilder.java:206) ~[sdk-core-2.17.42.jar:na] at software.amazon.awssdk.core.internal.http.StreamManagingStage.execute(StreamManagingStage.java:56) ~[sdk-core-2.17.42.jar:na] at software.amazon.awssdk.core.internal.http.StreamManagingStage.execute(StreamManagingStage.java:36) ~[sdk-core-2.17.42.jar:na] at software.amazon.awssdk.core.internal.http.pipeline.stages.ApiCallTimeoutTrackingStage.executeWithTimer(ApiCallTimeoutTrackingStage.java:80) ~[sdk-core-2.17.42.jar:na] at software.amazon.awssdk.core.internal.http.pipeline.stages.ApiCallTimeoutTrackingStage.execute(ApiCallTimeoutTrackingStage.java:60) ~[sdk-core-2.17.42.jar:na] at software.amazon.awssdk.core.internal.http.pipeline.stages.ApiCallTimeoutTrackingStage.execute(ApiCallTimeoutTrackingStage.java:42) ~[sdk-core-2.17.42.jar:na] at software.amazon.awssdk.core.internal.http.pipeline.stages.ApiCallMetricCollectionStage.execute(ApiCallMetricCollectionStage.java:48) ~[sdk-core-2.17.42.jar:na] at software.amazon.awssdk.core.internal.http.pipeline.stages.ApiCallMetricCollectionStage.execute(ApiCallMetricCollectionStage.java:31) ~[sdk-core-2.17.42.jar:na] at software.amazon.awssdk.core.internal.http.pipeline.RequestPipelineBuilder$ComposingRequestPipelineStage.execute(RequestPipelineBuilder.java:206) ~[sdk-core-2.17.42.jar:na] at software.amazon.awssdk.core.internal.http.pipeline.RequestPipelineBuilder$ComposingRequestPipelineStage.execute(RequestPipelineBuilder.java:206) ~[sdk-core-2.17.42.jar:na] at software.amazon.
[GitHub] [camel] simon-ras commented on pull request #6362: CAMEL-17156: camel-aws2 - do not interrupt extension
simon-ras commented on pull request #6362: URL: https://github.com/apache/camel/pull/6362#issuecomment-95622 I just got this exception with this code running after a few hours: ``` 2021-11-01 12:37:12.794 WARN 10 --- [TimeoutExtender] o.a.c.component.aws2.sqs.Sqs2Consumer: [] Extending visibility window failed for exchange Exchange[442D15E13749D0E-06F5]. Will not attempt to extend visibility further. This exception will be ignored. software.amazon.awssdk.services.sqs.model.SqsException: Value for parameter ReceiptHandle is invalid. Reason: Message does not exist or is not available for visibility timeout change. (Service: Sqs, Status Code: 400, Request ID: 5e1cd5bf-85f3-5b5d-b4be-8c46644b67e6, Extended Request ID: null) at software.amazon.awssdk.core.internal.http.CombinedResponseHandler.handleErrorResponse(CombinedResponseHandler.java:123) ~[sdk-core-2.17.42.jar:na] at software.amazon.awssdk.core.internal.http.CombinedResponseHandler.handleResponse(CombinedResponseHandler.java:79) ~[sdk-core-2.17.42.jar:na] at software.amazon.awssdk.core.internal.http.CombinedResponseHandler.handle(CombinedResponseHandler.java:59) ~[sdk-core-2.17.42.jar:na] at software.amazon.awssdk.core.internal.http.CombinedResponseHandler.handle(CombinedResponseHandler.java:40) ~[sdk-core-2.17.42.jar:na] at software.amazon.awssdk.core.internal.http.pipeline.stages.HandleResponseStage.execute(HandleResponseStage.java:40) ~[sdk-core-2.17.42.jar:na] at software.amazon.awssdk.core.internal.http.pipeline.stages.HandleResponseStage.execute(HandleResponseStage.java:30) ~[sdk-core-2.17.42.jar:na] at software.amazon.awssdk.core.internal.http.pipeline.RequestPipelineBuilder$ComposingRequestPipelineStage.execute(RequestPipelineBuilder.java:206) ~[sdk-core-2.17.42.jar:na] at software.amazon.awssdk.core.internal.http.pipeline.stages.ApiCallAttemptTimeoutTrackingStage.execute(ApiCallAttemptTimeoutTrackingStage.java:73) ~[sdk-core-2.17.42.jar:na] at software.amazon.awssdk.core.internal.http.pipeline.stages.ApiCallAttemptTimeoutTrackingStage.execute(ApiCallAttemptTimeoutTrackingStage.java:42) ~[sdk-core-2.17.42.jar:na] at software.amazon.awssdk.core.internal.http.pipeline.stages.TimeoutExceptionHandlingStage.execute(TimeoutExceptionHandlingStage.java:78) ~[sdk-core-2.17.42.jar:na] at software.amazon.awssdk.core.internal.http.pipeline.stages.TimeoutExceptionHandlingStage.execute(TimeoutExceptionHandlingStage.java:40) ~[sdk-core-2.17.42.jar:na] at software.amazon.awssdk.core.internal.http.pipeline.stages.ApiCallAttemptMetricCollectionStage.execute(ApiCallAttemptMetricCollectionStage.java:50) ~[sdk-core-2.17.42.jar:na] at software.amazon.awssdk.core.internal.http.pipeline.stages.ApiCallAttemptMetricCollectionStage.execute(ApiCallAttemptMetricCollectionStage.java:36) ~[sdk-core-2.17.42.jar:na] at software.amazon.awssdk.core.internal.http.pipeline.stages.RetryableStage.execute(RetryableStage.java:80) ~[sdk-core-2.17.42.jar:na] at software.amazon.awssdk.core.internal.http.pipeline.stages.RetryableStage.execute(RetryableStage.java:36) ~[sdk-core-2.17.42.jar:na] at software.amazon.awssdk.core.internal.http.pipeline.RequestPipelineBuilder$ComposingRequestPipelineStage.execute(RequestPipelineBuilder.java:206) ~[sdk-core-2.17.42.jar:na] at software.amazon.awssdk.core.internal.http.StreamManagingStage.execute(StreamManagingStage.java:56) ~[sdk-core-2.17.42.jar:na] at software.amazon.awssdk.core.internal.http.StreamManagingStage.execute(StreamManagingStage.java:36) ~[sdk-core-2.17.42.jar:na] at software.amazon.awssdk.core.internal.http.pipeline.stages.ApiCallTimeoutTrackingStage.executeWithTimer(ApiCallTimeoutTrackingStage.java:80) ~[sdk-core-2.17.42.jar:na] at software.amazon.awssdk.core.internal.http.pipeline.stages.ApiCallTimeoutTrackingStage.execute(ApiCallTimeoutTrackingStage.java:60) ~[sdk-core-2.17.42.jar:na] at software.amazon.awssdk.core.internal.http.pipeline.stages.ApiCallTimeoutTrackingStage.execute(ApiCallTimeoutTrackingStage.java:42) ~[sdk-core-2.17.42.jar:na] at software.amazon.awssdk.core.internal.http.pipeline.stages.ApiCallMetricCollectionStage.execute(ApiCallMetricCollectionStage.java:48) ~[sdk-core-2.17.42.jar:na] at software.amazon.awssdk.core.internal.http.pipeline.stages.ApiCallMetricCollectionStage.execute(ApiCallMetricCollectionStage.java:31) ~[sdk-core-2.17.42.jar:na] at software.amazon.awssdk.core.internal.http.pipeline.RequestPipelineBuilder$ComposingRequestPipelineStage.execute(RequestPipelineBuilder.java:206) ~[sdk-core-2.17.42.jar:na] at software.amazon.awssdk.core.internal.http.pipeline.RequestPipelineBuilder$ComposingRequestPipelineStage.execute(RequestPipelineBuilder.java:206) ~[sdk-core-2.17.42.jar:na] at software.amazon.awssdk.
[GitHub] [camel-quarkus] JiriOndrusek opened a new issue #3247: Sql - native tests fail on NPE during db initialization
JiriOndrusek opened a new issue #3247: URL: https://github.com/apache/camel-quarkus/issues/3247 Here is a log snippet (execution with `-Dcq.sqlJdbcKind=oracle`): ``` 2021-11-01 13:01:32,115 ERROR [org.apa.cam.qua.mai.CamelMainRuntime] (main) Failed to start application: java.lang.NullPointerException at java.io.Reader.(Reader.java:167) at java.io.InputStreamReader.(InputStreamReader.java:72) at org.apache.camel.quarkus.component.sql.it.SqlDbInitializer.initDb(SqlDbInitializer.java:52) at org.apache.camel.quarkus.component.sql.it.SqlDbInitializer_ClientProxy.initDb(SqlDbInitializer_ClientProxy.zig:127) ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-quarkus] galderz commented on issue #3230: "exit code 137" in Tika native test on GH actions
galderz commented on issue #3230: URL: https://github.com/apache/camel-quarkus/issues/3230#issuecomment-956118088 @ppalaga What do you mean by it's a lot of data? -- 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: Added explanation that Quarkus-amazon-lambda can not be used by aws2-lambda
This is an automated email from the ASF dual-hosted git repository. ppalaga pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git The following commit(s) were added to refs/heads/main by this push: new 6db7bd9 Added explanation that Quarkus-amazon-lambda can not be used by aws2-lambda 6db7bd9 is described below commit 6db7bd94a98900211d4f1d7ffab349f7fef4e86b Author: JiriOndrusek AuthorDate: Mon Nov 1 10:49:50 2021 +0100 Added explanation that Quarkus-amazon-lambda can not be used by aws2-lambda --- docs/modules/ROOT/pages/reference/extensions/aws2-lambda.adoc | 8 extensions/aws2-lambda/runtime/src/main/doc/configuration.adoc | 4 2 files changed, 12 insertions(+) diff --git a/docs/modules/ROOT/pages/reference/extensions/aws2-lambda.adoc b/docs/modules/ROOT/pages/reference/extensions/aws2-lambda.adoc index 89869d3..4c88121 100644 --- a/docs/modules/ROOT/pages/reference/extensions/aws2-lambda.adoc +++ b/docs/modules/ROOT/pages/reference/extensions/aws2-lambda.adoc @@ -43,3 +43,11 @@ Check the xref:user-guide/index.adoc[User guide] for more information about writ This extension auto-enables SSL support in native mode. Hence you do not need to add `quarkus.ssl.native=true` to your `application.properties` yourself. See also https://quarkus.io/guides/native-and-ssl[Quarkus SSL guide]. + +== Additional Camel Quarkus configuration + +=== Not possible to leverage quarkus-amazon-lambda by Camel aws2-lambda extension + +Quarkus-amazon-lambda extension allows you to use Quarkus to build your AWS Lambdas, whereas Camel component manages (deploy, undeploy, …) existing functions. +Therefore, it is not possible to use `quarkus-amazon-lambda` as a client for Camel `aws2-lambda` extension. + diff --git a/extensions/aws2-lambda/runtime/src/main/doc/configuration.adoc b/extensions/aws2-lambda/runtime/src/main/doc/configuration.adoc new file mode 100644 index 000..d516e7f --- /dev/null +++ b/extensions/aws2-lambda/runtime/src/main/doc/configuration.adoc @@ -0,0 +1,4 @@ +=== Not possible to leverage quarkus-amazon-lambda by Camel aws2-lambda extension + +Quarkus-amazon-lambda extension allows you to use Quarkus to build your AWS Lambdas, whereas Camel component manages (deploy, undeploy, …) existing functions. +Therefore, it is not possible to use `quarkus-amazon-lambda` as a client for Camel `aws2-lambda` extension. \ No newline at end of file
[GitHub] [camel-quarkus] ppalaga merged pull request #3245: Added explanation that Quarkus-amazon-lambda can not be used by aws2-…
ppalaga merged pull request #3245: URL: https://github.com/apache/camel-quarkus/pull/3245 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-quarkus] JiriOndrusek opened a new pull request #3245: Added explanation that Quarkus-amazon-lambda can not be used by aws2-…
JiriOndrusek opened a new pull request #3245: URL: https://github.com/apache/camel-quarkus/pull/3245 …lambda Added explanation for already closed issue https://github.com/apache/camel-quarkus/issues/2592 -- 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-16861: Cleanup docs
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 4b7c988 CAMEL-16861: Cleanup docs 4b7c988 is described below commit 4b7c988c4df8357c3f193a2e314ea14c4b13674c Author: Claus Ibsen AuthorDate: Mon Nov 1 10:38:44 2021 +0100 CAMEL-16861: Cleanup docs --- docs/user-manual/modules/ROOT/nav.adoc | 1 - .../user-manual/modules/ROOT/pages/camel-boot.adoc | 32 - .../modules/ROOT/pages/camel-catalog.adoc | 31 +++-- .../ROOT/pages/camel-component-maven-plugin.adoc | 10 +- .../ROOT/pages/camel-configuration-utilities.adoc | 141 - .../modules/ROOT/pages/camel-jbang.adoc| 18 +-- .../modules/ROOT/pages/camel-maven-archetypes.adoc | 4 +- .../modules/ROOT/pages/camel-maven-plugin.adoc | 26 +--- .../ROOT/pages/camel-report-maven-plugin.adoc | 45 --- docs/user-manual/modules/ROOT/pages/index.adoc | 1 - 10 files changed, 146 insertions(+), 163 deletions(-) diff --git a/docs/user-manual/modules/ROOT/nav.adoc b/docs/user-manual/modules/ROOT/nav.adoc index d842afb..d6a1623 100644 --- a/docs/user-manual/modules/ROOT/nav.adoc +++ b/docs/user-manual/modules/ROOT/nav.adoc @@ -5,7 +5,6 @@ ** link:/community/books/[Books] ** xref:building.adoc[Building] ** xref:camel-jbang.adoc[Camel JBang] -** xref:camel-boot.adoc[Camel Boot] ** xref:camel-maven-plugin.adoc[Camel Maven Plugin] ** xref:camel-component-maven-plugin.adoc[Camel Component Maven Plugin] ** xref:camel-report-maven-plugin.adoc[Camel Maven Report Plugin] diff --git a/docs/user-manual/modules/ROOT/pages/camel-boot.adoc b/docs/user-manual/modules/ROOT/pages/camel-boot.adoc deleted file mode 100644 index 3dcfb1e..000 --- a/docs/user-manual/modules/ROOT/pages/camel-boot.adoc +++ /dev/null @@ -1,32 +0,0 @@ -= Camel Boot - -Camel lets you boot up a JVM process and configure Camel nicely using -whichever dependency injection framework you choose. - -For each of the main dependency injection frameworks, Camel has a Main -class with a `public static void run(String[] args)` function so that -you can boot up your JVM which then also bootstraps the Dependency -Injection framework to load all the camel contexts and services -required. - -The following camel boot options are supported: - -[[CamelBoot-CDI]] -== CDI - -Using the xref:components:others:cdi.adoc[camel-cdi module] you can boot up your Camel -Java process using the *org.apache.camel.cdi.Main* class - -[[CamelBoot-Spring]] -== Spring - -Using the xref:components:others:spring-main.adoc[Spring] you can boot your -Camel Java process using the *org.apache.camel.spring.Main* class - -[[CamelBoot-SpringBoot]] -== Spring Boot - -You can combine Spring Boot with Camel using -Camel's Spring Boot integration. In this case -your application looks and feels like a regular Spring Boot application -but with full Camel integration. diff --git a/docs/user-manual/modules/ROOT/pages/camel-catalog.adoc b/docs/user-manual/modules/ROOT/pages/camel-catalog.adoc index 15f4b89..f08dc39 100644 --- a/docs/user-manual/modules/ROOT/pages/camel-catalog.adoc +++ b/docs/user-manual/modules/ROOT/pages/camel-catalog.adoc @@ -2,30 +2,38 @@ Each release includes a catalog with all sorts of information about what’s included in the release. -The catalog is shipped in an independent standalone camel-catalog JAR containing the following information: +== About Camel Catalog -- List of all components, data formats, languages, EIPs, and everything else in the -release -- Curated lists for Spring Boot and Apache Karaf runtime +The catalog is shipped in an independent standalone `camel-catalog` JAR containing the following information: + +- List of all components, data formats, languages, EIPs, and everything else in the release +- Curated lists for Camel Quarkus, Camel Spring Boot, and Camel Karaf runtimes - JSON schema with extensive details for every option - Human-readable documentation for every option - Categorization of options (for example, find all database components) - XML schema for the XML DSLs - Maven Archetype Catalog of all the Camel archetypes -- Component documentation as ascii doc -- Validator for Camel endpoint and Simple language -- API to create Camel endpoint URLs -- Java API + +There is also a Java API for tooling: + +- validating Camel endpoints and the Simple language +- creating Camel endpoint URLs The catalog provides a wealth of information that tooling can tap into and use. -For example, https://plugins.jetbrains.com/plugin/9371-apache-camel-idea-plugin[Camel tooling for IDEA], https://marketplace.eclipse.org/content/language-support-apache-camel[Eclipse] and https://marketplace.visualstudio.com/items?itemName=redhat.vscode-apache-camel[VSCode] uses the catalog in the editor -to know all details abou
[GitHub] [camel-k] tadayosi closed issue #2660: Flaky TestKameletBindingScale test?
tadayosi closed issue #2660: URL: https://github.com/apache/camel-k/issues/2660 -- 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-17009: MDCUnitOfWork should clear when done/stopping and also after process to not leak state to other threads. CAMEL-17153: UnitOfWork afterProcess should be invoke
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 b33bea6 CAMEL-17009: MDCUnitOfWork should clear when done/stopping and also after process to not leak state to other threads. CAMEL-17153: UnitOfWork afterProcess should be invoked via reactive executor to ensure ordering. b33bea6 is described below commit b33bea6cccbc797cf874884247fac69bf8ef33ae Author: Claus Ibsen AuthorDate: Mon Nov 1 09:35:13 2021 +0100 CAMEL-17009: MDCUnitOfWork should clear when done/stopping and also after process to not leak state to other threads. CAMEL-17153: UnitOfWork afterProcess should be invoked via reactive executor to ensure ordering. --- .../camel/impl/engine/CamelInternalProcessor.java | 10 ++ .../org/apache/camel/impl/engine/MDCUnitOfWork.java | 17 - .../org/apache/camel/processor/MDCClearingTest.java | 3 --- ...t.java => MDCResetMidRouteProducerTemplateTest.java} | 4 +++- .../java/org/apache/camel/processor/MDCResetTest.java | 11 +-- .../java/org/apache/camel/support/UnitOfWorkHelper.java | 6 ++ 6 files changed, 32 insertions(+), 19 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 25931fc..97ba072 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 @@ -382,8 +382,7 @@ public class CamelInternalProcessor extends DelegateAsyncProcessor implements In } else { final UnitOfWork uow = exchange.getUnitOfWork(); -// do uow before processing and if a value is returned the the uow wants to be processed after -// was well in the same thread +// optimize to only do before uow processing if really needed AsyncCallback async = afterTask; boolean beforeAndAfter = uow != null && uow.isBeforeAfterProcess(); if (beforeAndAfter) { @@ -403,8 +402,11 @@ public class CamelInternalProcessor extends DelegateAsyncProcessor implements In // optimize to only do after uow processing if really needed if (beforeAndAfter) { -// execute any after processor work (in current thread, not in the callback) -uow.afterProcess(processor, exchange, afterTask, sync); +// use the same callback as with beforeProcess +final CamelInternalTask afterCallback = afterTask; +reactiveExecutor.schedule(() -> { +uow.afterProcess(processor, exchange, afterCallback, sync); +}); } if (LOG.isTraceEnabled()) { diff --git a/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/MDCUnitOfWork.java b/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/MDCUnitOfWork.java index db7d5d1..dd76a31 100644 --- a/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/MDCUnitOfWork.java +++ b/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/MDCUnitOfWork.java @@ -24,6 +24,7 @@ import org.apache.camel.Exchange; import org.apache.camel.ExchangePropertyKey; import org.apache.camel.Processor; import org.apache.camel.Route; +import org.apache.camel.Service; import org.apache.camel.spi.InflightRepository; import org.apache.camel.spi.UnitOfWork; import org.apache.camel.support.PatternHelper; @@ -34,7 +35,7 @@ import org.slf4j.MDC; /** * This unit of work supports http://www.slf4j.org/api/org/slf4j/MDC.html";>MDC. */ -public class MDCUnitOfWork extends DefaultUnitOfWork { +public class MDCUnitOfWork extends DefaultUnitOfWork implements Service { private static final Logger LOG = LoggerFactory.getLogger(MDCUnitOfWork.class); @@ -147,6 +148,10 @@ public class MDCUnitOfWork extends DefaultUnitOfWork { if (stepId == null) { MDC.remove(MDC_STEP_ID); } + +// clear to avoid leaking to current thread when +// the exchange is continued routed asynchronously +clear(); } /** @@ -208,6 +213,16 @@ public class MDCUnitOfWork extends DefaultUnitOfWork { } @Override +public void start() { +// noop +} + +@Override +public void stop() { +clear(); +} + +@Override public String toString() { return "MDCUnitOfWork"; } diff --git a/core/camel-core/src/test/java/org/apache/camel/processor/MDCClearingTest.java b/core/camel-core/src/test/java/org/apache/camel/processor/MDCClearingTest.java index acf37f0..9869156 100644 --- a/core/camel-core/
[camel] branch main updated: Regen for commit d79dc1de1c2c3a1afacd07ff8ceeaa7c5bba8749 (#6361)
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 5fb8ae9 Regen for commit d79dc1de1c2c3a1afacd07ff8ceeaa7c5bba8749 (#6361) 5fb8ae9 is described below commit 5fb8ae9d52dbe33e45638e355266b961ae1a8d7b Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Mon Nov 1 09:02:09 2021 +0100 Regen for commit d79dc1de1c2c3a1afacd07ff8ceeaa7c5bba8749 (#6361) Signed-off-by: GitHub Co-authored-by: davsclaus --- .../apache/camel/catalog/languages/xtokenize.json |2 +- .../sql/stored/template/generated/SSPTParser.java | 833 +++-- .../template/generated/SSPTParserConstants.java| 110 +- .../template/generated/SSPTParserTokenManager.java | 1222 ++-- .../org/apache/camel/core/xml/routeController.json |2 +- .../camel/language/xtokenizer/xtokenize.json |2 +- 6 files changed, 1075 insertions(+), 1096 deletions(-) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/languages/xtokenize.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/languages/xtokenize.json index aa0be3f..2f4e884 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/languages/xtokenize.json +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/languages/xtokenize.json @@ -17,7 +17,7 @@ }, "properties": { "headerName": { "kind": "attribute", "displayName": "Header Name", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Name of header to tokenize instead of using the message body." }, -"mode": { "kind": "attribute", "displayName": "Mode", "required": false, "type": "enum", "javaType": "java.lang.String", "enum": [ "i", "t", "u", "w" ], "deprecated": false, "autowired": false, "secret": false, "description": "The extraction mode. The available extraction modes are: i - injecting the contextual namespace bindings into the extracted token (default) w - wrapping the extracted token in its ancestor context u - unwrapping the extracted token to its child content t - extr [...] +"mode": { "kind": "attribute", "displayName": "Mode", "required": false, "type": "enum", "javaType": "java.lang.String", "enum": [ "i", "w", "u", "t" ], "deprecated": false, "autowired": false, "secret": false, "description": "The extraction mode. The available extraction modes are: i - injecting the contextual namespace bindings into the extracted token (default) w - wrapping the extracted token in its ancestor context u - unwrapping the extracted token to its child content t - extr [...] "group": { "kind": "attribute", "displayName": "Group", "required": false, "type": "integer", "javaType": "java.lang.Integer", "deprecated": false, "autowired": false, "secret": false, "description": "To group N parts together" }, "trim": { "kind": "attribute", "displayName": "Trim", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Whether to trim the value to remove leading and trailing whitespaces and line breaks" }, "id": { "kind": "attribute", "displayName": "Id", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Sets the id of this node" } diff --git a/components/camel-sql/src/main/java/org/apache/camel/component/sql/stored/template/generated/SSPTParser.java b/components/camel-sql/src/main/java/org/apache/camel/component/sql/stored/template/generated/SSPTParser.java index 319202c..13c79f5 100644 --- a/components/camel-sql/src/main/java/org/apache/camel/component/sql/stored/template/generated/SSPTParser.java +++ b/components/camel-sql/src/main/java/org/apache/camel/component/sql/stored/template/generated/SSPTParser.java @@ -3,476 +3,419 @@ package org.apache.camel.component.sql.stored.template.generated; import java.io.Reader; -import org.apache.camel.component.sql.stored.template.ast.*; import org.apache.camel.spi.ClassResolver; +import org.apache.camel.component.sql.stored.template.ast.*; public class SSPTParser implements SSPTParserConstants { -int parameterNameCounter = 0; - -ClassResolver classResolver; - -public SSPTParser(Reader reader, ClassResolver classResolver) { -this(reader); -this.classResolver = classResolver; -} - -String createNextParameterName() { -return "_" + (parameterNameCounter++); -} - -final public Template parse() throws ParseException { -Token procedureName; -Template template = new Template(); -Obj
[GitHub] [camel] davsclaus merged pull request #6361: Generated sources regen
davsclaus merged pull request #6361: URL: https://github.com/apache/camel/pull/6361 -- 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