public class CamelModuleWithMatchingRoutes extends CamelModule
RoutesBuilder which are bound to Guice with an optional Matcher to filter out the classes required.
Or if you would like to specify exactly which RoutesBuilder to bind then use the CamelModule and create a provider
method annotated with @Provides and returning Set
public class MyModule extends CamelModule {
@Provides
Set<Routes> routes(Injector injector) { ... }
}
| Constructor and Description |
|---|
CamelModuleWithMatchingRoutes() |
CamelModuleWithMatchingRoutes(com.google.inject.matcher.Matcher<Class> matcher) |
configure, configureCamelContextbind, bind, bind, bindAnnotationInjector, bindAnnotationInjector, bindAnnotationInjector, bindInstance, bindMethodHandler, bindMethodHandler, bindMethodHandler, checkInjectedValueType, getParameterTypeaddError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBindingpublic CamelModuleWithMatchingRoutes()
public CamelModuleWithMatchingRoutes(com.google.inject.matcher.Matcher<Class> matcher)
Apache Camel