Exemplo n.º 1
0
 public void Run()
 {
     try
     {
         EventBean eventBean = _services.EventAdapterService.AdapterForMap(_map, _eventTypeName);
         _runtime.ProcessWrappedEvent(eventBean);
     }
     catch (Exception e)
     {
         Log.Error("Unexpected error processing Map event: " + e.Message, e);
     }
 }
Exemplo n.º 2
0
 public void Run()
 {
     try
     {
         EventBean eventBean = _services.EventAdapterService.AdapterForObjectArray(_properties, _eventTypeName);
         _runtime.ProcessWrappedEvent(eventBean);
     }
     catch (Exception e)
     {
         Log.Error("Unexpected error processing Object-array event: " + e.Message, e);
     }
 }
Exemplo n.º 3
0
 public void Run()
 {
     try
     {
         EventBean eventBean = _services.EventAdapterService.AdapterForAvro(
             _genericRecordDotData, _eventTypeName);
         _runtime.ProcessWrappedEvent(eventBean);
     }
     catch (Exception e)
     {
         Log.Error("Unexpected error processing Object-array event: " + e.Message, e);
     }
 }