|
||||||||||
| 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()
|
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, configureProperties, createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, doStart, doStop, equals, getCamelContext, getComponent, getConsumerProperties, getEndpointConfiguration, getEndpointKey, getEndpointUri, getExchangePattern, getId, hashCode, isLenientProperties, isSynchronous, setCamelContext, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setSynchronous, toString |
| Methods inherited from class org.apache.camel.support.ServiceSupport |
|---|
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, 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 ApplicationContextAwareBeansExceptionpublic 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.EndpointException
public EventConsumer createConsumer(org.apache.camel.Processor processor)
throws Exception
createConsumer in interface org.apache.camel.EndpointExceptionpublic void onApplicationEvent(ApplicationEvent event)
public org.apache.camel.processor.loadbalancer.LoadBalancer getLoadBalancer()
public void setLoadBalancer(org.apache.camel.processor.loadbalancer.LoadBalancer loadBalancer)
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 | |||||||||