// Path: src/main/java/net/technolords/micro/camel/lifecycle/MainLifecycleStrategy.java
// public class MainLifecycleStrategy extends DefaultManagementLifecycleStrategy {
//     private final Logger LOGGER = LoggerFactory.getLogger(getClass());
// 
//     public MainLifecycleStrategy(CamelContext camelContext) {
//         super(camelContext);
//     }
// 
//     @Override
//     public void onContextStart(CamelContext camelContext) throws VetoCamelContextStartException {
//         LOGGER.debug("onContextStart called...");
//         MockRegistry.findRegistrationManager().registerService();
//         super.onContextStart(camelContext);
//     }
// 
//     @Override
//     public void onContextStop(CamelContext context) {
//         LOGGER.debug("onContextStop called...");
//         MockRegistry.findRegistrationManager().deregisterService();
//         super.onContextStop(getCamelContext());
//     }
// }


import java.util.concurrent.TimeUnit;
import org.apache.camel.CamelContext;
import org.apache.camel.main.MainListenerSupport;
import org.apache.camel.spi.ShutdownStrategy;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import net.technolords.micro.camel.lifecycle.MainLifecycleStrategy;
package net.technolords.micro.camel.listener;




public class MockMainListener extends MainListenerSupport {
    private final Logger LOGGER = LoggerFactory.getLogger(getClass());

    @Override
    public void configure(CamelContext camelContext) {
// Path: src/main/java/net/technolords/micro/camel/lifecycle/MainLifecycleStrategy.java
// public class MainLifecycleStrategy extends DefaultManagementLifecycleStrategy {
//     private final Logger LOGGER = LoggerFactory.getLogger(getClass());
// 
//     public MainLifecycleStrategy(CamelContext camelContext) {
//         super(camelContext);
//     }
// 
//     @Override
//     public void onContextStart(CamelContext camelContext) throws VetoCamelContextStartException {
//         LOGGER.debug("onContextStart called...");
//         MockRegistry.findRegistrationManager().registerService();
//         super.onContextStart(camelContext);
//     }
// 
//     @Override
//     public void onContextStop(CamelContext context) {
//         LOGGER.debug("onContextStop called...");
//         MockRegistry.findRegistrationManager().deregisterService();
//         super.onContextStop(getCamelContext());
//     }
// }


// Path: src/main/java/net/technolords/micro/camel/listener/MockMainListener.java
import java.util.concurrent.TimeUnit;
import org.apache.camel.CamelContext;
import org.apache.camel.main.MainListenerSupport;
import org.apache.camel.spi.ShutdownStrategy;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import net.technolords.micro.camel.lifecycle.MainLifecycleStrategy;

package net.technolords.micro.camel.listener;




public class MockMainListener extends MainListenerSupport {
    private final Logger LOGGER = LoggerFactory.getLogger(getClass());

    @Override
    public void configure(CamelContext camelContext) {
        LOGGER.debug("Configure called...");