public override void Handle(string body) { //using (new DebugLog(_logger, GetType().Name, nameof(Handle), new { body })) //{ var payload = JsonConvert.DeserializeObject <ExternalMessagePayload>(body); _externalMessageEngine.Process(payload); //} }
public void Process(IExternalMessageEngine externalMessageEngine, ExternalMessagePayload payload) { externalMessageEngine.Process(payload); }