Interface EventServiceSendEventCommon


public interface EventServiceSendEventCommon
  • Method Details

    • sendEventObjectArray

      void sendEventObjectArray(Object[] event, String eventTypeName)
    • sendEventBean

      void sendEventBean(Object event, String eventTypeName)
    • sendEventMap

      void sendEventMap(Map<String,Object> event, String eventTypeName)
    • sendEventXMLDOM

      void sendEventXMLDOM(Node node, String eventTypeName)
    • sendEventAvro

      void sendEventAvro(Object avroGenericDataDotRecord, String avroEventTypeName)
      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 runtime
      avroEventTypeName - event type name
      Throws:
      EPException - is thrown when the processing of the event lead to an error