public void HandleSuccessMessage(IDictionary <string, object> meta) { DequeueMessage(); if (meta.ContainsKey("fields")) { // first success CurrentResponseCollector?.CollectFields(meta); } else { // second success // before summary method is called CurrentResponseCollector?.CollectSummary(meta); } CurrentResponseCollector?.DoneSuccess(); _logger?.Debug("S: ", new SuccessMessage(meta)); }
public void HandleSuccessMessage(IDictionary <string, object> meta) { DequeueMessage(); if (meta.ContainsKey(Bookmark.BookmarkKey)) { CurrentResponseCollector?.CollectBookmark(meta); } if (meta.ContainsKey("fields")) { // first success CurrentResponseCollector?.CollectFields(meta); } else { // second success // before summary method is called CurrentResponseCollector?.CollectSummary(meta); } CurrentResponseCollector?.DoneSuccess(); LogSuccess(meta); }