@Component(value="spring-event") public class EventComponent extends org.apache.camel.support.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)
The Spring ApplicationContext
|
afterConfiguration, createEndpoint, createEndpoint, doBuild, doStart, getAndRemoveOrResolveReferenceParameter, getAndRemoveOrResolveReferenceParameter, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, getComponentPropertyConfigurer, getEndpointPropertyConfigurer, getExtension, getSupportedExtensions, ifStartsWithReturnRemainder, isBasicPropertyBinding, isBridgeErrorHandler, isLazyStartProducer, registerExtension, registerExtension, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, setBasicPropertyBinding, setBridgeErrorHandler, setCamelContext, setLazyStartProducer, setProperties, setProperties, setProperties, useIntrospectionOnEndpoint, useRawUri, validateParameters, validateURIbuild, doFail, doInit, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic EventComponent()
public EventComponent(ApplicationContext applicationContext)
public ApplicationContext getApplicationContext()
public void setApplicationContext(ApplicationContext applicationContext) throws BeansException
setApplicationContext in interface ApplicationContextAwareBeansExceptionpublic ConfigurableApplicationContext getConfigurableApplicationContext()
protected EventEndpoint createEndpoint(String uri, String remaining, Map<String,Object> parameters) throws Exception
createEndpoint in class org.apache.camel.support.DefaultComponentExceptionprotected void consumerStarted(EventEndpoint endpoint)
protected void consumerStopped(EventEndpoint endpoint)
public void onApplicationEvent(ApplicationEvent event)
Apache Camel