org.apache.camel.main.BaseMainSupport Java Examples
The following examples show how to use
org.apache.camel.main.BaseMainSupport.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: CustomMainListener.java From camel-quarkus with Apache License 2.0 | 5 votes |
@Override public void beforeInitialize(BaseMainSupport main) { try { main.configure().addRoutesBuilder(new RouteBuilder() { @Override public void configure() throws Exception { from("timer:configure") .id("configure") .to("log:configure"); } }); } catch (Exception e) { throw new RuntimeException(e); } }
Example #2
Source File: ApplicationRuntime.java From camel-k-runtime with Apache License 2.0 | 4 votes |
@Override public void afterStart(BaseMainSupport main) { invokeListeners(Phase.Started); }
Example #3
Source File: BeforeConfigure.java From camel-quarkus with Apache License 2.0 | 4 votes |
public BeforeConfigure(BaseMainSupport main) { super(main); }
Example #4
Source File: AfterConfigure.java From camel-quarkus with Apache License 2.0 | 4 votes |
public AfterConfigure(BaseMainSupport main) { super(main); }
Example #5
Source File: BeforeStart.java From camel-quarkus with Apache License 2.0 | 4 votes |
public BeforeStart(BaseMainSupport main) { super(main); }
Example #6
Source File: BeforeStop.java From camel-quarkus with Apache License 2.0 | 4 votes |
public BeforeStop(BaseMainSupport main) { super(main); }
Example #7
Source File: MainEvent.java From camel-quarkus with Apache License 2.0 | 4 votes |
public MainEvent(BaseMainSupport main) { this.main = main; }
Example #8
Source File: MainEvent.java From camel-quarkus with Apache License 2.0 | 4 votes |
public BaseMainSupport getMain() { return this.main; }
Example #9
Source File: AfterStart.java From camel-quarkus with Apache License 2.0 | 4 votes |
public AfterStart(BaseMainSupport main) { super(main); }
Example #10
Source File: ApplicationRuntime.java From camel-k-runtime with Apache License 2.0 | 4 votes |
@Override public void beforeInitialize(BaseMainSupport main) { invokeListeners(Phase.ConfigureProperties); }
Example #11
Source File: ApplicationRuntime.java From camel-k-runtime with Apache License 2.0 | 4 votes |
@Override public void beforeConfigure(BaseMainSupport main) { invokeListeners(Phase.ConfigureRoutes); }
Example #12
Source File: ApplicationRuntime.java From camel-k-runtime with Apache License 2.0 | 4 votes |
@Override public void afterConfigure(BaseMainSupport main) { invokeListeners(Phase.ConfigureContext); }
Example #13
Source File: ApplicationRuntime.java From camel-k-runtime with Apache License 2.0 | 4 votes |
@Override public void beforeStart(BaseMainSupport main) { invokeListeners(Phase.Starting); }
Example #14
Source File: BeforeInitialize.java From camel-quarkus with Apache License 2.0 | 4 votes |
public BeforeInitialize(BaseMainSupport main) { super(main); }
Example #15
Source File: ApplicationRuntime.java From camel-k-runtime with Apache License 2.0 | 4 votes |
@Override public void beforeStop(BaseMainSupport main) { invokeListeners(Phase.Stopping); }
Example #16
Source File: ApplicationRuntime.java From camel-k-runtime with Apache License 2.0 | 4 votes |
@Override public void afterStop(BaseMainSupport main) { invokeListeners(Phase.Stopped); }
Example #17
Source File: RuntimeListenerAdapter.java From camel-k-runtime with Apache License 2.0 | 4 votes |
@Override public void beforeInitialize(BaseMainSupport main) { invokeListeners(listeners, on(main), Runtime.Phase.ConfigureProperties); }
Example #18
Source File: RuntimeListenerAdapter.java From camel-k-runtime with Apache License 2.0 | 4 votes |
@Override public void beforeConfigure(BaseMainSupport main) { invokeListeners(listeners, on(main), Runtime.Phase.ConfigureRoutes); }
Example #19
Source File: RuntimeListenerAdapter.java From camel-k-runtime with Apache License 2.0 | 4 votes |
@Override public void afterConfigure(BaseMainSupport main) { invokeListeners(listeners, on(main), Runtime.Phase.ConfigureContext); }
Example #20
Source File: RuntimeListenerAdapter.java From camel-k-runtime with Apache License 2.0 | 4 votes |
@Override public void beforeStart(BaseMainSupport main) { invokeListeners(listeners, on(main), Runtime.Phase.Starting); }
Example #21
Source File: RuntimeListenerAdapter.java From camel-k-runtime with Apache License 2.0 | 4 votes |
@Override public void afterStart(BaseMainSupport main) { invokeListeners(listeners, on(main), Runtime.Phase.Started); }
Example #22
Source File: RuntimeListenerAdapter.java From camel-k-runtime with Apache License 2.0 | 4 votes |
@Override public void beforeStop(BaseMainSupport main) { invokeListeners(listeners, on(main), Runtime.Phase.Stopping); }
Example #23
Source File: RuntimeListenerAdapter.java From camel-k-runtime with Apache License 2.0 | 4 votes |
@Override public void afterStop(BaseMainSupport main) { invokeListeners(listeners, on(main), Runtime.Phase.Stopped); }
Example #24
Source File: CustomMainListener.java From camel-quarkus with Apache License 2.0 | 4 votes |
@Override public void beforeStop(BaseMainSupport main) { }
Example #25
Source File: CamelMainSupport.java From camel-kafka-connector with Apache License 2.0 | 4 votes |
@Override public void afterStart(BaseMainSupport main) { LOG.trace("Signaling CamelContext startup is finished (startFinishedSignal.countDown();) due to CamelMainFinishedListener been called"); startFinishedSignal.countDown(); }
Example #26
Source File: CamelMainSupport.java From camel-kafka-connector with Apache License 2.0 | 4 votes |
@Override public void beforeConfigure(BaseMainSupport main) { }
Example #27
Source File: CustomMainListener.java From camel-quarkus with Apache License 2.0 | 4 votes |
@Override public void afterConfigure(BaseMainSupport main) { }
Example #28
Source File: CustomMainListener.java From camel-quarkus with Apache License 2.0 | 4 votes |
@Override public void beforeConfigure(BaseMainSupport main) { }
Example #29
Source File: CustomMainListener.java From camel-quarkus with Apache License 2.0 | 4 votes |
@Override public void beforeStart(BaseMainSupport main) { main.configure().addRoutesBuilder(new MyBuilder()); }
Example #30
Source File: CustomMainListener.java From camel-quarkus with Apache License 2.0 | 4 votes |
@Override public void afterStart(BaseMainSupport main) { }