Class SimpleMain


  • public class SimpleMain
    extends BaseMainSupport
    A minimal Main class for booting Camel.
    • Constructor Detail

      • SimpleMain

        public SimpleMain​(org.apache.camel.CamelContext camelContext)
    • Method Detail

      • doInit

        protected void doInit()
                       throws Exception
        Overrides:
        doInit in class org.apache.camel.support.service.BaseService
        Throws:
        Exception
      • doStart

        protected void doStart()
                        throws Exception
        Overrides:
        doStart in class org.apache.camel.support.service.BaseService
        Throws:
        Exception
      • doStop

        protected void doStop()
                       throws Exception
        Overrides:
        doStop in class org.apache.camel.support.service.BaseService
        Throws:
        Exception