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, configureCamelContext
bind, bind, bind, bindAnnotationInjector, bindAnnotationInjector, bindAnnotationInjector, bindInstance, bindMethodHandler, bindMethodHandler, bindMethodHandler, checkInjectedValueType, getParameterType
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
public CamelModuleWithMatchingRoutes()
public CamelModuleWithMatchingRoutes(com.google.inject.matcher.Matcher<Class> matcher)
Apache Camel