Class CamelKafkaConnectMain

java.lang.Object
org.apache.camel.support.service.BaseService
org.apache.camel.main.BaseMainSupport
org.apache.camel.main.SimpleMain
org.apache.camel.kafkaconnector.utils.CamelKafkaConnectMain

public class CamelKafkaConnectMain extends org.apache.camel.main.SimpleMain
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected org.apache.camel.ConsumerTemplate
     
    static final String
     
    static final String
     
    static final String
     
    static final String
     
    static final String
     
    protected org.apache.camel.ProducerTemplate
     

    Fields inherited from class org.apache.camel.main.BaseMainSupport

    camelContext, defaultPropertyPlaceholderLocation, helper, initialProperties, listeners, mainConfigurationProperties, overrideProperties, propertyPlaceholderLocations, routesCollector, standalone, wildcardProperties

    Fields inherited from class org.apache.camel.support.service.BaseService

    BUILT, FAILED, INITIALIZED, INITIALIZING, lock, NEW, SHUTDOWN, SHUTTING_DOWN, STARTED, STARTING, status, STOPPED, STOPPING, SUSPENDED, SUSPENDING
  • Constructor Summary

    Constructors
    Constructor
    Description
    CamelKafkaConnectMain(org.apache.camel.CamelContext context)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    builder(String from, String to)
     
    protected void
     
    org.apache.camel.ConsumerTemplate
     
    org.apache.camel.ProducerTemplate
     

    Methods inherited from class org.apache.camel.main.SimpleMain

    doInit, doStart

    Methods inherited from class org.apache.camel.main.BaseMainSupport

    addInitialProperty, addMainListener, addOverrideProperty, addProperty, autoConfigurationFailFast, autoConfigurationFromProperties, autoConfigurationFromReloadedProperties, autoConfigurationMainConfiguration, autoConfigurationPropertiesComponent, autoConfigurationSingleOption, autoconfigure, autowireWildcardProperties, configure, configureLifecycle, configurePackageScan, configurePropertiesService, configureRoutes, configureRoutesLoader, configureStartupRecorder, doAutoConfigurationFromProperties, doAutowireWildcardProperties, doConfigureCamelContextFromMainConfiguration, getCamelContext, getDefaultPropertyPlaceholderLocation, getInitialProperties, getOverrideProperties, getPropertyPlaceholderLocations, getRoutesCollector, loadConfigurations, loadCustomBeans, modelineRoutes, postProcessCamelContext, postProcessCamelRegistry, preProcessCamelRegistry, removeMainListener, setDefaultPropertyPlaceholderLocation, setInitialProperties, setInitialProperties, setOverrideProperties, setOverrideProperties, setPropertyPlaceholderLocations, setRoutesCollector

    Methods inherited from class org.apache.camel.support.service.BaseService

    build, doBuild, doFail, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • KAMELET_MARSHAL_TEMPLATE_PARAMETERS_PREFIX

      public static final String KAMELET_MARSHAL_TEMPLATE_PARAMETERS_PREFIX
      See Also:
    • KAMELET_UNMARSHAL_TEMPLATE_PARAMETERS_PREFIX

      public static final String KAMELET_UNMARSHAL_TEMPLATE_PARAMETERS_PREFIX
      See Also:
    • KAMELET_AGGREGATORL_TEMPLATE_PARAMETERS_PREFIX

      public static final String KAMELET_AGGREGATORL_TEMPLATE_PARAMETERS_PREFIX
      See Also:
    • KAMELET_IDEMPOTENT_TEMPLATE_PARAMETERS_PREFIX

      public static final String KAMELET_IDEMPOTENT_TEMPLATE_PARAMETERS_PREFIX
      See Also:
    • KAMELET_REMOVEHEADER_TEMPLATE_PARAMETERS_PREFIX

      public static final String KAMELET_REMOVEHEADER_TEMPLATE_PARAMETERS_PREFIX
      See Also:
    • consumerTemplate

      protected volatile org.apache.camel.ConsumerTemplate consumerTemplate
    • producerTemplate

      protected volatile org.apache.camel.ProducerTemplate producerTemplate
  • Constructor Details

    • CamelKafkaConnectMain

      public CamelKafkaConnectMain(org.apache.camel.CamelContext context)
  • Method Details

    • doStop

      protected void doStop() throws Exception
      Overrides:
      doStop in class org.apache.camel.main.SimpleMain
      Throws:
      Exception
    • getProducerTemplate

      public org.apache.camel.ProducerTemplate getProducerTemplate()
    • getConsumerTemplate

      public org.apache.camel.ConsumerTemplate getConsumerTemplate()
    • builder

      public static CamelKafkaConnectMain.Builder builder(String from, String to)