// 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;
        }
Example #2
0
        // 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);
        }