public class EventComponent extends org.apache.camel.impl.UriEndpointComponent implements org.springframework.context.ApplicationContextAware
Constructor and Description |
---|
EventComponent() |
EventComponent(org.springframework.context.ApplicationContext applicationContext) |
Modifier and Type | Method and Description |
---|---|
protected void |
consumerStarted(EventEndpoint endpoint) |
protected void |
consumerStopped(EventEndpoint endpoint) |
protected EventEndpoint |
createEndpoint(String uri,
String remaining,
Map<String,Object> parameters) |
protected void |
doStop() |
org.springframework.context.ApplicationContext |
getApplicationContext() |
org.springframework.context.ConfigurableApplicationContext |
getConfigurableApplicationContext() |
void |
onApplicationEvent(org.springframework.context.ApplicationEvent event) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
The Spring ApplicationContext
|
createComponentConfiguration, createParameterConfigurationMap, getEndpointClass, getParameterConfigurationMap, populateParameterConfigurationMap, setEndpointClass
afterConfiguration, createConfiguration, createEndpoint, doStart, getAndRemoveOrResolveReferenceParameter, getAndRemoveOrResolveReferenceParameter, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, ifStartsWithReturnRemainder, isResolvePropertyPlaceholders, preProcessUri, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, setCamelContext, setProperties, setProperties, setResolvePropertyPlaceholders, useIntrospectionOnEndpoint, useRawUri, validateParameters, validateURI
public EventComponent()
public EventComponent(org.springframework.context.ApplicationContext applicationContext)
public org.springframework.context.ApplicationContext getApplicationContext()
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
org.springframework.beans.BeansException
public org.springframework.context.ConfigurableApplicationContext getConfigurableApplicationContext()
protected EventEndpoint createEndpoint(String uri, String remaining, Map<String,Object> parameters) throws Exception
createEndpoint
in class org.apache.camel.impl.DefaultComponent
Exception
protected void consumerStarted(EventEndpoint endpoint)
protected void consumerStopped(EventEndpoint endpoint)
public void onApplicationEvent(org.springframework.context.ApplicationEvent event)
Apache Camel