Package org.apache.camel.k.quarkus
Class Application.Runtime
java.lang.Object
org.apache.camel.k.quarkus.Application.Runtime
- All Implemented Interfaces:
AutoCloseable
,org.apache.camel.k.Runtime
,org.apache.camel.spi.HasCamelContext
- Enclosing class:
- Application
The camel-k runtime impl based on camel-quarkus
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.camel.k.Runtime
org.apache.camel.k.Runtime.Listener, org.apache.camel.k.Runtime.Phase
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addRoutes
(org.apache.camel.RoutesBuilder builder) org.apache.camel.CamelContext
void
setProperties
(Properties properties) void
stop()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.camel.k.Runtime
close, getExtendedCamelContext, getRegistry, setProperties, setProperties
-
Constructor Details
-
Runtime
public Runtime(org.apache.camel.main.BaseMainSupport main)
-
-
Method Details
-
getCamelContext
public org.apache.camel.CamelContext getCamelContext()- Specified by:
getCamelContext
in interfaceorg.apache.camel.spi.HasCamelContext
-
addRoutes
public void addRoutes(org.apache.camel.RoutesBuilder builder) - Specified by:
addRoutes
in interfaceorg.apache.camel.k.Runtime
-
setProperties
- Specified by:
setProperties
in interfaceorg.apache.camel.k.Runtime
-
stop
- Specified by:
stop
in interfaceorg.apache.camel.k.Runtime
- Throws:
Exception
-