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/19 08:32:43 UTC

[camel-kafka-connector] 03/12: 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 camel-master
in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git

commit c8d0a22e059c4287872b167745e5c892337f71fe
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) {