CamelContext camelContext = super.createCamelContext();
LOG.info("is Started {}", camelContext.getStatus().isStarted());
assertFalse("CamelContext must not be started", camelContext.getStatus().isStarted());
// Force hostname to be "localhost" for testing purposes
final DefaultManagementNamingStrategy naming = (DefaultManagementNamingStrategy) camelContext.getManagementStrategy().getManagementNamingStrategy();
naming.setHostName("localhost");
naming.setDomainName("org.apache.camel");
// setup the ManagementAgent to include the hostname
camelContext.getManagementStrategy().getManagementAgent().setIncludeHostName(true);
return camelContext;