Interface EventServiceSendEventCommon
public interface EventServiceSendEventCommon
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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)
-
Method Details
-
sendEventObjectArray
-
sendEventBean
-
sendEventMap
-
sendEventXMLDOM
-
sendEventAvro
Send an event represented by a Avro GenericData.Record to the event stream processing runtime.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)
}).- Parameters:
avroGenericDataDotRecord
- is the event to sent to the runtimeavroEventTypeName
- event type name- Throws:
EPException
- is thrown when the processing of the event lead to an error
-