@Test public void configureShutdownTimeout() throws Exception { final int timeout = 12345; domain.setProperty(CamelContextConfigurator.SHUTDOWN_TIMEOUT, timeout); CamelContextConfigurator.configure(context, domain); Assert.assertEquals(timeout, context.getShutdownStrategy().getTimeout()); }
private static void configureShutdownTimeout(CamelContext context, Object value) { int timeout = Integer.parseInt(value.toString()); context.getShutdownStrategy().setTimeout(timeout); }
CamelContextConfigurator { private static void configureShutdownTimeout(CamelContext context, Object value) { int timeout = Integer.parseInt(value.toString()); context.getShutdownStrategy().setTimeout(timeout); } }
CamelContextConfigurator { private static void configureShutdownTimeout(CamelContext context, Object value) { int timeout = Integer.parseInt(value.toString()); context.getShutdownStrategy().setTimeout(timeout); } private  CamelContextConfigurator(); }
CamelContextConfigurator { private static void configureShutdownTimeout(CamelContext context, Object value) { int timeout = Integer.parseInt(value.toString()); context.getShutdownStrategy().setTimeout(timeout); } private  CamelContextConfigurator(); static final void configure(CamelContext context, ServiceDomain domain); static final void configure(CamelContext context, Map<String, Object> properties); static final void configure(CamelContext context, String name, Object value); }
CamelContextConfigurator { private static void configureShutdownTimeout(CamelContext context, Object value) { int timeout = Integer.parseInt(value.toString()); context.getShutdownStrategy().setTimeout(timeout); } private  CamelContextConfigurator(); static final void configure(CamelContext context, ServiceDomain domain); static final void configure(CamelContext context, Map<String, Object> properties); static final void configure(CamelContext context, String name, Object value); static final String SHUTDOWN_TIMEOUT; static final String PERFORMANCE_STATISTICS; static final String CAMEL_CONTEXT_CONFIG; }