Package | Description |
---|---|
org.apache.camel |
The core Camel API.
|
org.apache.camel.spi |
Service Provider Interfaces used by the Camel runtime which are plugin strategies.
|
Modifier and Type | Method and Description |
---|---|
default <T extends Component> |
ComponentAware.getComponent(Class<T> type)
Get the
Component as the specified type. |
<T extends Component> |
CamelContext.getComponent(String name,
Class<T> componentType)
Gets a component from the CamelContext by name and specifying the expected type of component.
|
Modifier and Type | Method and Description |
---|---|
Component |
ComponentAware.getComponent()
Get the
Component |
Component |
CamelContext.getComponent(String componentName)
Gets a component from the CamelContext by name.
|
Component |
CamelContext.getComponent(String name,
boolean autoCreateComponents)
Gets a component from the CamelContext by name.
|
Component |
CamelContext.getComponent(String name,
boolean autoCreateComponents,
boolean autoStart)
Gets a component from the CamelContext by name.
|
Component |
CamelContext.hasComponent(String componentName)
Is the given component already registered?
|
Component |
CamelContext.removeComponent(String componentName)
Removes a previously added component.
|
Modifier and Type | Method and Description |
---|---|
void |
CamelContext.addComponent(String componentName,
Component component)
Adds a component to the context.
|
void |
ComponentAware.setComponent(Component component)
Injects the
Component |
static <T> T |
Component.trySetComponent(T object,
Component component)
Set the
Component context if the component is an instance of ComponentAware . |
Modifier and Type | Interface and Description |
---|---|
interface |
ComponentCustomizer<T extends Component> |
Modifier and Type | Method and Description |
---|---|
Component |
ComponentResolver.resolveComponent(String name,
CamelContext context)
Attempts to resolve the component for the given URI
|
Modifier and Type | Method and Description |
---|---|
Object |
ManagementObjectStrategy.getManagedObjectForComponent(CamelContext context,
Component component,
String name) |
ObjectName |
ManagementObjectNameStrategy.getObjectNameForComponent(Component component,
String name) |
void |
LifecycleStrategy.onComponentAdd(String name,
Component component)
Notification on adding an
Component . |
void |
LifecycleStrategy.onComponentRemove(String name,
Component component)
Notification on removing an
Component . |
Apache Camel