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 2020/10/11 01:43:19 UTC

[camel-kafka-connector] 03/08: CamelKafkaConnectorMain: Aligned with the improvements in BaseMainSupport and MainSupport

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 271ecdd57880927c30fc53f547326ba8af9f1c8f
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 dcd6398..450360f 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
@@ -98,16 +98,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) {