public class DefaultEventForwarder extends DefaultDispatcher implements EventForwarder
Constructor and Description |
---|
DefaultEventForwarder(String endpointUri) |
Modifier and Type | Method and Description |
---|---|
void |
sendNow(Event event)
Send the incoming
Event message into the Camel route
specified by the DefaultDispatcher.m_endpointUri property. |
void |
sendNow(Log eventLog)
Send the incoming
Log message into the Camel route
specified by the DefaultDispatcher.m_endpointUri property. |
void |
sendNowSync(Event event)
Synchronously sends an event to eventd.
|
void |
sendNowSync(Log eventLog)
Synchronously sends a set of events to eventd.
|
getEndpointUri
public DefaultEventForwarder(String endpointUri)
public void sendNow(Event event)
Event
message into the Camel route
specified by the DefaultDispatcher.m_endpointUri
property.sendNow
in interface EventForwarder
event
- a Event
object.public void sendNow(Log eventLog)
Log
message into the Camel route
specified by the DefaultDispatcher.m_endpointUri
property.sendNow
in interface EventForwarder
eventLog
- a Log
object.public void sendNowSync(Event event)
EventForwarder
sendNowSync
in interface EventForwarder
event
- a Event
object.public void sendNowSync(Log eventLog)
EventForwarder
sendNowSync
in interface EventForwarder
eventLog
- a Log
object.Copyright © 2017. All rights reserved.