You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2021/12/24 15:33:21 UTC

[camel] branch main created (now d1530a9)

This is an automated email from the ASF dual-hosted git repository.

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


      at d1530a9  CAMEL-17372: Fixed camel-azure-servicebus wrong uri syntax

This branch includes the following new commits:

     new b97a15c  Drop Java 8
     new 974c4e5  Drop Java 8
     new b20ebd0  CAMEL-17372: Fixed camel-azure-servicebus wrong uri syntax
     new d1530a9  CAMEL-17372: Fixed camel-azure-servicebus wrong uri syntax

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


[camel] 02/04: Drop Java 8

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 974c4e5d099e80cde06fa850040e431dabdbaa1e
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Fri Dec 24 15:17:18 2021 +0100

    Drop Java 8
---
 .../org/apache/camel/component/undertow/DefaultUndertowHttpBinding.java  | 1 -
 1 file changed, 1 deletion(-)

diff --git a/components/camel-undertow/src/main/java/org/apache/camel/component/undertow/DefaultUndertowHttpBinding.java b/components/camel-undertow/src/main/java/org/apache/camel/component/undertow/DefaultUndertowHttpBinding.java
index c578495..3cfe0ac 100644
--- a/components/camel-undertow/src/main/java/org/apache/camel/component/undertow/DefaultUndertowHttpBinding.java
+++ b/components/camel-undertow/src/main/java/org/apache/camel/component/undertow/DefaultUndertowHttpBinding.java
@@ -466,7 +466,6 @@ public class DefaultUndertowHttpBinding implements UndertowHttpBinding {
                 cast(buffer).flip();
                 out.write(buffer.array(), buffer.arrayOffset() + cast(buffer).position(),
                         buffer.arrayOffset() + cast(buffer).limit());
-                // to be compatible with java 8
                 Buffer buf = buffer;
                 cast(buf).clear();
             }

[camel] 03/04: CAMEL-17372: Fixed camel-azure-servicebus wrong uri syntax

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit b20ebd00a611fd2049b1be160efd7f0b9dd656d8
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Fri Dec 24 15:19:00 2021 +0100

    CAMEL-17372: Fixed camel-azure-servicebus wrong uri syntax
---
 .../camel/component/azure/servicebus/ServiceBusEndpointUriFactory.java  | 2 +-
 .../org/apache/camel/component/azure/servicebus/azure-servicebus.json   | 2 +-
 .../org/apache/camel/component/azure/servicebus/ServiceBusEndpoint.java | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/components/camel-azure/camel-azure-servicebus/src/generated/java/org/apache/camel/component/azure/servicebus/ServiceBusEndpointUriFactory.java b/components/camel-azure/camel-azure-servicebus/src/generated/java/org/apache/camel/component/azure/servicebus/ServiceBusEndpointUriFactory.java
