[camel] branch master updated (c3080df -> 7b1d682)
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/camel.git. from c3080df Rename again: 'Camel 3.x Migration Guide' -> 'Camel 3.x Upgrade Guide' add 7b1d682 Regen No new revisions were added by this update. Summary of changes: docs/components/modules/ROOT/nav.adoc | 23 -- .../modules/ROOT/pages/aws-cw-component.adoc | 2 +- .../modules/ROOT/pages/aws-ddb-component.adoc | 2 +- .../ROOT/pages/aws-ddbstream-component.adoc| 2 +- .../modules/ROOT/pages/aws-ec2-component.adoc | 2 +- .../modules/ROOT/pages/aws-ecs-component.adoc | 2 +- .../modules/ROOT/pages/aws-eks-component.adoc | 2 +- .../modules/ROOT/pages/aws-iam-component.adoc | 2 +- .../modules/ROOT/pages/aws-kinesis-component.adoc | 2 +- .../ROOT/pages/aws-kinesis-firehose-component.adoc | 2 +- .../modules/ROOT/pages/aws-kms-component.adoc | 2 +- .../modules/ROOT/pages/aws-lambda-component.adoc | 2 +- .../modules/ROOT/pages/aws-mq-component.adoc | 2 +- .../modules/ROOT/pages/aws-msk-component.adoc | 2 +- .../modules/ROOT/pages/aws-s3-component.adoc | 2 +- .../modules/ROOT/pages/aws-sdb-component.adoc | 2 +- .../modules/ROOT/pages/aws-ses-component.adoc | 2 +- .../modules/ROOT/pages/aws-sns-component.adoc | 2 +- .../modules/ROOT/pages/aws-sqs-component.adoc | 2 +- .../modules/ROOT/pages/aws-swf-component.adoc | 2 +- .../ROOT/pages/aws-translate-component.adoc| 2 +- .../modules/ROOT/pages/resilience4j.adoc | 2 +- .../ROOT/pages/robotframework-component.adoc | 2 +- .../modules/ROOT/pages/webhook-component.adoc | 2 +- 24 files changed, 23 insertions(+), 46 deletions(-)
[camel] branch master updated: Rename again: 'Camel 3.x Migration Guide' -> 'Camel 3.x Upgrade Guide'
This is an automated email from the ASF dual-hosted git repository. tsato pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/master by this push: new c3080df Rename again: 'Camel 3.x Migration Guide' -> 'Camel 3.x Upgrade Guide' c3080df is described below commit c3080df4621c37982682d3a4f8017b5a971f Author: Tadayoshi Sato AuthorDate: Fri Dec 13 14:47:19 2019 +0900 Rename again: 'Camel 3.x Migration Guide' -> 'Camel 3.x Upgrade Guide' --- docs/user-manual-nav.adoc.template | 2 +- docs/user-manual/modules/ROOT/nav.adoc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/user-manual-nav.adoc.template b/docs/user-manual-nav.adoc.template index 968ace3..7a697b0 100644 --- a/docs/user-manual-nav.adoc.template +++ b/docs/user-manual-nav.adoc.template @@ -161,4 +161,4 @@ ** xref:faq/why-does-camel-use-too-many-threads-with-producertemplate.adoc[Why does Camel use too many threads with ProducerTemplate?] ** xref:faq/why-does-maven-not-download-dependencies.adoc[Why does maven not download dependencies?] * xref:camel-3-migration-guide.adoc[Camel 2.x to 3.0 Migration Guide] -* xref:camel-3x-upgrade-guide.adoc[Camel 3.x Migration Guide] +* xref:camel-3x-upgrade-guide.adoc[Camel 3.x Upgrade Guide] diff --git a/docs/user-manual/modules/ROOT/nav.adoc b/docs/user-manual/modules/ROOT/nav.adoc index 75bb95d..dbbca5c 100644 --- a/docs/user-manual/modules/ROOT/nav.adoc +++ b/docs/user-manual/modules/ROOT/nav.adoc @@ -237,4 +237,4 @@ ** xref:faq/why-does-camel-use-too-many-threads-with-producertemplate.adoc[Why does Camel use too many threads with ProducerTemplate?] ** xref:faq/why-does-maven-not-download-dependencies.adoc[Why does maven not download dependencies?] * xref:camel-3-migration-guide.adoc[Camel 2.x to 3.0 Migration Guide] -* xref:camel-3x-upgrade-guide.adoc[Camel 3.x Migration Guide] +* xref:camel-3x-upgrade-guide.adoc[Camel 3.x Upgrade Guide]
[GitHub] [camel-k] davesargrad commented on issue #1130: Trying to get sample RestWithUndertow working.
davesargrad commented on issue #1130: Trying to get sample RestWithUndertow working. URL: https://github.com/apache/camel-k/issues/1130#issuecomment-565306235 @lburgazzoli Yes Sir.. Closing. Ty! 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [camel-k] davesargrad closed issue #1130: Trying to get sample RestWithUndertow working.
davesargrad closed issue #1130: Trying to get sample RestWithUndertow working. URL: https://github.com/apache/camel-k/issues/1130 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [camel-quarkus] asf-ci commented on issue #542: examples: add timer-log kotlin example
asf-ci commented on issue #542: examples: add timer-log kotlin example URL: https://github.com/apache/camel-quarkus/pull/542#issuecomment-565264780 Refer to this link for build results (access rights to CI server needed): https://builds.apache.org/job/camel-quarkus-pr/482/Build result: FAILURE[...truncated 2.18 MB...]at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)at java.lang.reflect.Method.invoke (Method.java:498)at io.quarkus.deployment.ExtensionLoader$1.execute (ExtensionLoader.java:941)at io.quarkus.builder.BuildContext.run (BuildContext.java:415)at org.jboss.threads.ContextClassLoaderSavingRunnable.run (ContextClassLoaderSavingRunnable.java:35)at org.jboss.threads.EnhancedQueueExecutor.safeRun (EnhancedQueueExecutor.java:2011)at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask (EnhancedQueueExecutor.java:1535)at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run (EnhancedQueueExecutor.java:1426)at java.lang.Thread.run (Thread.java:748) at org.jboss.threads.JBossThread.run (JBossThread.java:479)[ERROR] [ERROR] Re-run Maven using the -X switch to enable full debug logging.[ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles:[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException[ERROR] [ERROR] After correcting the problems, you can resume the build with the command[ERROR] mvn -rf :camel-quarkus-integration-test-sqlchannel stoppedAdding one-line test results to commit status...Setting status of a1044ae7a8feb7c573afc6464bc6dbc56fa14f02 to FAILURE with url https://builds.apache.org/job/camel-quarkus-pr/482/ and message: 'FAILURE 251 tests run, 21 skipped, 0 failed.'Using context: default 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [camel-k] hguerrero commented on issue #1132: Ignore package when working with Java classes
hguerrero commented on issue #1132: Ignore package when working with Java classes URL: https://github.com/apache/camel-k/issues/1132#issuecomment-565234545 I'm trying this: https://raw.githubusercontent.com/hguerrero/camel-netty-proxy/master/src/main/java/com/github/zregvart/cnp/ProxyRoute.java 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [camel-k] hguerrero commented on issue #1136: Kamel CLI run from URL
hguerrero commented on issue #1136: Kamel CLI run from URL URL: https://github.com/apache/camel-k/issues/1136#issuecomment-565232452 This is the error when trying: ```hguerrer-osx:~ hguerrer$ kamel run https://raw.githubusercontent.com/hguerrero/camel-netty-proxy/master/src/main/java/com/github/zregvart/cnp/ProxyRoute.java --name proxy -d camel-http --dev integration "proxy" created Error: stat /Users/hguerrer/https:/raw.githubusercontent.com/hguerrero/camel-netty-proxy/master/src/main/java/com/github/zregvart/cnp/ProxyRoute.java: no such file or directory Usage: kamel run [file to run] [flags] Flags: --compression Enable store source as a compressed binary blob --configmap strings Add a ConfigMap -d, --dependency strings The integration dependency --dev Enable Dev mode (equivalent to "-w --logs --sync") -e, --env strings Set an environment variable in the integration container. E.g "-e MY_VAR=my-value" -h, --helphelp for run -k, --kit string The kit used to run the integration --logging-level strings Configure the logging level. E.g. "--logging-level org.apache.camel=DEBUG" --logsPrint integration logs --name string The integration name --open-api stringsAdd an OpenAPI v2 spec -o, --output string Output format. One of: json|yaml --profile string Trait profile used for deployment -p, --property stringArrayAdd a camel property --repository strings Add a maven repository --resource stringsAdd a resource --secret strings Add a Secret --syncSynchronize the local source file with the cluster, republishing at each change -t, --trait strings Configure a trait. E.g. "-t service.enabled=false" -v, --volume strings Mount a volume into the integration container. E.g "-v pvcname:/container/path" -w, --waitWaits for the integration to be running Global Flags: --config string Path to the config file to use for CLI requests -n, --namespace string Namespace to use for all operations Error: stat /Users/hguerrer/https:/raw.githubusercontent.com/hguerrero/camel-netty-proxy/master/src/main/java/com/github/zregvart/cnp/ProxyRoute.java: no such file or directory``` 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [camel-quarkus] lburgazzoli commented on issue #542: examples: add timer-log kotlin example
lburgazzoli commented on issue #542: examples: add timer-log kotlin example URL: https://github.com/apache/camel-quarkus/pull/542#issuecomment-565203549 ok to test 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [camel-k] lburgazzoli commented on issue #1130: Trying to get sample RestWithUndertow working.
lburgazzoli commented on issue #1130: Trying to get sample RestWithUndertow working. URL: https://github.com/apache/camel-k/issues/1130#issuecomment-565195805 @davesargrad can we close this one then ? 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [camel-k] lburgazzoli opened a new issue #1140: [gc] cannot delete collection resource "daemonsets"
lburgazzoli opened a new issue #1140: [gc] cannot delete collection resource "daemonsets" URL: https://github.com/apache/camel-k/issues/1140 On minikube v1.5.2 with camel-k 1.0.0-M5-SNAPSHOT (master), I see the following error: ``` "level":"error","ts":1576185575.1529362,"logger":"camel-k.traits","msg":"cannot delete child resources: extensions/v1beta1, Kind=DaemonSet","trait":"gc","api-version":"camel.apache.org/v1alpha1","kind":"Integration","ns":"default","name":"sample","error":"daemonsets.extensions is forbidden: User \"system:serviceaccount:default:camel-k-operator\" cannot deletecollection resource \"daemonsets\" in API group \"extensions\" in the namespace \"default\"","stacktrace":"github.com/go-logr/zapr.(*zapLogger).Error\n\tgithub.com/go-logr/zapr@v0.1.1/zapr.go:128\ngithub.com/apache/camel-k/pkg/util/log.Logger.Errorf\n\tgithub.com/apache/camel-k@/pkg/util/log/log.go:61\ngithub.com/apache/camel-k/pkg/trait.(*garbageCollectorTrait).deleteAllOf\n\tgithub.com/apache/camel-k@/pkg/trait/gc.go:168\ngithub.com/apache/camel-k/pkg/trait.(*garbageCollectorTrait).garbageCollectResources\n\tgithub.com/apache/camel-k@/pkg/trait/gc.go:144"} ``` /cc @astefanutti 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [camel-k] lburgazzoli edited a comment on issue #1079: Example Request: CamelJmsToFileExample.java
lburgazzoli edited a comment on issue #1079: Example Request: CamelJmsToFileExample.java URL: https://github.com/apache/camel-k/issues/1079#issuecomment-565192051 So I have a route like: ```java import org.apache.camel.PropertyInject; import org.apache.camel.builder.RouteBuilder; public class Sample extends RouteBuilder { @PropertyInject("my.url") String url; @Override public void configure() throws Exception { from("timer:tick") .setBody().constant(url) .log("${body}"); } } ``` The I do run it with: kamel run --dev -p my.url=test examples/Sample.java And what I see in my toute is: ``` [2] 2019-12-12 21:19:31.752 INFO [main] ApplicationRuntime - Add listener: org.apache.camel.k.listener.ContextConfigurer@3c9d0b9d [2] 2019-12-12 21:19:31.760 INFO [main] ApplicationRuntime - Add listener: org.apache.camel.k.listener.RoutesConfigurer@7ee955a8 [2] 2019-12-12 21:19:31.763 INFO [main] ApplicationRuntime - Add listener: org.apache.camel.k.listener.RoutesDumper@6ac13091 [2] 2019-12-12 21:19:31.793 INFO [main] RuntimeSupport - Looking up loader for language: java [2] 2019-12-12 21:19:31.805 INFO [main] RuntimeSupport - Found loader org.apache.camel.k.loader.java.JavaSourceRoutesLoader@6f96c77 for language java from service definition [2] 2019-12-12 21:19:32.536 INFO [main] RoutesConfigurer - Loading routes from: file:/etc/camel/sources/i-source-000/Sample.java?language=java [2] 2019-12-12 21:19:32.537 INFO [main] ApplicationRuntime - Listener org.apache.camel.k.listener.RoutesConfigurer@7ee955a8 executed in phase ConfigureRoutes [2] 2019-12-12 21:19:32.555 INFO [main] BaseMainSupport - Using properties from: file:/etc/camel/conf/application.properties [2] 2019-12-12 21:19:33.023 INFO [main] ApplicationRuntime - Listener org.apache.camel.k.listener.ContextConfigurer@3c9d0b9d executed in phase ConfigureContext [2] 2019-12-12 21:19:33.024 INFO [main] DefaultCamelContext - Apache Camel 3.0.0-RC3 (CamelContext: camel-k) is starting [2] 2019-12-12 21:19:33.028 INFO [main] DefaultManagementStrategy - JMX is disabled [2] 2019-12-12 21:19:33.180 INFO [main] DefaultCamelContext - StreamCaching is not in use. If using streams then its recommended to enable stream caching. See more details at http://camel.apache.org/stream-caching.html [2] 2019-12-12 21:19:33.192 INFO [main] DefaultCamelContext - Route: route1 started and consuming from: timer://tick [2] 2019-12-12 21:19:33.196 INFO [main] DefaultCamelContext - Total 1 routes, of which 1 are started [2] 2019-12-12 21:19:33.199 INFO [main] DefaultCamelContext - Apache Camel 3.0.0-RC3 (CamelContext: camel-k) started in 0.173 seconds [2] 2019-12-12 21:19:33.200 INFO [main] ApplicationRuntime - Listener org.apache.camel.k.listener.RoutesDumper@6ac13091 executed in phase Started [2] 2019-12-12 21:19:34.223 INFO [Camel (camel-k) thread #1 - timer://tick] route1 - test [2] 2019-12-12 21:19:35.196 INFO [Camel (camel-k) thread #1 - timer://tick] route1 - test ``` So the properties binding works. I think your issue is that the connection factory is instantiated at class constructions, you should move it to the `configure` method as the injection happens after the class has been constructed, before that the url is null 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [camel-k] lburgazzoli commented on issue #1079: Example Request: CamelJmsToFileExample.java
lburgazzoli commented on issue #1079: Example Request: CamelJmsToFileExample.java URL: https://github.com/apache/camel-k/issues/1079#issuecomment-565192051 So I have a route like: ```java import org.apache.camel.PropertyInject; import org.apache.camel.builder.RouteBuilder; public class Sample extends RouteBuilder { @PropertyInject("my.url") String url; @Override public void configure() throws Exception { from("timer:tick") .setBody().constant(url) .log("${body}"); } } ``` The I do run it with: kamel run --dev -p my.url=test examples/Sample.java And what I see in my toute is: ``` [2] 2019-12-12 21:19:31.752 INFO [main] ApplicationRuntime - Add listener: org.apache.camel.k.listener.ContextConfigurer@3c9d0b9d [2] 2019-12-12 21:19:31.760 INFO [main] ApplicationRuntime - Add listener: org.apache.camel.k.listener.RoutesConfigurer@7ee955a8 [2] 2019-12-12 21:19:31.763 INFO [main] ApplicationRuntime - Add listener: org.apache.camel.k.listener.RoutesDumper@6ac13091 [2] 2019-12-12 21:19:31.793 INFO [main] RuntimeSupport - Looking up loader for language: java [2] 2019-12-12 21:19:31.805 INFO [main] RuntimeSupport - Found loader org.apache.camel.k.loader.java.JavaSourceRoutesLoader@6f96c77 for language java from service definition [2] 2019-12-12 21:19:32.536 INFO [main] RoutesConfigurer - Loading routes from: file:/etc/camel/sources/i-source-000/Sample.java?language=java [2] 2019-12-12 21:19:32.537 INFO [main] ApplicationRuntime - Listener org.apache.camel.k.listener.RoutesConfigurer@7ee955a8 executed in phase ConfigureRoutes [2] 2019-12-12 21:19:32.555 INFO [main] BaseMainSupport - Using properties from: file:/etc/camel/conf/application.properties [2] 2019-12-12 21:19:33.023 INFO [main] ApplicationRuntime - Listener org.apache.camel.k.listener.ContextConfigurer@3c9d0b9d executed in phase ConfigureContext [2] 2019-12-12 21:19:33.024 INFO [main] DefaultCamelContext - Apache Camel 3.0.0-RC3 (CamelContext: camel-k) is starting [2] 2019-12-12 21:19:33.028 INFO [main] DefaultManagementStrategy - JMX is disabled [2] 2019-12-12 21:19:33.180 INFO [main] DefaultCamelContext - StreamCaching is not in use. If using streams then its recommended to enable stream caching. See more details at http://camel.apache.org/stream-caching.html [2] 2019-12-12 21:19:33.192 INFO [main] DefaultCamelContext - Route: route1 started and consuming from: timer://tick [2] 2019-12-12 21:19:33.196 INFO [main] DefaultCamelContext - Total 1 routes, of which 1 are started [2] 2019-12-12 21:19:33.199 INFO [main] DefaultCamelContext - Apache Camel 3.0.0-RC3 (CamelContext: camel-k) started in 0.173 seconds [2] 2019-12-12 21:19:33.200 INFO [main] ApplicationRuntime - Listener org.apache.camel.k.listener.RoutesDumper@6ac13091 executed in phase Started [2] 2019-12-12 21:19:34.223 INFO [Camel (camel-k) thread #1 - timer://tick] route1 - test [2] 2019-12-12 21:19:35.196 INFO [Camel (camel-k) thread #1 - timer://tick] route1 - test ``` So the properties binding works 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[camel-kafka-connector] branch master updated: Updated .gitignore
This is an automated email from the ASF dual-hosted git repository. valdar pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git The following commit(s) were added to refs/heads/master by this push: new e6f4d0a Updated .gitignore e6f4d0a is described below commit e6f4d0a0eea9be91c900c1200484e6f7aa20c7a8 Author: Andrea Tarocchi AuthorDate: Thu Dec 12 22:07:43 2019 +0100 Updated .gitignore --- .gitignore | 289 +++-- 1 file changed, 283 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 7e0967d..5e278ae 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,3 @@ -# Compiled class file -*.class - # Log file *.log @@ -22,11 +19,291 @@ # virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml hs_err_pid* -*.iml +# kafka distros +kafka_* + +# IDEs .idea -target +*.iml .project +.metadata +.gopath + +# envrc +.envrc + +# eclipse / vscode .settings .classpath +.factorypath -kafka_* +# maven builds +target/ + +# Created by https://www.gitignore.io/api/java,vim,emacs,visualstudiocode,eclipse,intellij +# Edit at https://www.gitignore.io/?templates=java,vim,emacs,visualstudiocode,eclipse,intellij + +### Eclipse ### +.metadata +bin/ +tmp/ +*.tmp +*.bak +*.swp +*~.nib +local.properties +.settings/ +.loadpath +.recommenders + +# External tool builders +.externalToolBuilders/ + +# Locally stored "Eclipse launch configurations" +*.launch + +# PyDev specific (Python IDE for Eclipse) +*.pydevproject + +# CDT-specific (C/C++ Development Tooling) +.cproject + +# CDT- autotools +.autotools + +# Java annotation processor (APT) +.factorypath + +# PDT-specific (PHP Development Tools) +.buildpath + +# sbteclipse plugin +.target + +# Tern plugin +.tern-project + +# TeXlipse plugin +.texlipse + +# STS (Spring Tool Suite) +.springBeans + +# Code Recommenders +.recommenders/ + +# Annotation Processing +.apt_generated/ + +# Scala IDE specific (Scala & Java development for Eclipse) +.cache-main +.scala_dependencies +.worksheet + +### Eclipse Patch ### +# Eclipse Core +.project + +# JDT-specific (Eclipse Java Development Tools) +.classpath + +# Annotation Processing +.apt_generated + +.sts4-cache/ + +### Emacs ### +# -*- mode: gitignore; -*- +*~ +\#*\# +/.emacs.desktop +/.emacs.desktop.lock +*.elc +auto-save-list +tramp +.\#* + +# Org-mode +.org-id-locations +*_archive + +# flymake-mode +*_flymake.* + +# eshell files +/eshell/history +/eshell/lastdir + +# elpa packages +/elpa/ + +# reftex files +*.rel + +# AUCTeX auto folder +/auto/ + +# cask packages +.cask/ +dist/ + +# Flycheck +flycheck_*.el + +# server auth directory +/server/ + +# projectiles files +.projectile + +# directory configuration +.dir-locals.el + +# network security +/network-security.data + + +### Intellij ### +# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm +# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 + +# User-specific stuff +.idea/**/workspace.xml +.idea/**/tasks.xml +.idea/**/usage.statistics.xml +.idea/**/dictionaries +.idea/**/shelf + +# Generated files +.idea/**/contentModel.xml + +# Sensitive or high-churn files +.idea/**/dataSources/ +.idea/**/dataSources.ids +.idea/**/dataSources.local.xml +.idea/**/sqlDataSources.xml +.idea/**/dynamic.xml +.idea/**/uiDesigner.xml +.idea/**/dbnavigator.xml + +# Gradle +.idea/**/gradle.xml +.idea/**/libraries + +# Gradle and Maven with auto-import +# When using Gradle or Maven with auto-import, you should exclude module files, +# since they will be recreated, and may cause churn. Uncomment if using +# auto-import. +# .idea/modules.xml +# .idea/*.iml +# .idea/modules +# *.iml +# *.ipr + +# CMake +cmake-build-*/ + +# Mongo Explorer plugin +.idea/**/mongoSettings.xml + +# File-based project format +*.iws + +# IntelliJ +out/ + +# mpeltonen/sbt-idea plugin +.idea_modules/ + +# JIRA plugin +atlassian-ide-plugin.xml + +# Cursive Clojure plugin +.idea/replstate.xml + +# Crashlytics plugin (for Android Studio and IntelliJ) +com_crashlytics_export_strings.xml +crashlytics.properties +crashlytics-build.properties +fabric.properties + +# Editor-based Rest Client +.idea/httpRequests + +# Android studio 3.1+ serialized cache file +.idea/caches/build_file_checksums.ser + +### Intellij Patch ### +# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721 + +# *.iml +# modules.xml +# .idea/misc.xml +# *.ipr + +# Sonarlint plugin +.idea/**/sonarlint/ + +# SonarQube Plugin +.idea/**/sonarIssues.xml + +# Markdown Navigator plugin +.idea/**/markdown-navigator.xml +.idea/**/markdown-navigator/ + +### Java ### +# Compiled class file +*.class + +# Log file +*.log + +# BlueJ files +*.ctxt + +# Mobile Tools for Java (J2ME) +.mtj.tmp/ + +# Package Files # +*.jar +*.war +*.nar +*.ear +*.zip +*.tar.gz +*.rar + +# virtual machine crash
[GitHub] [camel-k] RnD-John commented on issue #1079: Example Request: CamelJmsToFileExample.java
RnD-John commented on issue #1079: Example Request: CamelJmsToFileExample.java URL: https://github.com/apache/camel-k/issues/1079#issuecomment-565178346 @lburgazzoli, The PropertyInject method is desirable because everything can come from command line properties or from a config map. **I'd still like to get this method to work if possible.** @nicolaferraro, In the mean time, I tested the environment variable method and that worked as expected. > > > Native support will come with properties when we switch to Camel 3.0.1 (next version is expected to support Camel 3.0.0). > > For the time being a possible solution is to use env variables: > > ``` > ConnectionFactory connectionFactory = new ActiveMQConnectionFactory(System.getenv("MY_URI")); > ``` > > And: > > ``` > kamel run --env MY_URI=xxx TheIntegration.java > ``` > > It's more a workaround waiting for property-based configuration, but it should work. 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [camel-k] RnD-John removed a comment on issue #1079: Example Request: CamelJmsToFileExample.java
RnD-John removed a comment on issue #1079: Example Request: CamelJmsToFileExample.java URL: https://github.com/apache/camel-k/issues/1079#issuecomment-565161244 I get the same/similar error simply trying to hard code the values: @org.apache.camel.PropertyInject("test-jms") private String component; **Am I misinterpreting this:** https://camel.apache.org/manual/latest/using-propertyplaceholder.html It seems like this: > public class MyRouteBuilder extends RouteBuilder { > > @PropertyInject("hello") > private String greeting; > > @Override > public void configure() throws Exception { > from("direct:start") > .transform().constant(greeting) > .to("{{result}}"); > } > } puts "hello" in as the greeting. While: > @PropertyInject("Hello {{name}} how are you?") > private String greeting; will let me have name be a dynamic value... 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [camel-k] RnD-John commented on issue #1079: Example Request: CamelJmsToFileExample.java
RnD-John commented on issue #1079: Example Request: CamelJmsToFileExample.java URL: https://github.com/apache/camel-k/issues/1079#issuecomment-565162313 using the values as keys directly also throws the error... @org.apache.camel.PropertyInject("my.uri") private String uri; @org.apache.camel.PropertyInject("my.component") private String component; This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [camel-k] RnD-John commented on issue #1079: Example Request: CamelJmsToFileExample.java
RnD-John commented on issue #1079: Example Request: CamelJmsToFileExample.java URL: https://github.com/apache/camel-k/issues/1079#issuecomment-565161244 I get the same/similar error simply trying to hard code the values: @org.apache.camel.PropertyInject("test-jms") private String component; **Am I misinterpreting this:** https://camel.apache.org/manual/latest/using-propertyplaceholder.html It seems like this: > public class MyRouteBuilder extends RouteBuilder { > > @PropertyInject("hello") > private String greeting; > > @Override > public void configure() throws Exception { > from("direct:start") > .transform().constant(greeting) > .to("{{result}}"); > } > } puts "hello" in as the greeting. While: > @PropertyInject("Hello {{name}} how are you?") > private String greeting; will let me have name be a dynamic value... 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [camel-quarkus] ppalaga commented on a change in pull request #542: examples: add timer-log kotlin example
ppalaga commented on a change in pull request #542: examples: add timer-log kotlin example URL: https://github.com/apache/camel-quarkus/pull/542#discussion_r357339931 ## File path: pom.xml ## @@ -295,6 +295,8 @@ ide-config/** mvnw* node/** + +**/*.kt Review comment: What is happening? 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [camel-k] lburgazzoli commented on issue #1079: Example Request: CamelJmsToFileExample.java
lburgazzoli commented on issue #1079: Example Request: CamelJmsToFileExample.java URL: https://github.com/apache/camel-k/issues/1079#issuecomment-565158141 property inject do not require {{}} 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[camel-kafka-connector] branch master updated (c8d02db -> ef28bac)
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git. from c8d02db Gitter badge add dbdac7e Added a first example of camel-cassandraql source connector add 97209d8 Added detailed instructions on how to run the example for camel-cassandraql source connector add bb575f6 A bit more details in the cassandraql source connector example add 59605b1 Cassandraql source docs Removed wrong ref add 14bd546 CassandraQL source example: Removed useless references in configuration new ef28bac Merge pull request #46 from apache/cassandraql-source The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: core/pom.xml | 11 docs/try-it-out-locally.adoc | 59 +- .../CamelCassandraQLSourceConnector.properties | 8 +-- parent/pom.xml | 23 - tests/pom.xml | 10 5 files changed, 106 insertions(+), 5 deletions(-) copy config/CamelSourceConnector.properties => examples/CamelCassandraQLSourceConnector.properties (85%)
[GitHub] [camel-kafka-connector] oscerd merged pull request #46: Cassandraql source example
oscerd merged pull request #46: Cassandraql source example URL: https://github.com/apache/camel-kafka-connector/pull/46 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[camel-kafka-connector] 01/01: Merge pull request #46 from apache/cassandraql-source
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git commit ef28bac3bbea24b0ec39e30e6c8284553ce7fe56 Merge: c8d02db 14bd546 Author: Andrea Cosentino AuthorDate: Thu Dec 12 20:46:10 2019 +0100 Merge pull request #46 from apache/cassandraql-source Cassandraql source example core/pom.xml | 11 docs/try-it-out-locally.adoc | 59 +- .../CamelCassandraQLSourceConnector.properties | 28 ++ parent/pom.xml | 23 - tests/pom.xml | 10 5 files changed, 129 insertions(+), 2 deletions(-)
[GitHub] [camel-k] RnD-John commented on issue #1079: Example Request: CamelJmsToFileExample.java
RnD-John commented on issue #1079: Example Request: CamelJmsToFileExample.java URL: https://github.com/apache/camel-k/issues/1079#issuecomment-565154571 @lburgazzoli, using the @PropertyInject Method is throwing the following error: >Exception in thread "main" org.apache.camel.RuntimeCamelException: org.joor.ReflectException: java.lang.reflect.InvocationTargetException at org.apache.camel.RuntimeCamelException.wrapRuntimeCamelException(RuntimeCamelException.java:52) at org.apache.camel.k.listener.RoutesConfigurer.load(RoutesConfigurer.java:69) at org.apache.camel.k.listener.RoutesConfigurer.accept(RoutesConfigurer.java:51) at org.apache.camel.k.listener.AbstractPhaseListener.accept(AbstractPhaseListener.java:32) at org.apache.camel.k.main.ApplicationRuntime$MainListenerAdapter.lambda$invokeListeners$0(ApplicationRuntime.java:152) at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184) at java.util.stream.SortedOps$SizedRefSortingSink.end(SortedOps.java:352) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151) at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418) at org.apache.camel.k.main.ApplicationRuntime$MainListenerAdapter.invokeListeners(ApplicationRuntime.java:151) at org.apache.camel.k.main.ApplicationRuntime$MainListenerAdapter.beforeStart(ApplicationRuntime.java:125) at org.apache.camel.main.MainSupport.beforeStart(MainSupport.java:114) at org.apache.camel.main.MainSupport.run(MainSupport.java:76) at org.apache.camel.k.main.ApplicationRuntime.run(ApplicationRuntime.java:70) at org.apache.camel.k.main.Application.main(Application.java:42) Caused by: org.joor.ReflectException: java.lang.reflect.InvocationTargetException at org.joor.Reflect.on(Reflect.java:876) at org.joor.Reflect.create(Reflect.java:698) at org.joor.Reflect.create(Reflect.java:662) at org.apache.camel.k.loader.java.JavaSourceRoutesLoader.load(JavaSourceRoutesLoader.java:47) at org.apache.camel.k.listener.RoutesConfigurer.load(RoutesConfigurer.java:67) ... 17 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at org.joor.Reflect.on(Reflect.java:873) ... 21 more Caused by: java.lang.NullPointerException at java.net.URI$Parser.parse(URI.java:3042) at java.net.URI.(URI.java:588) at org.apache.activemq.ActiveMQConnectionFactory.createURI(ActiveMQConnectionFactory.java:168) at org.apache.activemq.ActiveMQConnectionFactory.(ActiveMQConnectionFactory.java:131) at BasicAMQ.(BasicAMQ.java:17) ... 26 more < I updated my script as follows: `import org.apache.camel.builder.RouteBuilder; import org.apache.camel.CamelContext; import org.apache.camel.component.jms.JmsComponent; import org.apache.camel.ProducerTemplate; import javax.jms.ConnectionFactory; import org.apache.activemq.ActiveMQConnectionFactory; public class BasicAMQ extends RouteBuilder { //standard java, need to inject properties to use them// @org.apache.camel.PropertyInject("{{my.uri}}") private String uri; @org.apache.camel.PropertyInject("{{my.component}}") private String component; ConnectionFactory connectionFactory = new ActiveMQConnectionFactory(uri); @Override public void configure() throws Exception { CamelContext context = getContext(); // Note we can explicit name the component context.addComponent(component, JmsComponent.jmsComponentAutoAcknowledge(connectionFactory)); //DSL starts here, can directly use {{}} syntax for properties// from(component+":queue:{{my.queue}}.queue") .log("{{my.prefix}} ${body} "); } } ` I run with the command: kamel run -d mvn:org.apache.activemq:activemq-all:5.5.1 -d mvn:org.apache.activemq:activemq-camel:5.5.1 -p my.uri="" -p my.component="test-jms" -p my.queue="camelktestParametric" -p
[camel-kafka-connector] branch cassandraql-source updated (59605b1 -> 14bd546)
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a change to branch cassandraql-source in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git. from 59605b1 Cassandraql source docs Removed wrong ref add 14bd546 CassandraQL source example: Removed useless references in configuration No new revisions were added by this update. Summary of changes: examples/CamelCassandraQLSourceConnector.properties | 2 -- 1 file changed, 2 deletions(-)
[camel-kafka-connector] branch cassandraql-source updated (bb575f6 -> 59605b1)
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a change to branch cassandraql-source in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git. from bb575f6 A bit more details in the cassandraql source connector example add 59605b1 Cassandraql source docs Removed wrong ref No new revisions were added by this update. Summary of changes: docs/try-it-out-locally.adoc | 1 - 1 file changed, 1 deletion(-)
[GitHub] [camel-kafka-connector] oscerd opened a new pull request #46: Cassandraql source example
oscerd opened a new pull request #46: Cassandraql source example URL: https://github.com/apache/camel-kafka-connector/pull/46 Related to #35 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[camel-kafka-connector] branch cassandraql-source created (now bb575f6)
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a change to branch cassandraql-source in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git. at bb575f6 A bit more details in the cassandraql source connector example This branch includes the following new commits: new dbdac7e Added a first example of camel-cassandraql source connector new 97209d8 Added detailed instructions on how to run the example for camel-cassandraql source connector new bb575f6 A bit more details in the cassandraql source connector example The 3 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference.
[camel-kafka-connector] 01/03: Added a first example of camel-cassandraql source connector
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch cassandraql-source in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git commit dbdac7e5870f488309df48e3b5cb726d3c3455ec Author: Andrea Cosentino AuthorDate: Thu Dec 12 19:45:48 2019 +0100 Added a first example of camel-cassandraql source connector --- core/pom.xml | 11 .../CamelCassandraQLSourceConnector.properties | 30 ++ parent/pom.xml | 23 - tests/pom.xml | 10 4 files changed, 73 insertions(+), 1 deletion(-) diff --git a/core/pom.xml b/core/pom.xml index ab2e4d8..576fd61 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -47,6 +47,17 @@ org.apache.camel +camel-cassandraql + + + com.google.guava + guava + + +provided + + +org.apache.camel camel-telegram provided diff --git a/examples/CamelCassandraQLSourceConnector.properties b/examples/CamelCassandraQLSourceConnector.properties new file mode 100644 index 000..c407f05 --- /dev/null +++ b/examples/CamelCassandraQLSourceConnector.properties @@ -0,0 +1,30 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +name=CamelCassandraQLSourceConnector +connector.class=org.apache.camel.kafkaconnector.CamelSourceConnector +key.converter=org.apache.kafka.connect.storage.StringConverter +value.converter=org.apache.kafka.connect.storage.StringConverter +#transforms=S3ObjectTransformer +#transforms.S3ObjectTransformer.type=org.apache.camel.kafkaconnector.converters.S3ObjectTransformer + +camel.source.maxPollDuration=1 + +camel.source.kafka.topic=mytopic + +camel.source.url=cql://172.17.0.2/test?cql=select * from users=ONE + diff --git a/parent/pom.xml b/parent/pom.xml index a5da3a4..7f32be9 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -110,6 +110,17 @@ camel-main ${camel.version} + +org.apache.camel +camel-cassandraql +${camel.version} + + + com.google.guava + guava + + + org.apache.camel camel-telegram @@ -160,7 +171,17 @@ com.fasterxml.jackson.dataformat jackson-dataformat-cbor -2.9.9 +2.10.1 + + +com.fasterxml.jackson.core +jackson-core +2.10.1 + + +com.fasterxml.jackson.databind +jackson-databind +2.10.1 org.apache.activemq diff --git a/tests/pom.xml b/tests/pom.xml index 7c3a7a2..ebcaac3 100644 --- a/tests/pom.xml +++ b/tests/pom.xml @@ -48,6 +48,16 @@ org.apache.camel +camel-cassandraql + + + com.google.guava + guava + + + + +org.apache.camel camel-aws-sqs
[camel-kafka-connector] 03/03: A bit more details in the cassandraql source connector example
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch cassandraql-source in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git commit bb575f62dca81620c110729a0a3cd01cd6615fad Author: Andrea Cosentino AuthorDate: Thu Dec 12 19:57:21 2019 +0100 A bit more details in the cassandraql source connector example --- docs/try-it-out-locally.adoc | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/try-it-out-locally.adoc b/docs/try-it-out-locally.adoc index 67b0b3b..3da3943 100644 --- a/docs/try-it-out-locally.adoc +++ b/docs/try-it-out-locally.adoc @@ -94,6 +94,7 @@ Status=Up/Down UN 172.17.0.2 251.32 KiB 256 100.0% 5126aaad-f143-43e9-920a-0f9540a93967 rack1 +You'll need a local installation of cassandra, in particular the 3.11.4. Now we can populate the database: [source,bash]
[camel-kafka-connector] 02/03: Added detailed instructions on how to run the example for camel-cassandraql source connector
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch cassandraql-source in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git commit 97209d8fc92053ad8e0ad30c782ff2d3fd383893 Author: Andrea Cosentino AuthorDate: Thu Dec 12 19:53:29 2019 +0100 Added detailed instructions on how to run the example for camel-cassandraql source connector --- docs/try-it-out-locally.adoc | 59 +++- 1 file changed, 58 insertions(+), 1 deletion(-) diff --git a/docs/try-it-out-locally.adoc b/docs/try-it-out-locally.adoc index 5141669..67b0b3b 100644 --- a/docs/try-it-out-locally.adoc +++ b/docs/try-it-out-locally.adoc @@ -69,6 +69,63 @@ export CLASSPATH="$(find core/target/ -type f -name '*.jar'| grep '\-package' | $KAFKA_HOME/bin/connect-standalone.sh $KAFKA_HOME/config/connect-standalone.properties examples/CamelTelegramSourceConnector.properties +.Run the cassandraql source: +Change your telegram bot token in `examples/CamelCassandraQLSourceConnector.properties` + +To run this example you'll need a bit more work: + +First you'll need to run a cassandra instance: + +[source,bash] + +docker run --name master_node --env MAX_HEAP_SIZE='800M' -dt oscerd/cassandra + + +Check everything is fine: + +[source,bash] + +docker exec -ti master_node /opt/cassandra/bin/nodetool status +Datacenter: datacenter1 +=== +Status=Up/Down +|/ State=Normal/Leaving/Joining/Moving +-- Address Load Tokens Owns (effective) Host ID Rack +UN 172.17.0.2 251.32 KiB 256 100.0% 5126aaad-f143-43e9-920a-0f9540a93967 rack1 + + +Now we can populate the database: + +[source,bash] + +/bin/cqlsh $(docker inspect --format='{{ .NetworkSettings.IPAddress }}' master_node) + + +and run the script: + +[source,bash] + +create keyspace test with replication = {'class':'SimpleStrategy', 'replication_factor':3}; +use test; +create table users ( id int primary key, name text ); +insert into users (id,name) values (1, 'oscerd'); +quit; + + +The output of the following command should be used in the configuration of CamelCassandraQLSourceConnector.properties + +[source,bash] + +/bin/cqlsh $(docker inspect --format='{{ .NetworkSettings.IPAddress }}' master_node) + + +in particular it should be used as address instead of localhost in the `camel.source.url` +[source,bash] + +export CLASSPATH="$(find core/target/ -type f -name '*.jar'| grep '\-package' | tr '\n' ':')" +$KAFKA_HOME/bin/connect-standalone.sh $KAFKA_HOME/config/connect-standalone.properties examples/CamelCassandraQLSourceConnector.properties + + .Run the file sink, just a camel file appending to /tmp/kafkaconnect.txt: [source,bash] @@ -168,4 +225,4 @@ $KAFKA_HOME/bin/kafka-console-consumer.sh --bootstrap-server localhost:9092 --to [source,bash] $KAFKA_HOME/bin/kafka-console-producer.sh --broker-list localhost:9092 --topic mytopic - \ No newline at end of file +
[GitHub] [camel-k] davesargrad commented on issue #1079: Example Request: CamelJmsToFileExample.java
davesargrad commented on issue #1079: Example Request: CamelJmsToFileExample.java URL: https://github.com/apache/camel-k/issues/1079#issuecomment-565119212 > camel-core as been modularized in camel 3, the javadoc for the annotation is here: https://www.javadoc.io/doc/org.apache.camel/camel-api/latest/index.html Thanks @lburgazzoli !! Good to know 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [camel-k] lburgazzoli commented on issue #1079: Example Request: CamelJmsToFileExample.java
lburgazzoli commented on issue #1079: Example Request: CamelJmsToFileExample.java URL: https://github.com/apache/camel-k/issues/1079#issuecomment-565118342 camel-core as been modularized in camel 3, the javadoc for the annotation is here: https://www.javadoc.io/doc/org.apache.camel/camel-api/latest/index.html 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [camel-k] davesargrad commented on issue #1079: Example Request: CamelJmsToFileExample.java
davesargrad commented on issue #1079: Example Request: CamelJmsToFileExample.java URL: https://github.com/apache/camel-k/issues/1079#issuecomment-565114387 > You can also use > > ```java > public class BasicAMQ extends RouteBuilder { > @PropertyInject("my.uri") > String uri; > > > } > ``` > > Then you should be able to provide `my.uti` value either from a configmap or env var. Hi @lburgazzoli Oddly, I see the annotation PropertyInject in[ older versions of came](https://www.javadoc.io/doc/org.apache.camel/camel-core/2.20.4/org/apache/camel/PropertyInject.html)l. Its not in the newest [javadoc](https://www.javadoc.io/doc/org.apache.camel/camel-core/3.0.0-RC1/index.html). 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [camel-k] lburgazzoli commented on issue #1079: Example Request: CamelJmsToFileExample.java
lburgazzoli commented on issue #1079: Example Request: CamelJmsToFileExample.java URL: https://github.com/apache/camel-k/issues/1079#issuecomment-565097722 You can also use ```java public class BasicAMQ extends RouteBuilder { @PropertyInject("my.uri") String uri; } ``` Then you should be able to provide `my.uti` value either from a configmap or env var. 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [camel-k] nicolaferraro commented on issue #1079: Example Request: CamelJmsToFileExample.java
nicolaferraro commented on issue #1079: Example Request: CamelJmsToFileExample.java URL: https://github.com/apache/camel-k/issues/1079#issuecomment-565093650 Native support will come with properties when we switch to Camel 3.0.1 (next version is expected to support Camel 3.0.0). For the time being a possible solution is to use env variables: ``` ConnectionFactory connectionFactory = new ActiveMQConnectionFactory(System.getenv("MY_URI")); ``` And: ``` kamel run --env MY_URI=xxx TheIntegration.java ``` It's more a workaround waiting for property-based configuration, but it should work. 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [camel-k] nicolaferraro commented on issue #1138: Camel-k install on azure fails.
nicolaferraro commented on issue #1138: Camel-k install on azure fails. URL: https://github.com/apache/camel-k/issues/1138#issuecomment-565089883 Azure is not a provider that we tested so far. I guess the problem is related to some auth missing in the kubernetes go-client we use under the hood: https://github.com/kubernetes/client-go/tree/master/plugin/pkg/client/auth/azure Other than that, Camel K also needs a container registry to push built images to. @mrganeshraja does Kubernetes on Azure provide a default container registry? 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [camel-k] nicolaferraro opened a new pull request #1139: chore(test): allow to change some defaults for testing
nicolaferraro opened a new pull request #1139: chore(test): allow to change some defaults for testing URL: https://github.com/apache/camel-k/pull/1139 This allow to customize image and version for tests that don't use `kamel` (other cases are covered by PR #1133). @lburgazzoli this is enough for current tests, do you think we should do something better with that defaults? **Release Note** ```release-note NONE ``` 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [camel-k] RnD-John commented on issue #1079: Example Request: CamelJmsToFileExample.java
RnD-John commented on issue #1079: Example Request: CamelJmsToFileExample.java URL: https://github.com/apache/camel-k/issues/1079#issuecomment-565080148 @davesargrad I was out of the office for a few days; however, I still don't have a great solution for this. The best solution I have come up with is to utilize file io to read the desired values from a from a file on the disk. In general, I'd still like to see what @nicolaferraro or others recommend in terms of potential 'native' support. 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [camel-k] mrganeshraja opened a new issue #1138: Camel-k install on azure fails.
mrganeshraja opened a new issue #1138: Camel-k install on azure fails. URL: https://github.com/apache/camel-k/issues/1138 I am unable to install camel-k to Azure aks cluster I get this error **"Error: No Auth Provider found for name "azure"**. I have made sure I have loggged in, I am able to issue other kubectl commands to query the cluster but when I try to install camel-k I always end up getting No Auth provider error. On other hand I am able to install camel-k on minikube from the same camel CLI. ` ~/Downloads/camel-k-client-1.0.0-M4-mac-64bit/kamel install Error: No Auth Provider found for name "azure" Usage: kamel install [flags] Flags: --base-image string Set the base image used to run integrations --build-strategy string Set the build strategy --build-timeout string Set how long the build process can last --camel-version string Set the camel version --cluster-setup Execute cluster-wide operations only (may require admin rights) --exampleInstall example integration --global Configure the operator to watch all namespaces. No integration platform is created. -h, --help help for install --http-proxy-secret string Configure the source of the secret holding HTTP proxy server details (HTTP_PROXY|HTTPS_PROXY|NO_PROXY) --kaniko-build-cache To enable or disable the Kaniko Cache in building phase (default true) --kit stringsAdd an integration kit to build at startup --local-repository stringLocation of the local maven repository --maven-repository strings Add a maven repository --maven-settings string Configure the source of the maven settings (configmap|secret:name[/key]) --operator-image string Set the operator image used for the operator deployment --organization stringA organization on the Docker registry that can be used to publish images -o, --output string Output format. One of: json|yaml -p, --property strings Add a camel property --registry stringA Docker registry that can be used to publish images --registry-insecure Configure to configure registry access in insecure mode or not --registry-secret string A secret used to push/pull images to the Docker registry --runtime-version string Set the camel-k runtime version --skip-cluster-setup Skip the cluster-setup phase --skip-operator-setupDo not install the operator in the namespace (in case there's a global one) --trait-profile string The profile to use for traits -w, --wait Waits for the platform to be running Global Flags: --config string Path to the config file to use for CLI requests -n, --namespace string Namespace to use for all operations Error: No Auth Provider found for name "azure"` 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[camel] branch master updated (1f74ae4 -> 2259bda)
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/camel.git. from 1f74ae4 CAMEL-14285: Create bundle based karaf tests for camel-osgi-activator. add 2259bda CAMEL-14285 - Removed tests from camel-itest-karaf No new revisions were added by this update. Summary of changes: .../karaf/activator/CamelOsgiActivatorTest.java| 108 - .../itest/karaf/activator/PaxExamOptions.java | 70 - 2 files changed, 178 deletions(-) delete mode 100644 tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/activator/CamelOsgiActivatorTest.java delete mode 100644 tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/activator/PaxExamOptions.java
[camel] branch master updated (cef08ba -> 1f74ae4)
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/camel.git. from cef08ba Regen docs add 1f74ae4 CAMEL-14285: Create bundle based karaf tests for camel-osgi-activator. No new revisions were added by this update. Summary of changes: components/camel-osgi-activator/pom.xml| 132 - .../src/assembly/test-bundles.xml | 50 .../osgi/activator/CamelOsgiActivatorIT.java | 34 +++--- .../component/osgi}/activator/PaxExamOptions.java | 47 ++-- 4 files changed, 238 insertions(+), 25 deletions(-) create mode 100644 components/camel-osgi-activator/src/assembly/test-bundles.xml copy tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/activator/CamelOsgiActivatorTest.java => components/camel-osgi-activator/src/test/java/org/apache/camel/component/osgi/activator/CamelOsgiActivatorIT.java (78%) copy {tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf => components/camel-osgi-activator/src/test/java/org/apache/camel/component/osgi}/activator/PaxExamOptions.java (60%)
[camel] branch master updated (85b79e7 -> cef08ba)
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/camel.git. from 85b79e7 Fixing failing xml security tests with latest Azul JDK add 757fd2c Add again the correct link in nav add cef08ba Regen docs No new revisions were added by this update. Summary of changes: .../camel-corda/src/main/docs/corda-component.adoc | 27 +++--- .../camel-web3j/src/main/docs/web3j-component.adoc | 6 ++-- docs/components/modules/ROOT/nav.adoc | 23 .../modules/ROOT/pages/aws-cw-component.adoc | 2 +- .../modules/ROOT/pages/aws-ddb-component.adoc | 2 +- .../ROOT/pages/aws-ddbstream-component.adoc| 2 +- .../modules/ROOT/pages/aws-ec2-component.adoc | 2 +- .../modules/ROOT/pages/aws-ecs-component.adoc | 2 +- .../modules/ROOT/pages/aws-eks-component.adoc | 2 +- .../modules/ROOT/pages/aws-iam-component.adoc | 2 +- .../modules/ROOT/pages/aws-kinesis-component.adoc | 2 +- .../ROOT/pages/aws-kinesis-firehose-component.adoc | 2 +- .../modules/ROOT/pages/aws-kms-component.adoc | 2 +- .../modules/ROOT/pages/aws-lambda-component.adoc | 2 +- .../modules/ROOT/pages/aws-mq-component.adoc | 2 +- .../modules/ROOT/pages/aws-msk-component.adoc | 2 +- .../modules/ROOT/pages/aws-s3-component.adoc | 2 +- .../modules/ROOT/pages/aws-sdb-component.adoc | 2 +- .../modules/ROOT/pages/aws-ses-component.adoc | 2 +- .../modules/ROOT/pages/aws-sns-component.adoc | 2 +- .../modules/ROOT/pages/aws-sqs-component.adoc | 2 +- .../modules/ROOT/pages/aws-swf-component.adoc | 2 +- .../ROOT/pages/aws-translate-component.adoc| 2 +- .../modules/ROOT/pages/corda-component.adoc| 42 -- docs/components/modules/ROOT/pages/index.adoc | 2 +- .../modules/ROOT/pages/ipfs-component.adoc | 8 ++--- .../modules/ROOT/pages/resilience4j.adoc | 2 +- .../ROOT/pages/robotframework-component.adoc | 2 +- .../modules/ROOT/pages/web3j-component.adoc| 12 +++ .../modules/ROOT/pages/webhook-component.adoc | 2 +- docs/user-manual-nav.adoc.template | 2 +- docs/user-manual/modules/ROOT/nav.adoc | 2 +- 32 files changed, 99 insertions(+), 71 deletions(-)
[camel] branch camel-2.24.x updated: Fixing failing xml security tests with latest Azul JDK
This is an automated email from the ASF dual-hosted git repository. coheigea pushed a commit to branch camel-2.24.x in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/camel-2.24.x by this push: new dad5ab5 Fixing failing xml security tests with latest Azul JDK dad5ab5 is described below commit dad5ab5e1d5ae4a0e02fc9b4076930ae9094475c Author: Colm O hEigeartaigh AuthorDate: Thu Dec 12 13:40:05 2019 + Fixing failing xml security tests with latest Azul JDK --- .../apache/camel/component/xmlsecurity/processor/SantuarioUtil.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/processor/SantuarioUtil.java b/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/processor/SantuarioUtil.java index b37e3ee..8043471 100644 --- a/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/processor/SantuarioUtil.java +++ b/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/processor/SantuarioUtil.java @@ -72,9 +72,10 @@ public final class SantuarioUtil { public Boolean run() { String providerName = "ApacheXMLDSig"; Provider currentProvider = Security.getProvider(providerName); -if (currentProvider == null) { -Security.addProvider(new XMLDSigRI()); +if (currentProvider != null) { +Security.removeProvider(currentProvider.getName()); } +Security.addProvider(new XMLDSigRI()); return true; } });
[camel] branch camel-2.x updated: Fixing failing xml security tests with latest Azul JDK
This is an automated email from the ASF dual-hosted git repository. coheigea pushed a commit to branch camel-2.x in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/camel-2.x by this push: new 3882c8d Fixing failing xml security tests with latest Azul JDK 3882c8d is described below commit 3882c8dfda7fbd1d6a037cebe64a1f4791d3e283 Author: Colm O hEigeartaigh AuthorDate: Thu Dec 12 13:40:05 2019 + Fixing failing xml security tests with latest Azul JDK --- .../apache/camel/component/xmlsecurity/processor/SantuarioUtil.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/processor/SantuarioUtil.java b/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/processor/SantuarioUtil.java index b37e3ee..8043471 100644 --- a/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/processor/SantuarioUtil.java +++ b/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/processor/SantuarioUtil.java @@ -72,9 +72,10 @@ public final class SantuarioUtil { public Boolean run() { String providerName = "ApacheXMLDSig"; Provider currentProvider = Security.getProvider(providerName); -if (currentProvider == null) { -Security.addProvider(new XMLDSigRI()); +if (currentProvider != null) { +Security.removeProvider(currentProvider.getName()); } +Security.addProvider(new XMLDSigRI()); return true; } });
[camel] branch camel-3.0.x updated: Fixing failing xml security tests with latest Azul JDK
This is an automated email from the ASF dual-hosted git repository. coheigea pushed a commit to branch camel-3.0.x in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/camel-3.0.x by this push: new 0cf76d7 Fixing failing xml security tests with latest Azul JDK 0cf76d7 is described below commit 0cf76d78a7ed51b42385c6f729f9702c5d68462d Author: Colm O hEigeartaigh AuthorDate: Thu Dec 12 13:40:05 2019 + Fixing failing xml security tests with latest Azul JDK --- .../apache/camel/component/xmlsecurity/processor/SantuarioUtil.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/processor/SantuarioUtil.java b/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/processor/SantuarioUtil.java index 1c0bd26..db1be31 100644 --- a/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/processor/SantuarioUtil.java +++ b/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/processor/SantuarioUtil.java @@ -71,9 +71,10 @@ public final class SantuarioUtil { public Boolean run() { String providerName = "ApacheXMLDSig"; Provider currentProvider = Security.getProvider(providerName); -if (currentProvider == null) { -Security.addProvider(new XMLDSigRI()); +if (currentProvider != null) { +Security.removeProvider(currentProvider.getName()); } +Security.addProvider(new XMLDSigRI()); return true; } });
[camel] branch master updated (6243894 -> 85b79e7)
This is an automated email from the ASF dual-hosted git repository. coheigea pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/camel.git. from 6243894 Polished add 85b79e7 Fixing failing xml security tests with latest Azul JDK No new revisions were added by this update. Summary of changes: .../apache/camel/component/xmlsecurity/processor/SantuarioUtil.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
[GitHub] [camel-k] nicolaferraro opened a new issue #1137: Generate CRD documentation for website
nicolaferraro opened a new issue #1137: Generate CRD documentation for website URL: https://github.com/apache/camel-k/issues/1137 We can take something from: https://github.com/ahmetb/gen-crd-api-reference-docs 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[camel-k] branch master updated (5b0754b -> d2e4739)
This is an automated email from the ASF dual-hosted git repository. nferraro pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/camel-k.git. from 5b0754b Fix #1120: fix imports add d2c91b3 chore(ci): dump namespace when tests fail in CI add ef9d026 chore(ci): rebase dumper add d2e4739 Fix #1125: fix test logging No new revisions were added by this update. Summary of changes: e2e/backward_compat_test.go | 4 +-- e2e/build_test.go| 3 +- e2e/client_test.go | 5 +-- e2e/docker_hub_test.go | 3 +- e2e/github_packages_test.go | 3 +- e2e/install_test.go | 12 +++ e2e/knative_test.go | 18 +- e2e/platformless_run_test.go | 3 +- e2e/run_test.go | 3 +- e2e/tekton_test.go | 4 +-- e2e/test_support.go | 24 ++--- e2e/upgrade_test.go | 6 ++-- e2e/util/dump.go | 85 script/Makefile | 4 +-- 14 files changed, 129 insertions(+), 48 deletions(-) create mode 100644 e2e/util/dump.go
[GitHub] [camel-k] nicolaferraro closed issue #1125: Improve discovery of Knative on install
nicolaferraro closed issue #1125: Improve discovery of Knative on install URL: https://github.com/apache/camel-k/issues/1125 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [camel-k] nicolaferraro merged pull request #1113: chore(ci): dump namespace when tests fail in CI
nicolaferraro merged pull request #1113: chore(ci): dump namespace when tests fail in CI URL: https://github.com/apache/camel-k/pull/1113 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[camel] branch master updated: Polished
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/master by this push: new 6243894 Polished 6243894 is described below commit 6243894c338980bb08709fe31284fd4da4d69fd9 Author: Claus Ibsen AuthorDate: Thu Dec 12 13:58:38 2019 +0100 Polished --- .../camel-coap/src/main/java/org/apache/camel/coap/CoAPComponent.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/camel-coap/src/main/java/org/apache/camel/coap/CoAPComponent.java b/components/camel-coap/src/main/java/org/apache/camel/coap/CoAPComponent.java index cc389dd..e6bd89b 100644 --- a/components/camel-coap/src/main/java/org/apache/camel/coap/CoAPComponent.java +++ b/components/camel-coap/src/main/java/org/apache/camel/coap/CoAPComponent.java @@ -187,12 +187,12 @@ public class CoAPComponent extends DefaultComponent implements RestConsumerFacto } CoAPEndpoint endpoint = camelContext.getEndpoint(url, CoAPEndpoint.class); -setProperties(endpoint, parameters); +setProperties(camelContext, endpoint, parameters); // configure consumer properties Consumer consumer = endpoint.createConsumer(processor); if (config.getConsumerProperties() != null && !config.getConsumerProperties().isEmpty()) { -setProperties(consumer, config.getConsumerProperties()); +setProperties(camelContext, consumer, config.getConsumerProperties()); } return consumer; }
[GitHub] [camel-k] zhfeng commented on issue #1109: Update to add the saga example
zhfeng commented on issue #1109: Update to add the saga example URL: https://github.com/apache/camel-k/pull/1109#issuecomment-564996185 @nicolaferraro I update to add the lra-coordinator-kub.yaml which could be used for creating the lra-coordinator on the kubernetes. I had checked locally and it works fine both on the openshift and minikube. Can you take a look ? 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[camel] branch master updated: CAMEL-14284: Configuring endpoint should set properties on endpoint and not configuration object - servicenow
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/master by this push: new 13b9efa CAMEL-14284: Configuring endpoint should set properties on endpoint and not configuration object - servicenow 13b9efa is described below commit 13b9efaa205c11412796d90ba6ca3eda39b3ebf0 Author: Claus Ibsen AuthorDate: Thu Dec 12 13:54:44 2019 +0100 CAMEL-14284: Configuring endpoint should set properties on endpoint and not configuration object - servicenow --- .../camel/component/servicenow/ServiceNowComponent.java | 16 ++-- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/components/camel-servicenow/camel-servicenow-component/src/main/java/org/apache/camel/component/servicenow/ServiceNowComponent.java b/components/camel-servicenow/camel-servicenow-component/src/main/java/org/apache/camel/component/servicenow/ServiceNowComponent.java index 20a1124..f0b7958 100644 --- a/components/camel-servicenow/camel-servicenow-component/src/main/java/org/apache/camel/component/servicenow/ServiceNowComponent.java +++ b/components/camel-servicenow/camel-servicenow-component/src/main/java/org/apache/camel/component/servicenow/ServiceNowComponent.java @@ -158,7 +158,6 @@ public class ServiceNowComponent extends DefaultComponent implements SSLContextP /** * The proxy host name - * @param proxyHost */ @Metadata(label = "advanced") public void setProxyHost(String proxyHost) { @@ -171,7 +170,6 @@ public class ServiceNowComponent extends DefaultComponent implements SSLContextP /** * The proxy port number - * @param proxyPort */ @Metadata(label = "advanced") public void setProxyPort(Integer proxyPort) { @@ -184,7 +182,6 @@ public class ServiceNowComponent extends DefaultComponent implements SSLContextP /** * Username for proxy authentication - * @param proxyUserName */ @Metadata(label = "advanced,security", secret = true) public void setProxyUserName(String proxyUserName) { @@ -197,7 +194,6 @@ public class ServiceNowComponent extends DefaultComponent implements SSLContextP /** * Password for proxy authentication - * @param proxyPassword */ @Metadata(label = "advanced,security", secret = true) public void setProxyPassword(String proxyPassword) { @@ -251,26 +247,26 @@ public class ServiceNowComponent extends DefaultComponent implements SSLContextP EndpointHelper.resolveParameter(context, (String)entry.getValue(), Class.class)); } -setProperties(configuration, parameters); - if (ObjectHelper.isEmpty(remaining)) { -// If an instance is not set on the endpoint uri, use the one set on -// component. +// If an instance is not set on the endpoint uri, use the one set on component. remaining = instanceName; } String instanceName = getCamelContext().resolvePropertyPlaceholders(remaining); +ServiceNowEndpoint endpoint = new ServiceNowEndpoint(uri, this, configuration, instanceName); +setProperties(endpoint, parameters); + if (!configuration.hasApiUrl()) { configuration.setApiUrl(String.format("https://%s.service-now.com/api;, instanceName)); } if (!configuration.hasOauthTokenUrl()) { configuration.setOauthTokenUrl(String.format("https://%s.service-now.com/oauth_token.do;, instanceName)); } - if (configuration.getSslContextParameters() == null) { configuration.setSslContextParameters(retrieveGlobalSslContextParameters()); } -return new ServiceNowEndpoint(uri, this, configuration, instanceName); +return endpoint; } + }
[camel] branch master updated: Fix typos in documentation navigation (#3400)
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/master by this push: new 564e4db Fix typos in documentation navigation (#3400) 564e4db is described below commit 564e4db043f071923c9ead4115bb80cda1f10a6d Author: gurpal2000 AuthorDate: Thu Dec 12 12:49:43 2019 + Fix typos in documentation navigation (#3400) * Fix typo Typo fix - "Hidding" to "Hiding" * Typo fix Fixed "Hidding" to "Hiding" --- docs/user-manual-nav.adoc.template | 4 ++-- docs/user-manual/modules/ROOT/nav.adoc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/user-manual-nav.adoc.template b/docs/user-manual-nav.adoc.template index aa223f1..b6c5105 100644 --- a/docs/user-manual-nav.adoc.template +++ b/docs/user-manual-nav.adoc.template @@ -43,7 +43,7 @@ ** xref:transformer.adoc[Transformer] ** xref:validator.adoc[Validator] ** xref:spring-remoting.adoc[Spring Remoting] - ** xref:hiding-middleware.adoc[Hidding Middleware] + ** xref:hiding-middleware.adoc[Hiding Middleware] ** xref:health-check.adoc[Health Checks] * Domain Specific Languages ** xref:dsl.adoc[Camel Domain Specific Language] @@ -161,4 +161,4 @@ ** xref:faq/why-does-camel-use-too-many-threads-with-producertemplate.adoc[Why does Camel use too many threads with ProducerTemplate?] ** xref:faq/why-does-maven-not-download-dependencies.adoc[Why does maven not download dependencies?] * xref:camel-3-migration-guide.adoc[Camel 2.x to 3.0 Migration Guide] -* xref:camel-3x-upgrade-guide.adoc[Camel 3.x Upgrade Guide] +* xref:camel-3x-migration-guide.adoc[Camel 3.x Migration Guide] diff --git a/docs/user-manual/modules/ROOT/nav.adoc b/docs/user-manual/modules/ROOT/nav.adoc index 82442f4..008b2ae 100644 --- a/docs/user-manual/modules/ROOT/nav.adoc +++ b/docs/user-manual/modules/ROOT/nav.adoc @@ -44,7 +44,7 @@ ** xref:transformer.adoc[Transformer] ** xref:validator.adoc[Validator] ** xref:spring-remoting.adoc[Spring Remoting] - ** xref:hiding-middleware.adoc[Hidding Middleware] + ** xref:hiding-middleware.adoc[Hiding Middleware] ** xref:health-check.adoc[Health Checks] * Domain Specific Languages ** xref:dsl.adoc[Camel Domain Specific Language] @@ -237,4 +237,4 @@ ** xref:faq/why-does-camel-use-too-many-threads-with-producertemplate.adoc[Why does Camel use too many threads with ProducerTemplate?] ** xref:faq/why-does-maven-not-download-dependencies.adoc[Why does maven not download dependencies?] * xref:camel-3-migration-guide.adoc[Camel 2.x to 3.0 Migration Guide] -* xref:camel-3x-upgrade-guide.adoc[Camel 3.x Upgrade Guide] +* xref:camel-3x-migration-guide.adoc[Camel 3.x Migration Guide]
[camel] branch master updated: CAMEL-14284: Configuring endpoint should set properties on endpoint and not configuration object - spring-redis
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/master by this push: new 73891fd CAMEL-14284: Configuring endpoint should set properties on endpoint and not configuration object - spring-redis 73891fd is described below commit 73891fd53968662efdc456bc485e5be7e8291394 Author: Claus Ibsen AuthorDate: Thu Dec 12 13:45:17 2019 +0100 CAMEL-14284: Configuring endpoint should set properties on endpoint and not configuration object - spring-redis --- .../java/org/apache/camel/component/redis/RedisComponent.java| 5 ++--- .../java/org/apache/camel/component/redis/RedisEndpoint.java | 9 +++-- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/components/camel-spring-redis/src/main/java/org/apache/camel/component/redis/RedisComponent.java b/components/camel-spring-redis/src/main/java/org/apache/camel/component/redis/RedisComponent.java index d52129e..5379e34 100644 --- a/components/camel-spring-redis/src/main/java/org/apache/camel/component/redis/RedisComponent.java +++ b/components/camel-spring-redis/src/main/java/org/apache/camel/component/redis/RedisComponent.java @@ -34,12 +34,11 @@ public class RedisComponent extends DefaultComponent { } @Override -protected Endpoint createEndpoint(String uri, String remaining, Map parameters) -throws Exception { +protected Endpoint createEndpoint(String uri, String remaining, Map parameters) throws Exception { RedisConfiguration configuration = new RedisConfiguration(); setHostAndPort(configuration, remaining); -setProperties(configuration, parameters); RedisEndpoint endpoint = new RedisEndpoint(uri, this, configuration); +setProperties(endpoint, parameters); return endpoint; } diff --git a/components/camel-spring-redis/src/main/java/org/apache/camel/component/redis/RedisEndpoint.java b/components/camel-spring-redis/src/main/java/org/apache/camel/component/redis/RedisEndpoint.java index 24e5722..38ffcd6 100644 --- a/components/camel-spring-redis/src/main/java/org/apache/camel/component/redis/RedisEndpoint.java +++ b/components/camel-spring-redis/src/main/java/org/apache/camel/component/redis/RedisEndpoint.java @@ -36,8 +36,6 @@ public class RedisEndpoint extends DefaultEndpoint { public RedisEndpoint(String uri, RedisComponent component, RedisConfiguration configuration) { super(uri, component); this.configuration = configuration; -redisProcessorsCreator = new AllRedisProcessorsCreator(new RedisClient(configuration.getRedisTemplate()), -((RedisComponent)getComponent()).getExchangeConverter()); } @Override @@ -60,6 +58,13 @@ public class RedisEndpoint extends DefaultEndpoint { } @Override +protected void doInit() throws Exception { +super.doInit(); +redisProcessorsCreator = new AllRedisProcessorsCreator(new RedisClient(configuration.getRedisTemplate()), +((RedisComponent)getComponent()).getExchangeConverter()); +} + +@Override protected void doShutdown() throws Exception { super.doShutdown(); configuration.stop();
[camel] branch master updated (c36f04e -> dc9b027)
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/camel.git. from c36f04e CAMEL-14284: Configuring endpoint should set properties on endpoint and not configuration object - spring-ws new 08f28a5 CAMEL-14284: Configuring endpoint should set properties on endpoint and not configuration object - jooq new dc9b027 jooq upgrade issue The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: .../apache/camel/component/jooq/JooqComponent.java | 40 +- .../apache/camel/component/jooq/JooqEndpoint.java | 29 parent/pom.xml | 1 + 3 files changed, 32 insertions(+), 38 deletions(-)
[camel] 01/02: CAMEL-14284: Configuring endpoint should set properties on endpoint and not configuration object - jooq
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git commit 08f28a568a737aeb160ff118865f7bfa3af4eab1 Author: Claus Ibsen AuthorDate: Thu Dec 12 13:13:37 2019 +0100 CAMEL-14284: Configuring endpoint should set properties on endpoint and not configuration object - jooq --- .../apache/camel/component/jooq/JooqComponent.java | 40 +- .../apache/camel/component/jooq/JooqEndpoint.java | 29 2 files changed, 31 insertions(+), 38 deletions(-) diff --git a/components/camel-jooq/src/main/java/org/apache/camel/component/jooq/JooqComponent.java b/components/camel-jooq/src/main/java/org/apache/camel/component/jooq/JooqComponent.java index 52a3df6..9486e45 100644 --- a/components/camel-jooq/src/main/java/org/apache/camel/component/jooq/JooqComponent.java +++ b/components/camel-jooq/src/main/java/org/apache/camel/component/jooq/JooqComponent.java @@ -18,6 +18,7 @@ package org.apache.camel.component.jooq; import java.util.Map; +import org.apache.camel.CamelContext; import org.apache.camel.Endpoint; import org.apache.camel.spi.Metadata; import org.apache.camel.spi.annotations.Component; @@ -29,20 +30,13 @@ public class JooqComponent extends DefaultComponent { @Metadata(description = "Component configuration (database connection, database entity type, etc.)") private JooqConfiguration configuration; -public JooqComponent() { -} - -@Override -protected void doStart() throws Exception { -super.doStart(); -} - @Override protected Endpoint createEndpoint(String uri, String remaining, Map parameters) throws Exception { JooqConfiguration conf = configuration != null ? configuration.copy() : new JooqConfiguration(); -setProperties(conf, parameters); JooqEndpoint endpoint = new JooqEndpoint(uri, remaining, this, conf); +setProperties(endpoint, parameters); +initConfiguration(getCamelContext(), conf, remaining); return endpoint; } @@ -53,4 +47,32 @@ public class JooqComponent extends DefaultComponent { public void setConfiguration(JooqConfiguration jooqConfiguration) { this.configuration = jooqConfiguration; } + +private static void initConfiguration(CamelContext camelContext, JooqConfiguration configuration, String remaining) { +if (remaining == null) { +return; +} + +String[] parts = remaining.split("/"); +if (parts.length == 0 || parts.length > 2) { +throw new IllegalArgumentException("Unexpected URI format. Expected ... , found '" + remaining + "'"); +} + +String className = parts[0]; +Class type = camelContext.getClassResolver().resolveClass(className); +if (type != null) { +configuration.setEntityType(type); +} + +if (parts.length > 1) { +String op = parts[1]; +JooqOperation operation = camelContext.getTypeConverter().convertTo(JooqOperation.class, op); +if (operation != null) { +configuration.setOperation(operation); +} else { +throw new IllegalArgumentException("Wrong operation: " + op); +} +} +} + } diff --git a/components/camel-jooq/src/main/java/org/apache/camel/component/jooq/JooqEndpoint.java b/components/camel-jooq/src/main/java/org/apache/camel/component/jooq/JooqEndpoint.java index 1cfe595..95b2451 100644 --- a/components/camel-jooq/src/main/java/org/apache/camel/component/jooq/JooqEndpoint.java +++ b/components/camel-jooq/src/main/java/org/apache/camel/component/jooq/JooqEndpoint.java @@ -40,35 +40,6 @@ public class JooqEndpoint extends ScheduledPollEndpoint { public JooqEndpoint(String uri, String remaining, JooqComponent component, JooqConfiguration configuration) { super(uri, component); this.configuration = configuration; - -initConfiguration(remaining); -} - -private void initConfiguration(String remaining) { -if (remaining == null) { -return; -} - -String[] parts = remaining.split("/"); -if (parts.length == 0 || parts.length > 2) { -throw new IllegalArgumentException("Unexpected URI format. Expected ... , found '" + remaining + "'"); -} - -String className = parts[0]; -Class type = getCamelContext().getClassResolver().resolveClass(className); -if (type != null) { -configuration.setEntityType(type); -} - -if (parts.length > 1) { -String op = parts[1]; -JooqOperation operation = getCamelContext().getTypeConverter().convertTo(JooqOperation.class, op); -if (operation != null) { -configuration.setOperation(operation); -} else { -throw new
[camel] 02/02: jooq upgrade issue
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git commit dc9b0274cfc3e458a3e612c004be799faac95da9 Author: Claus Ibsen AuthorDate: Thu Dec 12 13:41:07 2019 +0100 jooq upgrade issue --- parent/pom.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/parent/pom.xml b/parent/pom.xml index 755bcb4..253eb9d 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -369,6 +369,7 @@ 0.1.1 0.1.1_1 0.9.12 + 3.11.12 1.2.2 0.6.4
[camel-kafka-connector] branch master updated (abec51c -> c8d02db)
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git. from abec51c Removed gitter badge new 0946617 Revert "Removed gitter badge" new c8d02db Gitter badge 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: README.adoc | 2 ++ 1 file changed, 2 insertions(+)
[camel-kafka-connector] 02/02: Gitter badge
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git commit c8d02db1e10e939d03958190fe077aea206e8ea6 Author: Andrea Cosentino AuthorDate: Thu Dec 12 13:36:12 2019 +0100 Gitter badge --- README.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.adoc b/README.adoc index 9bf0c79..57d6110 100644 --- a/README.adoc +++ b/README.adoc @@ -1,6 +1,6 @@ == Camel Kafka Connector -image:https://img.shields.io/gitter/room/apache/camel-kafka-connector[https://gitter.im/apache/camel-kafka-connector] +image:https://img.shields.io/gitter/room/apache/camel-kafka-connector["Chat on Gitter", link="https://gitter.im/apache/camel-kafka-connector;] === Introduction [NOTE]
[camel-kafka-connector] 01/02: Revert "Removed gitter badge"
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git commit 0946617ab1d29250739c0f04d0a2f023ba14ce73 Author: Andrea Cosentino AuthorDate: Thu Dec 12 13:35:42 2019 +0100 Revert "Removed gitter badge" This reverts commit abec51cdcc7ce721b031c38f0c214782352d6bef. --- README.adoc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.adoc b/README.adoc index 3686552..9bf0c79 100644 --- a/README.adoc +++ b/README.adoc @@ -1,5 +1,7 @@ == Camel Kafka Connector +image:https://img.shields.io/gitter/room/apache/camel-kafka-connector[https://gitter.im/apache/camel-kafka-connector] + === Introduction [NOTE]
[camel-kafka-connector] branch master updated: Removed gitter badge
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git The following commit(s) were added to refs/heads/master by this push: new abec51c Removed gitter badge abec51c is described below commit abec51cdcc7ce721b031c38f0c214782352d6bef Author: Andrea Cosentino AuthorDate: Thu Dec 12 13:31:38 2019 +0100 Removed gitter badge --- README.adoc | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.adoc b/README.adoc index 9bf0c79..3686552 100644 --- a/README.adoc +++ b/README.adoc @@ -1,7 +1,5 @@ == Camel Kafka Connector -image:https://img.shields.io/gitter/room/apache/camel-kafka-connector[https://gitter.im/apache/camel-kafka-connector] - === Introduction [NOTE]
[camel-kafka-connector] branch master updated (5532c6a -> d783a8d)
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git. from 5532c6a Merge pull request #45 from apache/gitter-chat new 2c371f9 Added a gitter badge for our chat new d783a8d Fix Readme.adoc 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: README.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
[camel-kafka-connector] 01/02: Added a gitter badge for our chat
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git commit 2c371f9c7d140eccda15369a6c95de051dc9567a Author: Andrea Cosentino AuthorDate: Thu Dec 12 13:03:09 2019 +0100 Added a gitter badge for our chat --- README.adoc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.adoc b/README.adoc index 3686552..b4c9324 100644 --- a/README.adoc +++ b/README.adoc @@ -1,5 +1,7 @@ == Camel Kafka Connector +![Gitter](https://img.shields.io/gitter/room/apache/camel-kafka-connector) + === Introduction [NOTE]
[camel-kafka-connector] 02/02: Fix Readme.adoc
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git commit d783a8d93645caeffd7fb60acd8324b03912f804 Merge: 2c371f9 5532c6a Author: Andrea Cosentino AuthorDate: Thu Dec 12 13:29:48 2019 +0100 Fix Readme.adoc README.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --cc README.adoc index b4c9324,c38a265..9bf0c79 --- a/README.adoc +++ b/README.adoc @@@ -1,6 -1,6 +1,6 @@@ == Camel Kafka Connector - ![Gitter](https://img.shields.io/gitter/room/apache/camel-kafka-connector) -image:https://img.shields.io/gitter/room/apache/camel-kafka-connector[Gitter] ++image:https://img.shields.io/gitter/room/apache/camel-kafka-connector[https://gitter.im/apache/camel-kafka-connector] === Introduction [NOTE]
[camel-kafka-connector] 01/01: Added a gitter badge for our chat
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch gitter-chat in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git commit 8bd3efec532be3cd74cab1be99400fb66690ce3a Author: Andrea Cosentino AuthorDate: Thu Dec 12 13:03:09 2019 +0100 Added a gitter badge for our chat --- README.adoc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.adoc b/README.adoc index 3686552..c38a265 100644 --- a/README.adoc +++ b/README.adoc @@ -1,5 +1,7 @@ == Camel Kafka Connector +image:https://img.shields.io/gitter/room/apache/camel-kafka-connector[Gitter] + === Introduction [NOTE]
[camel-kafka-connector] 01/01: Merge pull request #45 from apache/gitter-chat
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git commit 5532c6a4ea31dcb3162624c44c234c8fe960b6fd Merge: 9f43dc4 8bd3efe Author: Andrea Cosentino AuthorDate: Thu Dec 12 13:19:29 2019 +0100 Merge pull request #45 from apache/gitter-chat Added a gitter badge for our chat README.adoc | 2 ++ 1 file changed, 2 insertions(+)
[camel-kafka-connector] branch gitter-chat updated (274efb3 -> 8bd3efe)
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a change to branch gitter-chat in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git. omit 274efb3 Added a gitter badge for our chat new 8bd3efe Added a gitter badge for our chat This update added new revisions after undoing existing revisions. That is to say, some revisions that were in the old version of the branch are not in the new version. This situation occurs when a user --force pushes a change and generates a repository containing something like this: * -- * -- B -- O -- O -- O (274efb3) \ N -- N -- N refs/heads/gitter-chat (8bd3efe) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: README.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
[camel-kafka-connector] branch master updated (9f43dc4 -> 5532c6a)
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git. from 9f43dc4 Replaces artemis with qpid-dispatch router (#38) add 8bd3efe Added a gitter badge for our chat new 5532c6a Merge pull request #45 from apache/gitter-chat The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: README.adoc | 2 ++ 1 file changed, 2 insertions(+)
[GitHub] [camel-kafka-connector] oscerd merged pull request #45: Added a gitter badge for our chat
oscerd merged pull request #45: Added a gitter badge for our chat URL: https://github.com/apache/camel-kafka-connector/pull/45 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [camel-kafka-connector] oscerd opened a new pull request #45: Added a gitter badge for our chat
oscerd opened a new pull request #45: Added a gitter badge for our chat URL: https://github.com/apache/camel-kafka-connector/pull/45 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [camel-kafka-connector] oscerd closed pull request #44: Added a gitter badge for our chat
oscerd closed pull request #44: Added a gitter badge for our chat URL: https://github.com/apache/camel-kafka-connector/pull/44 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[camel-kafka-connector] branch gitter-chat updated (2c371f9 -> 274efb3)
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a change to branch gitter-chat in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git. discard 2c371f9 Added a gitter badge for our chat add 274efb3 Added a gitter badge for our chat This update added new revisions after undoing existing revisions. That is to say, some revisions that were in the old version of the branch are not in the new version. This situation occurs when a user --force pushes a change and generates a repository containing something like this: * -- * -- B -- O -- O -- O (2c371f9) \ N -- N -- N refs/heads/gitter-chat (274efb3) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. No new revisions were added by this update. Summary of changes: README.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
[camel] branch master updated: CAMEL-14284: Configuring endpoint should set properties on endpoint and not configuration object - spring-ws
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/master by this push: new c36f04e CAMEL-14284: Configuring endpoint should set properties on endpoint and not configuration object - spring-ws c36f04e is described below commit c36f04e758fbf5e180ec6fd57d91ad0ce3c69c8a Author: Claus Ibsen AuthorDate: Thu Dec 12 13:07:13 2019 +0100 CAMEL-14284: Configuring endpoint should set properties on endpoint and not configuration object - spring-ws --- .../spring/ws/SpringWebserviceComponent.java | 19 +++ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/components/camel-spring-ws/src/main/java/org/apache/camel/component/spring/ws/SpringWebserviceComponent.java b/components/camel-spring-ws/src/main/java/org/apache/camel/component/spring/ws/SpringWebserviceComponent.java index 5c04f6c..3054498 100644 --- a/components/camel-spring-ws/src/main/java/org/apache/camel/component/spring/ws/SpringWebserviceComponent.java +++ b/components/camel-spring-ws/src/main/java/org/apache/camel/component/spring/ws/SpringWebserviceComponent.java @@ -20,7 +20,6 @@ import java.net.URI; import java.net.URISyntaxException; import java.util.Map; -import org.apache.camel.CamelContext; import org.apache.camel.Endpoint; import org.apache.camel.RuntimeCamelException; import org.apache.camel.SSLContextParametersAware; @@ -45,16 +44,9 @@ import org.springframework.xml.xpath.XPathExpressionFactory; @Component("spring-ws") public class SpringWebserviceComponent extends DefaultComponent implements SSLContextParametersAware { -@Metadata(label = "security", defaultValue = "false") +@Metadata(label = "security") private boolean useGlobalSslContextParameters; -public SpringWebserviceComponent() { -} - -public SpringWebserviceComponent(CamelContext context) { -super(context); -} - @Override @Deprecated protected String preProcessUri(String uri) { @@ -65,16 +57,19 @@ public class SpringWebserviceComponent extends DefaultComponent implements SSLCo @Override protected Endpoint createEndpoint(String uri, String remaining, Map parameters) throws Exception { SpringWebserviceConfiguration configuration = new SpringWebserviceConfiguration(); +// need to do this first addConsumerConfiguration(remaining, parameters, configuration); -setProperties(configuration, parameters); + +SpringWebserviceEndpoint endpoint = new SpringWebserviceEndpoint(this, uri, configuration); +setProperties(endpoint, parameters); +// configure and setup configuration after it has its properties set via the endpoint configureProducerConfiguration(remaining, configuration); configureMessageFilter(configuration); - if (configuration.getSslContextParameters() == null) { configuration.setSslContextParameters(retrieveGlobalSslContextParameters()); } -return new SpringWebserviceEndpoint(this, uri, configuration); +return endpoint; } private void addConsumerConfiguration(String remaining, Map parameters, SpringWebserviceConfiguration configuration) {
[GitHub] [camel-kafka-connector] oscerd opened a new pull request #44: Added a gitter badge for our chat
oscerd opened a new pull request #44: Added a gitter badge for our chat URL: https://github.com/apache/camel-kafka-connector/pull/44 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[camel-kafka-connector] branch gitter-chat created (now 2c371f9)
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a change to branch gitter-chat in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git. at 2c371f9 Added a gitter badge for our chat This branch includes the following new commits: new 2c371f9 Added a gitter badge for our chat The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference.
[camel-kafka-connector] 01/01: Added a gitter badge for our chat
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch gitter-chat in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git commit 2c371f9c7d140eccda15369a6c95de051dc9567a Author: Andrea Cosentino AuthorDate: Thu Dec 12 13:03:09 2019 +0100 Added a gitter badge for our chat --- README.adoc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.adoc b/README.adoc index 3686552..b4c9324 100644 --- a/README.adoc +++ b/README.adoc @@ -1,5 +1,7 @@ == Camel Kafka Connector +![Gitter](https://img.shields.io/gitter/room/apache/camel-kafka-connector) + === Introduction [NOTE]
[camel] branch master updated (5f554d4 -> dcbca01)
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/camel.git. from 5f554d4 Upgrade JGit to version 5.6.0.20191210-r add dcbca01 CAMEL-14284: Configuring endpoint should set properties on endpoint and not configuration object - telegram No new revisions were added by this update. Summary of changes: .../camel/component/telegram/TelegramComponent.java| 18 -- 1 file changed, 8 insertions(+), 10 deletions(-)
[camel] branch master updated (950321f -> 5f554d4)
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/camel.git. from 950321f CAMEL-14284: Configuring endpoint should set properties on endpoint and not configuration object - web3j add 5f554d4 Upgrade JGit to version 5.6.0.20191210-r No new revisions were added by this update. Summary of changes: parent/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
[camel] branch master updated (f615dfb -> 950321f)
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/camel.git. from f615dfb CAMEL-14284: Configuring endpoint should set properties on endpoint and not configuration object - web3j add 950321f CAMEL-14284: Configuring endpoint should set properties on endpoint and not configuration object - web3j No new revisions were added by this update. Summary of changes: .../java/org/apache/camel/component/web3j/Web3jComponent.java| 7 --- .../java/org/apache/camel/component/web3j/Web3jEndpoint.java | 9 +++-- 2 files changed, 7 insertions(+), 9 deletions(-)
[camel] branch master updated (7b25b69 -> f615dfb)
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/camel.git. from 7b25b69 CAMEL-14292 - Remove unwanted dependency to Guava strings class repackaged in google-http-client library add f615dfb CAMEL-14284: Configuring endpoint should set properties on endpoint and not configuration object - web3j No new revisions were added by this update. Summary of changes: .../camel-web3j/src/main/docs/web3j-component.adoc | 6 +- .../camel/component/web3j/Web3jComponent.java | 21 ++-- .../camel/component/web3j/Web3jConfiguration.java | 62 ++-- .../camel/component/web3j/Web3jConsumer.java | 19 ++-- .../apache/camel/component/web3j/Web3jHelper.java} | 34 --- .../camel/component/web3j/Web3jProducer.java | 48 - .../src/test/resources/log4j2.properties | 2 +- .../endpoint/dsl/Web3jEndpointBuilderFactory.java | 112 ++--- .../springboot/Web3jComponentConfiguration.java| 19 ++-- 9 files changed, 90 insertions(+), 233 deletions(-) copy components/{camel-spring/src/test/java/org/apache/camel/spring/remoting/Bean.java => camel-web3j/src/main/java/org/apache/camel/component/web3j/Web3jHelper.java} (51%)
[camel] branch camel-2.24.x updated: CAMEL-14292 - Remove unwanted dependency to Guava strings class repackaged in google-http-client library
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch camel-2.24.x in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/camel-2.24.x by this push: new b9df09d CAMEL-14292 - Remove unwanted dependency to Guava strings class repackaged in google-http-client library b9df09d is described below commit b9df09d1ad950c9c577ddb859e9d6d57b4f0be2d Author: Andrea Cosentino AuthorDate: Thu Dec 12 12:20:01 2019 +0100 CAMEL-14292 - Remove unwanted dependency to Guava strings class repackaged in google-http-client library --- .../org/apache/camel/component/google/pubsub/GooglePubsubEndpoint.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/camel-google-pubsub/src/main/java/org/apache/camel/component/google/pubsub/GooglePubsubEndpoint.java b/components/camel-google-pubsub/src/main/java/org/apache/camel/component/google/pubsub/GooglePubsubEndpoint.java index b0be2c3..c5a1600 100644 --- a/components/camel-google-pubsub/src/main/java/org/apache/camel/component/google/pubsub/GooglePubsubEndpoint.java +++ b/components/camel-google-pubsub/src/main/java/org/apache/camel/component/google/pubsub/GooglePubsubEndpoint.java @@ -29,6 +29,7 @@ import org.apache.camel.spi.Metadata; import org.apache.camel.spi.UriEndpoint; import org.apache.camel.spi.UriParam; import org.apache.camel.spi.UriPath; +import org.apache.camel.util.ObjectHelper; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -83,7 +84,7 @@ public class GooglePubsubEndpoint extends DefaultEndpoint { } public void afterPropertiesSet() throws Exception { -if (loggerId == null || loggerId.length() == 0) { +if (ObjectHelper.isEmpty(loggerId)) { log = LoggerFactory.getLogger(this.getClass().getName()); } else { log = LoggerFactory.getLogger(loggerId);
[camel] branch camel-2.24.x updated: Update GooglePubsubEndpoint.java (#3404)
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch camel-2.24.x in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/camel-2.24.x by this push: new 0fcf55d Update GooglePubsubEndpoint.java (#3404) 0fcf55d is described below commit 0fcf55d16dc9d150daeac7ca174352c2d6df Author: mricciuti AuthorDate: Thu Dec 12 12:09:43 2019 +0100 Update GooglePubsubEndpoint.java (#3404) [CAMEL-14292] remove dependency to repackaged guava --- .../org/apache/camel/component/google/pubsub/GooglePubsubEndpoint.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/components/camel-google-pubsub/src/main/java/org/apache/camel/component/google/pubsub/GooglePubsubEndpoint.java b/components/camel-google-pubsub/src/main/java/org/apache/camel/component/google/pubsub/GooglePubsubEndpoint.java index 193596f..b0be2c3 100644 --- a/components/camel-google-pubsub/src/main/java/org/apache/camel/component/google/pubsub/GooglePubsubEndpoint.java +++ b/components/camel-google-pubsub/src/main/java/org/apache/camel/component/google/pubsub/GooglePubsubEndpoint.java @@ -18,7 +18,6 @@ package org.apache.camel.component.google.pubsub; import java.util.concurrent.ExecutorService; -import com.google.api.client.repackaged.com.google.common.base.Strings; import com.google.api.services.pubsub.Pubsub; import org.apache.camel.Component; import org.apache.camel.Consumer; @@ -84,7 +83,7 @@ public class GooglePubsubEndpoint extends DefaultEndpoint { } public void afterPropertiesSet() throws Exception { -if (Strings.isNullOrEmpty(loggerId)) { +if (loggerId == null || loggerId.length() == 0) { log = LoggerFactory.getLogger(this.getClass().getName()); } else { log = LoggerFactory.getLogger(loggerId);
[GitHub] [camel-kafka-connector] orpiske commented on issue #43: Replace `confluentinc/cp-kafka` image with an upstream version
orpiske commented on issue #43: Replace `confluentinc/cp-kafka` image with an upstream version URL: https://github.com/apache/camel-kafka-connector/issues/43#issuecomment-564955469 Thanks. I can take care of this one. Feel free to assign it to me. 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [camel-kafka-connector] valdar opened a new issue #43: Replace `confluentinc/cp-kafka` image with an upstream version
valdar opened a new issue #43: Replace `confluentinc/cp-kafka` image with an upstream version URL: https://github.com/apache/camel-kafka-connector/issues/43 Here are the images pulled as a result of a fresh `mvn clean install`: ```$ docker images REPOSITORY TAG IMAGE IDCREATED SIZE centos 8 0f3e07c0138f2 months ago220MB docker.elastic.co/elasticsearch/elasticsearch-oss 7.3.2 876f2f753cc83 months ago612MB localstack/localstack 0.9.4 5c6c5a2930246 months ago1.29GB confluentinc/cp-kafka 5.2.1 af7cf4356c588 months ago569MB quay.io/testcontainers/ryuk 0.2.3 64849fd2d46410 months ago 10.7MB alpine 3.5 f80194ae2e0c10 months ago 4MB ``` would be nice to replace `confluentinc/cp-kafka` image with an upstream version. 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[camel] branch camel-2.x updated: CAMEL-14292 - Remove unwanted dependency to Guava strings class repackaged in google-http-client library
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch camel-2.x in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/camel-2.x by this push: new 84ff23e CAMEL-14292 - Remove unwanted dependency to Guava strings class repackaged in google-http-client library 84ff23e is described below commit 84ff23e6d9d59c6e577958d515e8bfe279a97e0c Author: Andrea Cosentino AuthorDate: Thu Dec 12 11:37:48 2019 +0100 CAMEL-14292 - Remove unwanted dependency to Guava strings class repackaged in google-http-client library --- .../org/apache/camel/component/google/pubsub/GooglePubsubEndpoint.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/camel-google-pubsub/src/main/java/org/apache/camel/component/google/pubsub/GooglePubsubEndpoint.java b/components/camel-google-pubsub/src/main/java/org/apache/camel/component/google/pubsub/GooglePubsubEndpoint.java index 193596f..d48bcfd 100644 --- a/components/camel-google-pubsub/src/main/java/org/apache/camel/component/google/pubsub/GooglePubsubEndpoint.java +++ b/components/camel-google-pubsub/src/main/java/org/apache/camel/component/google/pubsub/GooglePubsubEndpoint.java @@ -30,6 +30,7 @@ import org.apache.camel.spi.Metadata; import org.apache.camel.spi.UriEndpoint; import org.apache.camel.spi.UriParam; import org.apache.camel.spi.UriPath; +import org.apache.camel.util.ObjectHelper; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -84,7 +85,7 @@ public class GooglePubsubEndpoint extends DefaultEndpoint { } public void afterPropertiesSet() throws Exception { -if (Strings.isNullOrEmpty(loggerId)) { +if (ObjectHelper.isEmpty(loggerId)) { log = LoggerFactory.getLogger(this.getClass().getName()); } else { log = LoggerFactory.getLogger(loggerId);
[camel] branch camel-3.0.x updated: CAMEL-14292 - Remove unwanted dependency to Guava strings class repackaged in google-http-client library
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch camel-3.0.x in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/camel-3.0.x by this push: new b765903 CAMEL-14292 - Remove unwanted dependency to Guava strings class repackaged in google-http-client library b765903 is described below commit b765903375338d30eff789802e84ee18596cd4c6 Author: Andrea Cosentino AuthorDate: Thu Dec 12 11:35:48 2019 +0100 CAMEL-14292 - Remove unwanted dependency to Guava strings class repackaged in google-http-client library --- .../org/apache/camel/component/google/pubsub/GooglePubsubEndpoint.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/camel-google-pubsub/src/main/java/org/apache/camel/component/google/pubsub/GooglePubsubEndpoint.java b/components/camel-google-pubsub/src/main/java/org/apache/camel/component/google/pubsub/GooglePubsubEndpoint.java index 87822ae..d6d0149 100644 --- a/components/camel-google-pubsub/src/main/java/org/apache/camel/component/google/pubsub/GooglePubsubEndpoint.java +++ b/components/camel-google-pubsub/src/main/java/org/apache/camel/component/google/pubsub/GooglePubsubEndpoint.java @@ -30,6 +30,7 @@ import org.apache.camel.spi.UriEndpoint; import org.apache.camel.spi.UriParam; import org.apache.camel.spi.UriPath; import org.apache.camel.support.DefaultEndpoint; +import org.apache.camel.util.ObjectHelper; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -84,7 +85,7 @@ public class GooglePubsubEndpoint extends DefaultEndpoint { } public void afterPropertiesSet() throws Exception { -if (Strings.isNullOrEmpty(loggerId)) { +if (ObjectHelper.isEmpty(loggerId)) { log = LoggerFactory.getLogger(this.getClass().getName()); } else { log = LoggerFactory.getLogger(loggerId);
[camel] branch master updated: CAMEL-14292 - Remove unwanted dependency to Guava strings class repackaged in google-http-client library
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/master by this push: new 7b25b69 CAMEL-14292 - Remove unwanted dependency to Guava strings class repackaged in google-http-client library 7b25b69 is described below commit 7b25b698fce756ce68b2e0db81c30b94320e353e Author: Andrea Cosentino AuthorDate: Thu Dec 12 11:25:39 2019 +0100 CAMEL-14292 - Remove unwanted dependency to Guava strings class repackaged in google-http-client library --- .../apache/camel/component/google/pubsub/GooglePubsubEndpoint.java| 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/camel-google-pubsub/src/main/java/org/apache/camel/component/google/pubsub/GooglePubsubEndpoint.java b/components/camel-google-pubsub/src/main/java/org/apache/camel/component/google/pubsub/GooglePubsubEndpoint.java index 6645efb..87d99f3 100644 --- a/components/camel-google-pubsub/src/main/java/org/apache/camel/component/google/pubsub/GooglePubsubEndpoint.java +++ b/components/camel-google-pubsub/src/main/java/org/apache/camel/component/google/pubsub/GooglePubsubEndpoint.java @@ -18,7 +18,6 @@ package org.apache.camel.component.google.pubsub; import java.util.concurrent.ExecutorService; -import com.google.api.client.repackaged.com.google.common.base.Strings; import com.google.api.services.pubsub.Pubsub; import org.apache.camel.Component; import org.apache.camel.Consumer; @@ -30,6 +29,7 @@ import org.apache.camel.spi.UriEndpoint; import org.apache.camel.spi.UriParam; import org.apache.camel.spi.UriPath; import org.apache.camel.support.DefaultEndpoint; +import org.apache.camel.util.ObjectHelper; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; @@ -85,7 +85,7 @@ public class GooglePubsubEndpoint extends DefaultEndpoint { } public void afterPropertiesSet() throws Exception { -if (Strings.isNullOrEmpty(loggerId)) { +if (ObjectHelper.isEmpty(loggerId)) { log = LogManager.getLogger(this.getClass().getName()); } else { log = LogManager.getLogger(loggerId);
[camel] branch master updated: CAMEL-14284: Configuring endpoint should set properties on endpoint and not configuration object - ipfs. Also fixed so the endpoint is singleton and other cleanups.
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/master by this push: new 52bb90b CAMEL-14284: Configuring endpoint should set properties on endpoint and not configuration object - ipfs. Also fixed so the endpoint is singleton and other cleanups. 52bb90b is described below commit 52bb90bd2fb42c45e18d60bf1e1f1108dc7cf71d Author: Claus Ibsen AuthorDate: Thu Dec 12 11:17:45 2019 +0100 CAMEL-14284: Configuring endpoint should set properties on endpoint and not configuration object - ipfs. Also fixed so the endpoint is singleton and other cleanups. --- .../camel-ipfs/src/main/docs/ipfs-component.adoc | 8 +- .../apache/camel/component/ipfs/IPFSComponent.java | 10 +- .../camel/component/ipfs/IPFSConfiguration.java| 41 +--- .../apache/camel/component/ipfs/IPFSEndpoint.java | 94 ++- .../apache/camel/component/ipfs/IPFSProducer.java | 103 + .../camel/component/ipfs/SimpleIPFSTest.java | 57 ++-- .../src/test/resources/log4j2.properties | 4 +- .../endpoint/dsl/IPFSEndpointBuilderFactory.java | 21 + 8 files changed, 169 insertions(+), 169 deletions(-) diff --git a/components/camel-ipfs/src/main/docs/ipfs-component.adoc b/components/camel-ipfs/src/main/docs/ipfs-component.adoc index 11896fb..6ec9bda 100644 --- a/components/camel-ipfs/src/main/docs/ipfs-component.adoc +++ b/components/camel-ipfs/src/main/docs/ipfs-component.adoc @@ -60,9 +60,9 @@ with the following path and query parameters: [width="100%",cols="2,5,^1,2",options="header"] |=== | Name | Description | Default | Type -| *ipfsHost* | The ipfs host | | String -| *ipfsPort* | The ipfs port | | int -| *ipfsCmd* | The ipfs command | | String +| *ipfsHost* | *Required* The ipfs host | | String +| *ipfsPort* | *Required* The ipfs port | | int +| *ipfsCmd* | *Required* The ipfs command | | String |=== @@ -73,7 +73,7 @@ with the following path and query parameters: |=== | Name | Description | Default | Type | *lazyStartProducer* (producer) | Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and [...] -| *outdir* (producer) | The ipfs output directory | | Path +| *outdir* (producer) | The ipfs output directory | | String | *basicPropertyBinding* (advanced) | Whether the endpoint should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities | false | boolean | *synchronous* (advanced) | Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). | false | boolean |=== diff --git a/components/camel-ipfs/src/main/java/org/apache/camel/component/ipfs/IPFSComponent.java b/components/camel-ipfs/src/main/java/org/apache/camel/component/ipfs/IPFSComponent.java index dcd4116..63aa466 100644 --- a/components/camel-ipfs/src/main/java/org/apache/camel/component/ipfs/IPFSComponent.java +++ b/components/camel-ipfs/src/main/java/org/apache/camel/component/ipfs/IPFSComponent.java @@ -27,11 +27,11 @@ import org.apache.camel.support.DefaultComponent; public class IPFSComponent extends DefaultComponent { @Override -protected Endpoint createEndpoint(String urispec, String remaining, Map params) throws Exception { +protected Endpoint createEndpoint(String urispec, String remaining, Map parameters) throws Exception { -// Init the configuration -IPFSConfiguration config = new IPFSConfiguration(this); -setProperties(config, params); +IPFSConfiguration config = new IPFSConfiguration(); +IPFSEndpoint endpoint = new IPFSEndpoint(urispec, this, config); +setProperties(endpoint, parameters); // Derive host:port and cmd from the give uri URI uri = new URI(urispec); @@ -50,6 +50,6 @@ public class IPFSComponent extends DefaultComponent { } config.setIpfsCmd(cmd); -return new IPFSEndpoint(urispec, this, config); +return endpoint; } } diff --git a/components/camel-ipfs/src/main/java/org/apache/camel/component/ipfs/IPFSConfiguration.java b/components/camel-ipfs/src/main/java/org/apache/camel/component/ipfs/IPFSConfiguration.java index 7d81c85..a2a4b3a 100644 --- a/components/camel-ipfs/src/main/java/org/apache/camel/component/ipfs/IPFSConfiguration.java +++
[camel] branch master updated: CAMEL-14284: Configuring endpoint should set properties on endpoint and not configuration object - robotframework
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/master by this push: new dddea30 CAMEL-14284: Configuring endpoint should set properties on endpoint and not configuration object - robotframework dddea30 is described below commit dddea30c74d08d41fccac96847ed40f9ea50fdd7 Author: Andrea Cosentino AuthorDate: Thu Dec 12 11:15:04 2019 +0100 CAMEL-14284: Configuring endpoint should set properties on endpoint and not configuration object - robotframework --- .../apache/camel/component/robotframework/RobotFrameworkComponent.java | 2 +- .../component/robotframework/RobotFrameworkCamelConfigurationTest.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/camel-robotframework/src/main/java/org/apache/camel/component/robotframework/RobotFrameworkComponent.java b/components/camel-robotframework/src/main/java/org/apache/camel/component/robotframework/RobotFrameworkComponent.java index 3f11fd0..2cc47ba 100644 --- a/components/camel-robotframework/src/main/java/org/apache/camel/component/robotframework/RobotFrameworkComponent.java +++ b/components/camel-robotframework/src/main/java/org/apache/camel/component/robotframework/RobotFrameworkComponent.java @@ -55,9 +55,9 @@ public class RobotFrameworkComponent extends DefaultComponent { protected Endpoint createEndpoint(String uri, String remaining, Map parameters) throws Exception { final RobotFrameworkCamelConfiguration configuration = this.configuration.copy(); -setProperties(configuration, parameters); Endpoint endpoint = new RobotFrameworkEndpoint(uri, this, remaining, configuration); +setProperties(endpoint, parameters); return endpoint; } } diff --git a/components/camel-robotframework/src/test/java/org/apache/camel/component/robotframework/RobotFrameworkCamelConfigurationTest.java b/components/camel-robotframework/src/test/java/org/apache/camel/component/robotframework/RobotFrameworkCamelConfigurationTest.java index d7995fd..1baadf9 100644 --- a/components/camel-robotframework/src/test/java/org/apache/camel/component/robotframework/RobotFrameworkCamelConfigurationTest.java +++ b/components/camel-robotframework/src/test/java/org/apache/camel/component/robotframework/RobotFrameworkCamelConfigurationTest.java @@ -42,7 +42,7 @@ public class RobotFrameworkCamelConfigurationTest extends CamelTestSupport { } private RobotFrameworkEndpoint createEndpointWithOption(String option) throws Exception { -RobotFrameworkComponent robotFrameworkComponent = new RobotFrameworkComponent(context); +RobotFrameworkComponent robotFrameworkComponent = context.getComponent("robotframework", RobotFrameworkComponent.class); RobotFrameworkEndpoint robotFrameworkEndpoint = (RobotFrameworkEndpoint)robotFrameworkComponent .createEndpoint("robotframework:src/test/resources/org/apache/camel/component/robotframework/send_no_camel_exchnage_only_camel_configs.robot?" + option); return robotFrameworkEndpoint;
[camel] branch master updated (97eef36 -> 87a70f9)
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/camel.git. from 97eef36 CAMEL-14284: Configuring endpoint should set properties on endpoint and not configuration object - google-calendar-stream add 6ba537c CAMEL-14284: Configuring endpoint should set properties on endpoint and not configuration object - google-bigquery add 87a70f9 CAMEL-14284: Configuring endpoint should set properties on endpoint and not configuration object - google-bigquery-sql No new revisions were added by this update. Summary of changes: .../camel/component/google/bigquery/GoogleBigQueryComponent.java | 5 +++-- .../component/google/bigquery/sql/GoogleBigQuerySQLComponent.java| 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-)
[GitHub] [camel-quarkus] lburgazzoli commented on issue #537: [WIP] Upgrade to Quarkus 1.1.0.CR1 and fix various upgrade issues
lburgazzoli commented on issue #537: [WIP] Upgrade to Quarkus 1.1.0.CR1 and fix various upgrade issues URL: https://github.com/apache/camel-quarkus/pull/537#issuecomment-564938818 please do not merge This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[camel] branch master updated (974f9ee -> 97eef36)
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/camel.git. from 974f9ee CAMEL-14284: Configuring endpoint should set properties on endpoint and not configuration object - google-mail-stream add 97eef36 CAMEL-14284: Configuring endpoint should set properties on endpoint and not configuration object - google-calendar-stream No new revisions were added by this update. Summary of changes: .../component/google/calendar/stream/GoogleCalendarStreamComponent.java | 1 - 1 file changed, 1 deletion(-)
[GitHub] [camel-kafka-connector] valdar commented on issue #25: Integrations tests fails if confluentinc/cp-kafka:5.2.1 has not been pulled
valdar commented on issue #25: Integrations tests fails if confluentinc/cp-kafka:5.2.1 has not been pulled URL: https://github.com/apache/camel-kafka-connector/issues/25#issuecomment-564925270 Great! So I think we can close this issue and ope another one just to remove the useage of `confluentinc/cp-kafka`. 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [camel-kafka-connector] valdar closed issue #25: Integrations tests fails if confluentinc/cp-kafka:5.2.1 has not been pulled
valdar closed issue #25: Integrations tests fails if confluentinc/cp-kafka:5.2.1 has not been pulled URL: https://github.com/apache/camel-kafka-connector/issues/25 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[camel] branch master updated (bd2b17d -> 974f9ee)
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/camel.git. from bd2b17d CAMEL-14284: Configuring endpoint should set properties on endpoint and not configuration object - google-sheets-stream add 974f9ee CAMEL-14284: Configuring endpoint should set properties on endpoint and not configuration object - google-mail-stream No new revisions were added by this update. Summary of changes: .../camel/component/google/mail/stream/GoogleMailStreamComponent.java| 1 - 1 file changed, 1 deletion(-)
[GitHub] [camel-kafka-connector] valdar commented on issue #13: Unclean shutdown causing lots of warning messages in the logs
valdar commented on issue #13: Unclean shutdown causing lots of warning messages in the logs URL: https://github.com/apache/camel-kafka-connector/issues/13#issuecomment-564922743 Thanks! If you mention fix #issuenumber in the commit message it should close it automatically, I hope. 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [camel-k] lburgazzoli commented on issue #1133: Allow to configure kamel CLI with env vars and configuration files
lburgazzoli commented on issue #1133: Allow to configure kamel CLI with env vars and configuration files URL: https://github.com/apache/camel-k/pull/1133#issuecomment-564922656 @jamesnetherton your issues should be fixed now @nicolaferraro you can not change the name of the configuration file with the env var KAMEL_CONFIG_NAME, this is not a full profile thing but helps a little 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[camel] branch master updated (6977770 -> bd2b17d)
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/camel.git. from 690 CAMEL-14284: Configuring endpoint should set properties on endpoint and not configuration object - aws-translate add bd2b17d CAMEL-14284: Configuring endpoint should set properties on endpoint and not configuration object - google-sheets-stream No new revisions were added by this update. Summary of changes: .../component/google/sheets/stream/GoogleSheetsStreamComponent.java | 1 - 1 file changed, 1 deletion(-)
[camel] branch master updated (dd18048 -> 6977770)
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/camel.git. from dd18048 CAMEL-14284: Configuring endpoint should set properties on endpoint and not configuration object - aws-swf add 690 CAMEL-14284: Configuring endpoint should set properties on endpoint and not configuration object - aws-translate No new revisions were added by this update. Summary of changes: .../aws/translate/TranslateComponent.java | 32 -- 1 file changed, 12 insertions(+), 20 deletions(-)