示例#1
0
        public void Run()
        {
            try
            {
                _epRuntime.ProcessStatementFilterSingle(
                    _handleCallback.AgentInstanceHandle, _handleCallback, _theEvent, _filterVersion);

                _epRuntime.Dispatch();

                _epRuntime.ProcessThreadWorkQueue();
            }
            catch (Exception e)
            {
                Log.Error("Unexpected error processing route execution: " + e.Message, e);
            }
        }
示例#2
0
 public void Run()
 {
     using (ScopedInstance <BoundBlockingQueueOverride> .Set(BoundBlockingQueueOverride.Default))
     {
         try
         {
             _epRuntime.ProcessStatementFilterSingle(_handleCallback.AgentInstanceHandle, _handleCallback, _event,
                                                     _filterVersion);
             _epRuntime.Dispatch();
             _epRuntime.ProcessThreadWorkQueue();
         }
         catch (Exception e)
         {
             Log.Error("Unexpected error processing route execution: " + e.Message, e);
         }
     }
 }