public class CamelEventHandler extends Object
Modifier and Type | Field and Description |
---|---|
protected GuavaEventBusEndpoint |
eventBusEndpoint |
protected org.slf4j.Logger |
log |
protected org.apache.camel.AsyncProcessor |
processor |
Constructor and Description |
---|
CamelEventHandler(GuavaEventBusEndpoint eventBusEndpoint,
org.apache.camel.Processor processor) |
Modifier and Type | Method and Description |
---|---|
void |
doEventReceived(Object event)
Callback executed to propagate event from Guava listener to Camel route.
|
protected final org.slf4j.Logger log
protected final GuavaEventBusEndpoint eventBusEndpoint
protected final org.apache.camel.AsyncProcessor processor
public CamelEventHandler(GuavaEventBusEndpoint eventBusEndpoint, org.apache.camel.Processor processor)
public void doEventReceived(Object event)
event
- the event received by Guava EventBus.Apache Camel