|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.camel.support.ServiceSupport
org.apache.camel.impl.DefaultEndpoint
org.apache.camel.component.event.EventEndpoint
public class EventEndpoint
An Event Endpoint for working with Spring ApplicationEvents
Field Summary |
---|
Fields inherited from class org.apache.camel.support.ServiceSupport |
---|
shutdown, shuttingdown, started, starting, stopped, stopping, suspended, suspending |
Constructor Summary | |
---|---|
EventEndpoint(String endpointUri)
Deprecated. |
|
EventEndpoint(String endpointUri,
EventComponent component)
|
Method Summary | |
---|---|
void |
consumerStarted(EventConsumer consumer)
|
void |
consumerStopped(EventConsumer consumer)
|
EventConsumer |
createConsumer(org.apache.camel.Processor processor)
|
protected org.apache.camel.processor.loadbalancer.LoadBalancer |
createLoadBalancer()
|
org.apache.camel.Producer |
createProducer()
|
ApplicationContext |
getApplicationContext()
|
EventComponent |
getComponent()
|
org.apache.camel.processor.loadbalancer.LoadBalancer |
getLoadBalancer()
|
boolean |
isSingleton()
|
void |
onApplicationEvent(ApplicationEvent event)
|
void |
setApplicationContext(ApplicationContext applicationContext)
|
void |
setLoadBalancer(org.apache.camel.processor.loadbalancer.LoadBalancer loadBalancer)
|
protected ApplicationEvent |
toApplicationEvent(org.apache.camel.Exchange exchange)
|
Methods inherited from class org.apache.camel.impl.DefaultEndpoint |
---|
configureConsumer, configurePollingConsumer, configureProperties, createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, doStart, doStop, equals, getCamelContext, getConsumerProperties, getEndpointConfiguration, getEndpointKey, getEndpointUri, getExchangePattern, getId, getPollingConsumerQueueSize, hashCode, isLenientProperties, isPollingConsumerBlockWhenFull, isSynchronous, setCamelContext, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toString |
Methods inherited from class org.apache.camel.support.ServiceSupport |
---|
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, resume, shutdown, start, stop, suspend |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.camel.Service |
---|
start, stop |
Constructor Detail |
---|
public EventEndpoint(String endpointUri, EventComponent component)
@Deprecated public EventEndpoint(String endpointUri)
endpointUri
- Method Detail |
---|
public void setApplicationContext(ApplicationContext applicationContext) throws BeansException
setApplicationContext
in interface ApplicationContextAware
BeansException
public ApplicationContext getApplicationContext()
public boolean isSingleton()
isSingleton
in interface org.apache.camel.IsSingleton
public org.apache.camel.Producer createProducer() throws Exception
createProducer
in interface org.apache.camel.Endpoint
Exception
public EventConsumer createConsumer(org.apache.camel.Processor processor) throws Exception
createConsumer
in interface org.apache.camel.Endpoint
Exception
public void onApplicationEvent(ApplicationEvent event)
public org.apache.camel.processor.loadbalancer.LoadBalancer getLoadBalancer()
public void setLoadBalancer(org.apache.camel.processor.loadbalancer.LoadBalancer loadBalancer)
public EventComponent getComponent()
getComponent
in class org.apache.camel.impl.DefaultEndpoint
public void consumerStarted(EventConsumer consumer)
public void consumerStopped(EventConsumer consumer)
protected org.apache.camel.processor.loadbalancer.LoadBalancer createLoadBalancer()
protected ApplicationEvent toApplicationEvent(org.apache.camel.Exchange exchange)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |