Ejemplo n.º 1
0
        public async Task <ActionResult> AddQueue(string clusterName, string topic)
        {
            ViewBag.ClusterName = clusterName;
            await _messageService.AddQueue(clusterName, topic);

            return(RedirectToAction("QueueInfoList", new { ClusterName = clusterName, Topic = topic }));
        }
Ejemplo n.º 2
0
 public ActionResult AddQueue(string clusterName, string brokerName, string topic)
 {
     ViewBag.ClusterName = clusterName;
     ViewBag.BrokerName  = brokerName;
     _messageService.AddQueue(clusterName, brokerName, topic);
     return(RedirectToAction("QueueInfoList", new { ClusterName = clusterName, BrokerName = brokerName, Topic = topic }));
 }
Ejemplo n.º 3
0
 public ActionResult AddQueue(string topic)
 {
     _messageService.AddQueue(topic);
     return(RedirectToAction("QueueInfo"));
 }