static void Main(string[] args) { CommonService commonService = new CommonService(); IConnection connection = commonService.GetRabbitMqConnection(); IModel model = connection.CreateModel(); ReceiveSerialisationMessages(model); }
static void Main(string[] args) { CommonService commonService = new CommonService(); IConnection connection = commonService.GetRabbitMqConnection(); IModel model = connection.CreateModel(); ReceiveDotNetObjects(model); }