public object Any(UpdateShippingAddress request)
        {
            //Update the shipping address in the local db

            //send the response
            var response = new ShippingAddressUpdated
            {
                OrderIdInt = request.OrderIdInt
            };

            return(response);
        }
Example #2
0
            public void SendMessage()
            {
                var message = new ShippingAddressUpdated
                {
                    OrderIdInt = "12345678",
                    FirstName  = "Ken"
                };

                using (var mqClient = _mqHost.CreateMessageQueueClient())
                {
                    mqClient.Publish(message);
                }
            }