// Simulates outgoing map execution delay. private static MapperOutMessage InnerMapOut(ProcessResponse response) { // set actual timestamp var externalServiceResponded = DateTime.Now.Ticks; // convert external service response to outgoing message var message = new MapperOutMessage(response) { ServiceResponded = externalServiceResponded }; // delay InnerMap(); return message; }
// Simulates outgoing map execution delay. private static MapperOutMessage InnerMapOut(ProcessResponse response) { // set actual timestamp var externalServiceResponded = DateTime.Now.Ticks; // convert external service response to outgoing message var message = new MapperOutMessage(response) { ServiceResponded = externalServiceResponded }; // delay InnerMap(); return(message); }