public static AMQFrame CreateAMQFrame(ushort channelId, ushort Ticket, string Queue, string Exchange, string RoutingKey, bool Nowait, FieldTable Arguments)
        {
            QueueBindBody body = new QueueBindBody();

            body.Ticket     = Ticket;
            body.Queue      = Queue;
            body.Exchange   = Exchange;
            body.RoutingKey = RoutingKey;
            body.Nowait     = Nowait;
            body.Arguments  = Arguments;

            AMQFrame frame = new AMQFrame();

            frame.Channel   = channelId;
            frame.BodyFrame = body;
            return(frame);
        }
Ejemplo n.º 2
0
 public static AMQFrame CreateAMQFrame(ushort channelId, ushort Ticket, string Queue, string Exchange, string RoutingKey, bool Nowait, FieldTable Arguments)
 {
     QueueBindBody body = new QueueBindBody();
     body.Ticket = Ticket;
     body.Queue = Queue;
     body.Exchange = Exchange;
     body.RoutingKey = RoutingKey;
     body.Nowait = Nowait;
     body.Arguments = Arguments;
     		 
     AMQFrame frame = new AMQFrame();
     frame.Channel = channelId;
     frame.BodyFrame = body;
     return frame;
 }