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:40:58 UTC

[camel-kafka-connector] branch camel-master updated: 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


The following commit(s) were added to refs/heads/camel-master by this push:
     new 66dbfba  CamelKafkaConnectorMain: Aligned with the improvements in BaseMainSupport and MainSupport
66dbfba is described below

commit 66dbfba85fc911757659ad1b4e007bef00bfcaaf
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) {