Package org.apache.camel.model
Class DefaultRouteTemplateContext
java.lang.Object
org.apache.camel.model.DefaultRouteTemplateContext
- All Implemented Interfaces:
org.apache.camel.RouteTemplateContext
,org.apache.camel.spi.HasCamelContext
public final class DefaultRouteTemplateContext
extends Object
implements org.apache.camel.RouteTemplateContext
Default
RouteTemplateContext
.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.camel.RouteTemplateContext
org.apache.camel.RouteTemplateContext.BeanSupplier<T extends Object>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
bindAsPrototype
(String id, Class<?> type, Supplier<Object> bean) org.apache.camel.CamelContext
Consumer<org.apache.camel.RouteTemplateContext>
org.apache.camel.spi.BeanRepository
getProperty
(String name) <T> T
getProperty
(String name, Class<?> type) boolean
hasParameter
(String name) void
setConfigurer
(Consumer<org.apache.camel.RouteTemplateContext> configurer) void
setParameter
(String name, Object value)
-
Constructor Details
-
DefaultRouteTemplateContext
public DefaultRouteTemplateContext(org.apache.camel.CamelContext camelContext)
-
-
Method Details
-
getCamelContext
public org.apache.camel.CamelContext getCamelContext()- Specified by:
getCamelContext
in interfaceorg.apache.camel.spi.HasCamelContext
-
bind
- Specified by:
bind
in interfaceorg.apache.camel.RouteTemplateContext
-
bind
- Specified by:
bind
in interfaceorg.apache.camel.RouteTemplateContext
-
bind
- Specified by:
bind
in interfaceorg.apache.camel.RouteTemplateContext
-
bindAsPrototype
- Specified by:
bindAsPrototype
in interfaceorg.apache.camel.RouteTemplateContext
-
getProperty
- Specified by:
getProperty
in interfaceorg.apache.camel.RouteTemplateContext
-
getProperty
- Specified by:
getProperty
in interfaceorg.apache.camel.RouteTemplateContext
-
setParameter
- Specified by:
setParameter
in interfaceorg.apache.camel.RouteTemplateContext
-
getParameters
- Specified by:
getParameters
in interfaceorg.apache.camel.RouteTemplateContext
-
hasParameter
- Specified by:
hasParameter
in interfaceorg.apache.camel.RouteTemplateContext
-
getLocalBeanRepository
public org.apache.camel.spi.BeanRepository getLocalBeanRepository()- Specified by:
getLocalBeanRepository
in interfaceorg.apache.camel.RouteTemplateContext
-
getConfigurer
- Specified by:
getConfigurer
in interfaceorg.apache.camel.RouteTemplateContext
-
setConfigurer
- Specified by:
setConfigurer
in interfaceorg.apache.camel.RouteTemplateContext
-