@Component(value="spring-event") public class EventComponent extends org.apache.camel.support.DefaultComponent 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
|
afterConfiguration, createEndpoint, createEndpoint, doInit, doStart, getAndRemoveOrResolveReferenceParameter, getAndRemoveOrResolveReferenceParameter, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, getComponentPropertyConfigurer, getEndpointPropertyConfigurer, getExtension, getSupportedExtensions, ifStartsWithReturnRemainder, isBasicPropertyBinding, preProcessUri, registerExtension, registerExtension, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, setBasicPropertyBinding, setCamelContext, setProperties, setProperties, useIntrospectionOnEndpoint, useRawUri, validateParameters, validateURI
doResume, doShutdown, doSuspend, getStatus, init, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
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.support.DefaultComponent
Exception
protected void consumerStarted(EventEndpoint endpoint)
protected void consumerStopped(EventEndpoint endpoint)
public void onApplicationEvent(org.springframework.context.ApplicationEvent event)
Apache Camel