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 2020/10/09 06:31:09 UTC
[camel-kafka-connector] 01/01: CamelKafkaConnectorMain: Aligned
with the improvements in BaseMainSupport and MainSupport
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch align-3.6.0
in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git
commit c6cb7d34d676843bd60736127b787d76fe06521c
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Oct 9 08:30:22 2020 +0200
CamelKafkaConnectorMain: Aligned with the improvements in BaseMainSupport and MainSupport
---
.../camel/kafkaconnector/utils/CamelKafkaConnectMain.java | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/core/src/main/java/org/apache/camel/kafkaconnector/utils/CamelKafkaConnectMain.java b/core/src/main/java/org/apache/camel/kafkaconnector/utils/CamelKafkaConnectMain.java
index 4150dea..6f1b187 100644
--- a/core/src/main/java/org/apache/camel/kafkaconnector/utils/CamelKafkaConnectMain.java
+++ b/core/src/main/java/org/apache/camel/kafkaconnector/utils/CamelKafkaConnectMain.java
@@ -97,16 +97,6 @@ public class CamelKafkaConnectMain extends BaseMainSupport {
LOG.info("Main stopped");
}
- @Override
- protected ProducerTemplate findOrCreateCamelTemplate() {
- throw new UnsupportedOperationException("Should not happen");
- }
-
- @Override
- protected CamelContext createCamelContext() {
- throw new UnsupportedOperationException("Should not happen");
- }
-
public ProducerTemplate getProducerTemplate() {
if (this.producerTemplate == null) {
synchronized (this) {