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

github-bot pushed a commit to branch camel-master
in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git

commit 3639e1445db956dbdb8a9f663660e55d682c7f6c
Author: Otavio Rodolfo Piske <opi...@redhat.com>
AuthorDate: Mon Jan 11 13:08:52 2021 +0100

    Avoid slashes in sjms2 URLs
---
 .../apache/camel/kafkaconnector/sjms2/sink/CamelJMSPropertyFactory.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/tests/itests-sjms2/src/test/java/org/apache/camel/kafkaconnector/sjms2/sink/CamelJMSPropertyFactory.java
 
b/tests/itests-sjms2/src/test/java/org/apache/camel/kafkaconnector/sjms2/sink/CamelJMSPropertyFactory.java
index 6e44f10..20394f2 100644
--- 
a/tests/itests-sjms2/src/test/java/org/apache/camel/kafkaconnector/sjms2/sink/CamelJMSPropertyFactory.java
+++ 
b/tests/itests-sjms2/src/test/java/org/apache/camel/kafkaconnector/sjms2/sink/CamelJMSPropertyFactory.java
@@ -40,7 +40,7 @@ final class CamelJMSPropertyFactory extends 
SinkConnectorPropertyFactory<CamelJM
     }
 
     public EndpointUrlBuilder<CamelJMSPropertyFactory> withUrl(String 
destinationName) {
-        String queueUrl = String.format("sjms2://%s", destinationName);
+        String queueUrl = String.format("sjms2:%s", destinationName);
 
         return new EndpointUrlBuilder<>(this::withSinkUrl, queueUrl);
     }

Reply via email to