Class CamelKafkaConnectMain


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

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

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static CamelKafkaConnectMain.Builder builder​(String from, String to)  
      protected void doStop()  
      org.apache.camel.ConsumerTemplate getConsumerTemplate()  
      org.apache.camel.ProducerTemplate getProducerTemplate()  
      • 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, autoConfigurationMainConfiguration, autoConfigurationPropertiesComponent, autoConfigurationSingleOption, autoconfigure, autowireWildcardProperties, configure, configureLifecycle, configurePackageScan, configurePropertiesService, configureRoutes, configureRoutesLoader, configureStartupRecorder, configureVault, doAutowireWildcardProperties, doConfigureCamelContextFromMainConfiguration, getCamelContext, getDefaultPropertyPlaceholderLocation, getInitialProperties, getOverrideProperties, getPropertyPlaceholderLocations, getRoutesCollector, loadConfigurations, modelineRoutes, postProcessCamelContext, 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
    • Field Detail

      • KAMELET_MARSHAL_TEMPLATE_PARAMETERS_PREFIX

        public static final String KAMELET_MARSHAL_TEMPLATE_PARAMETERS_PREFIX
        See Also:
        Constant Field Values
      • KAMELET_UNMARSHAL_TEMPLATE_PARAMETERS_PREFIX

        public static final String KAMELET_UNMARSHAL_TEMPLATE_PARAMETERS_PREFIX
        See Also:
        Constant Field Values
      • KAMELET_AGGREGATORL_TEMPLATE_PARAMETERS_PREFIX

        public static final String KAMELET_AGGREGATORL_TEMPLATE_PARAMETERS_PREFIX
        See Also:
        Constant Field Values
      • KAMELET_IDEMPOTENT_TEMPLATE_PARAMETERS_PREFIX

        public static final String KAMELET_IDEMPOTENT_TEMPLATE_PARAMETERS_PREFIX
        See Also:
        Constant Field Values
      • KAMELET_REMOVEHEADER_TEMPLATE_PARAMETERS_PREFIX

        public static final String KAMELET_REMOVEHEADER_TEMPLATE_PARAMETERS_PREFIX
        See Also:
        Constant Field Values
      • consumerTemplate

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

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

      • CamelKafkaConnectMain

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

      • 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()