Uses of Interface
org.apache.camel.Component
Packages that use Component
-
Uses of Component in org.apache.camel
Methods in org.apache.camel with type parameters of type ComponentModifier and TypeMethodDescription<T extends Component>
TCamelContext.getComponent(String name, Class<T> componentType) Gets a component from the CamelContext by name and specifying the expected type of component.default <T extends Component>
@Nullable TComponentAware.getComponent(Class<T> type) Get theComponentas the specified type.Methods in org.apache.camel that return ComponentModifier and TypeMethodDescription@Nullable ComponentCamelContext.getComponent(String componentName) Gets a component from the CamelContext by name.@Nullable ComponentCamelContext.getComponent(String name, boolean autoCreateComponents) Gets a component from the CamelContext by name.@Nullable ComponentCamelContext.getComponent(String name, boolean autoCreateComponents, boolean autoStart) Gets a component from the CamelContext by name.@Nullable ComponentComponentAware.getComponent()Get theComponent@Nullable ComponentCamelContext.hasComponent(String componentName) Is the given component already registered?@Nullable ComponentCamelContext.removeComponent(String componentName) Removes a previously added component.Methods in org.apache.camel with parameters of type ComponentModifier and TypeMethodDescriptionvoidCamelContext.addComponent(String componentName, Component component) Adds a component to the context.voidComponentAware.setComponent(Component component) Injects theComponentstatic <T> TComponent.trySetComponent(T object, Component component) Set theComponentcontext if the component is an instance ofComponentAware. -
Uses of Component in org.apache.camel.spi
Classes in org.apache.camel.spi with type parameters of type ComponentModifier and TypeClassDescriptionstatic classComponentCustomizer.Builder<T extends Component>A fluent builder to create aComponentCustomizerinstance.Subinterfaces with type arguments of type Component in org.apache.camel.spiModifier and TypeInterfaceDescriptionstatic interfaceUsed as additional filer mechanism to control if customizers need to be applied or not.Methods in org.apache.camel.spi with type parameters of type ComponentModifier and TypeMethodDescriptionstatic <T extends Component>
ComponentCustomizer.Builder<T> Create a typedComponentCustomizer.Builderthat can process a concrete component type instance.static <T extends Component>
ComponentCustomizerComponentCustomizer.forType(Class<T> type, org.apache.camel.util.function.ThrowingConsumer<T, Exception> consumer) Create aComponentCustomizerthat can process a concrete component type instance.Methods in org.apache.camel.spi that return ComponentModifier and TypeMethodDescription@Nullable ComponentComponentResolver.resolveComponent(String name, CamelContext context) Attempts to resolve the component for the given URIOptimisedComponentResolver.resolveComponent(String uri) Resolves the given componentMethods in org.apache.camel.spi that return types with arguments of type ComponentModifier and TypeMethodDescriptionstatic ComponentCustomizer.Builder<Component> ComponentCustomizer.builder()Create a genericComponentCustomizer.Builder.Methods in org.apache.camel.spi with parameters of type ComponentModifier and TypeMethodDescriptionvoidCustomize the specifiedComponent.ManagementObjectStrategy.getManagedObjectForComponent(CamelContext context, Component component, String name) ManagementObjectNameStrategy.getObjectNameForComponent(Component component, String name) default booleanChecks whether this customizer should be applied to the givenComponent.voidLifecycleStrategy.onComponentAdd(String name, Component component) Notification on adding anComponent.voidLifecycleStrategy.onComponentRemove(String name, Component component) Notification on removing anComponent.Method parameters in org.apache.camel.spi with type arguments of type ComponentModifier and TypeMethodDescriptionComponentCustomizer.Builder.withCondition(BiPredicate<String, Component> condition)