index b4df751..6e764ef 100644
--- a/components/camel-azure/camel-azure-servicebus/src/generated/java/org/apache/camel/component/azure/servicebus/ServiceBusEndpointUriFactory.java
+++ b/components/camel-azure/camel-azure-servicebus/src/generated/java/org/apache/camel/component/azure/servicebus/ServiceBusEndpointUriFactory.java
@@ -15,7 +15,7 @@ import org.apache.camel.spi.EndpointUriFactory;
  */
 public class ServiceBusEndpointUriFactory extends org.apache.camel.support.component.EndpointUriFactorySupport implements EndpointUriFactory {
 
-    private static final String BASE = ":queueNameOrTopicName";
+    private static final String BASE = ":topicOrQueueName";
 
     private static final Set<String> PROPERTY_NAMES;
     private static final Set<String> SECRET_PROPERTY_NAMES;
diff --git a/components/camel-azure/camel-azure-servicebus/src/generated/resources/org/apache/camel/component/azure/servicebus/azure-servicebus.json b/components/camel-azure/camel-azure-servicebus/src/generated/resources/org/apache/camel/component/azure/servicebus/azure-servicebus.json
index 839c424..578ceb0 100644
--- a/components/camel-azure/camel-azure-servicebus/src/generated/resources/org/apache/camel/component/azure/servicebus/azure-servicebus.json
+++ b/components/camel-azure/camel-azure-servicebus/src/generated/resources/org/apache/camel/component/azure/servicebus/azure-servicebus.json
@@ -14,7 +14,7 @@
     "version": "3.15.0-SNAPSHOT",
     "scheme": "azure-servicebus",
     "extendsScheme": "",
-    "syntax": "azure-servicebus:queueNameOrTopicName",
+    "syntax": "azure-servicebus:topicOrQueueName",
     "async": false,
     "api": false,
     "consumerOnly": false,
diff --git a/components/camel-azure/camel-azure-servicebus/src/main/java/org/apache/camel/component/azure/servicebus/ServiceBusEndpoint.java b/components/camel-azure/camel-azure-servicebus/src/main/java/org/apache/camel/component/azure/servicebus/ServiceBusEndpoint.java
index a9fee8a..45ad355 100644
--- a/components/camel-azure/camel-azure-servicebus/src/main/java/org/apache/camel/component/azure/servicebus/ServiceBusEndpoint.java
+++ b/components/camel-azure/camel-azure-servicebus/src/main/java/org/apache/camel/component/azure/servicebus/ServiceBusEndpoint.java
@@ -29,7 +29,7 @@ import org.apache.camel.support.DefaultEndpoint;
  * Send and receive messages to/from Azure Event Bus.
  */
 @UriEndpoint(firstVersion = "3.12.0", scheme = "azure-servicebus", title = "Azure ServiceBus",
-             syntax = "azure-servicebus:queueNameOrTopicName", category = {
+             syntax = "azure-servicebus:topicOrQueueName", category = {
                      Category.CLOUD, Category.MESSAGING })
 public class ServiceBusEndpoint extends DefaultEndpoint {
 

[camel] 04/04: CAMEL-17372: Fixed camel-azure-servicebus wrong uri syntax

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit d1530a907a9d66b343ce82e02abf817bc192876f
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Fri Dec 24 15:19:49 2021 +0100

    CAMEL-17372: Fixed camel-azure-servicebus wrong uri syntax
---
 .../resources/org/apache/camel/catalog/components/azure-servicebus.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/azure-servicebus.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/azure-servicebus.json
index 839c424..578ceb0 100644
--- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/azure-servicebus.json
+++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/azure-servicebus.json
@@ -14,7 +14,7 @@
     "version": "3.15.0-SNAPSHOT",
     "scheme": "azure-servicebus",
     "extendsScheme": "",
-    "syntax": "azure-servicebus:queueNameOrTopicName",
+    "syntax": "azure-servicebus:topicOrQueueName",
     "async": false,
     "api": false,
     "consumerOnly": false,

[camel] 01/04: Drop Java 8

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit b97a15c8d73561af1f81883094d8276836910748
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Fri Dec 24 15:15:50 2021 +0100

    Drop Java 8
---
 .../test/java/org/apache/camel/component/bean/BeanInvokeAsyncTest.java   | 1 -
 1 file changed, 1 deletion(-)

diff --git a/core/camel-core/src/test/java/org/apache/camel/component/bean/BeanInvokeAsyncTest.java b/core/camel-core/src/test/java/org/apache/camel/component/bean/BeanInvokeAsyncTest.java
index 2f10aea..c13d918 100644
--- a/core/camel-core/src/test/java/org/apache/camel/component/bean/BeanInvokeAsyncTest.java
+++ b/core/camel-core/src/test/java/org/apache/camel/component/bean/BeanInvokeAsyncTest.java
@@ -121,7 +121,6 @@ public class BeanInvokeAsyncTest extends ContextTestSupport {
         };
     }
 
-    // java 8 async return type
     public CompletableFuture<?> asyncMethod(String body) {
         this.receivedBody = body;
         methodInvoked.countDown();