Beispiel #1
0
        public static async Task Application1()
        {
            var config = new MessagingClientConfiguration
            {
                EndpointName           = "MySampleApp",
                QueueDirectory         = @"C:\Temp\Queues",
                RemoteEndPointHostName = "localhost"
            };

            var client = new MessagingClient(config);
            await client.Start();

            await client.Send(new MyMessage("DoIt"));
        }