public void LooksGood()
        {
            using (var activator = new BuiltinHandlerActivator())
            {
                Console.WriteLine(ConnectionString);

                var bus = Configure.With(activator)
                          .Transport(t => t.UseAzureServiceBus(ConnectionString, "contenttypetest"))
                          .Options(o => o.SetNumberOfWorkers(0))
                          .Start();

                bus.Advanced.Workers.SetNumberOfWorkers(0);

                var message = new RigtigBesked
                {
                    Text     = "hej med dig min ven! DER ER JSON HERI!!!",
                    Embedded = new RigtigEmbedded
                    {
                        Whatever = new[] { 1, 2, 3 },
                        Message  = "I'm in here!!"
                    }
                };

                bus.SendLocal(message).Wait();
            }
        }
        public void LooksGood()
        {
            using (var activator = new BuiltinHandlerActivator())
            {
                Console.WriteLine(ConnectionString);

                var bus = Configure.With(activator)
                    .Transport(t => t.UseAzureServiceBus(ConnectionString, "contenttypetest"))
                    .Options(o => o.SetNumberOfWorkers(0))
                    .Start();

                bus.Advanced.Workers.SetNumberOfWorkers(0);

                var message = new RigtigBesked
                {
                    Text = "hej med dig min ven! DER ER JSON HERI!!!",
                    Embedded = new RigtigEmbedded
                    {
                        Whatever = new[] {1, 2, 3},
                        Message = "I'm in here!!"
                    }
                };

                bus.SendLocal(message).Wait();
            }
        }