public class EventComponent extends org.apache.camel.impl.DefaultComponent implements ApplicationContextAware
Constructor and Description |
---|
EventComponent() |
EventComponent(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() |
ApplicationContext |
getApplicationContext() |
ConfigurableApplicationContext |
getConfigurableApplicationContext() |
void |
onApplicationEvent(ApplicationEvent event) |
void |
setApplicationContext(ApplicationContext applicationContext) |
afterConfiguration, createComponentConfiguration, createConfiguration, createEndpoint, doStart, getAndRemoveOrResolveReferenceParameter, getAndRemoveOrResolveReferenceParameter, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, ifStartsWithReturnRemainder, preProcessUri, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, setCamelContext, setProperties, useIntrospectionOnEndpoint, useRawUri, validateParameters, validateURI
public EventComponent()
public EventComponent(ApplicationContext applicationContext)
public ApplicationContext getApplicationContext()
public void setApplicationContext(ApplicationContext applicationContext) throws BeansException
setApplicationContext
in interface ApplicationContextAware
BeansException
public 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(ApplicationEvent event)
Apache Camel