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); } }
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); } } }