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