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 TypeMethodDescriptionvoidaddRoutes(org.apache.camel.RoutesBuilder builder) org.apache.camel.CamelContextvoidsetProperties(Properties properties) voidstop()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
getCamelContextin interfaceorg.apache.camel.spi.HasCamelContext
-
addRoutes
public void addRoutes(org.apache.camel.RoutesBuilder builder) - Specified by:
addRoutesin interfaceorg.apache.camel.k.Runtime
-
setProperties
- Specified by:
setPropertiesin interfaceorg.apache.camel.k.Runtime
-
stop
- Specified by:
stopin interfaceorg.apache.camel.k.Runtime- Throws:
Exception
-