public interface EventServiceSendEventCommon
Modifier and Type | Method and Description |
---|---|
void |
sendEventAvro(Object avroGenericDataDotRecord,
String avroEventTypeName)
Send an event represented by a Avro GenericData.Record to the event stream processing runtime.
|
void |
sendEventBean(Object event,
String eventTypeName) |
void |
sendEventMap(Map<String,Object> event,
String eventTypeName) |
void |
sendEventObjectArray(Object[] event,
String eventTypeName) |
void |
sendEventXMLDOM(Node node,
String eventTypeName) |
void sendEventAvro(Object avroGenericDataDotRecord, String avroEventTypeName)
Use the route method for sending events into the runtime from within UpdateListener code,
to avoid the possibility of a stack overflow due to nested calls to sendEvent
(except with the outbound-threading configuration), see EventServiceRouteEventCommon.routeEventAvro(Object, String)
}).
avroGenericDataDotRecord
- is the event to sent to the runtimeavroEventTypeName
- event type nameEPException
- is thrown when the processing of the event lead to an errorCopyright © 2005–2018. All rights reserved.