This is an automated email from the ASF dual-hosted git repository.
orpiske pushed a commit to branch camel-master
in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git
The following commit(s) were added to refs/heads/camel-master by this push:
new 18b0fd4 Avoid slashes in sjms2 URLs
18b0fd4 is described below
commit 18b0fd4a045c5b5fb72dc9e2e4ce2450bbed548d
Author: Otavio Rodolfo Piske <[email protected]>
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);
}