Package org.apache.camel.quarkus.main
Class CamelMainRuntime
- java.lang.Object
-
- org.apache.camel.quarkus.main.CamelMainRuntime
-
- All Implemented Interfaces:
org.apache.camel.quarkus.core.CamelRuntime,org.apache.camel.spi.HasCamelContext
public class CamelMainRuntime extends Object implements org.apache.camel.quarkus.core.CamelRuntime
An implementation of theCamelRuntimebased on camel-main.
-
-
Constructor Summary
Constructors Constructor Description CamelMainRuntime(CamelMain main, long shutdownTimeoutMs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.camel.CamelContextgetCamelContext()voidstart(String[] args)voidstop()intwaitForExit()
-
-
-
Constructor Detail
-
CamelMainRuntime
public CamelMainRuntime(CamelMain main, long shutdownTimeoutMs)
-
-
Method Detail
-
start
public void start(String[] args)
- Specified by:
startin interfaceorg.apache.camel.quarkus.core.CamelRuntime
-
stop
public void stop()
- Specified by:
stopin interfaceorg.apache.camel.quarkus.core.CamelRuntime
-
waitForExit
public int waitForExit()
- Specified by:
waitForExitin interfaceorg.apache.camel.quarkus.core.CamelRuntime
-
getCamelContext
public org.apache.camel.CamelContext getCamelContext()
- Specified by:
getCamelContextin interfaceorg.apache.camel.spi.HasCamelContext
-
-