You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by gi...@apache.org on 2021/01/14 02:16:01 UTC
[camel-kafka-connector] 03/06: Avoid slashes in sjms2 URLs
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 b6e2016aeafeecafc76c8bf3c23ec4a1730c929f
Author: Otavio Rodolfo Piske <op...@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);
}