Esempio n. 1
0
        static void Main(string[] args)
        {
            IRabbitMQClient client = new RabbitMQClient(RabbitMQConfiguration.Default);

            //client.Publish(new object());

            client.Handle <object>("peatio.events.ranger", "#", x =>
            {
                Console.WriteLine(JsonConvert.SerializeObject(x));
            });
            //RattitSimpleConsumer();
            Console.ReadKey();
        }