public bool CreateOrder(Ordenes orden) { try { ActiveMq.CreateProducer(_configuration.GetSection("QueueNames:OrderCreate").Value, orden); return(true); } catch (Exception ex) { return(false); } }