static void Main(string[] args)
        {
            ServiceBusFactory process                   = new ServiceBusFactory();
            string            url                       = "testservicebusnitin";
            string            subscriptionName          = "subsc1";
            string            serviceBusTokenIssuerName = "RootManageSharedAccessKey";
            string            serviceBusTokenIssuerKey  = "QSLCGZmsPZPcfxZGFhoWUxqkiCTgDQIV5P87gryqaLI=";
            string            topicName                 = "topic1";

            ISubscriber subscriber = process.GetSubscription(url, topicName, subscriptionName, serviceBusTokenIssuerName, serviceBusTokenIssuerKey, Microsoft.ServiceBus.Messaging.ReceiveMode.ReceiveAndDelete, 100);

            subscriber.OnMessage <MessageFormat>((message) => { Console.WriteLine(JsonConvert.SerializeObject(message)); });
            Console.ReadKey();
        }