public class CamelModule extends Jsr250Module
CamelContext leaving it up to the users module
to bind a Set
To bind the routes you should create a provider method annotated with @Provides and returning Set
Otherwise if you wish to list all of the classes of the
If you wish to bind all of the bound
public class MyModule extends CamelModule {
@Provides
Set<Routes> routes(Injector injector) { ... }
}
RoutesBuilder implementations available - maybe with some filter applied - then
please use the CamelModuleWithMatchingRoutes.
RoutesBuilder implementations then use the
CamelModuleWithRouteTypes module instead.
| Constructor and Description |
|---|
CamelModule() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configure() |
protected void |
configureCamelContext() |
bind, bind, bind, bindAnnotationInjector, bindAnnotationInjector, bindAnnotationInjector, bindInstance, bindMethodHandler, bindMethodHandler, bindMethodHandler, checkInjectedValueType, getParameterTypeaddError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBindingprotected void configureCamelContext()
protected void configure()
configure in class Jsr250ModuleCopyright © 2007–2016 The Apache Software Foundation. All rights reserved.