public static AMQFrame CreateAMQFrame(ushort channelId, string ConsumerTag, ulong DeliveryTag, string Exchange, string Queue) { StreamDeliverBody body = new StreamDeliverBody(); body.ConsumerTag = ConsumerTag; body.DeliveryTag = DeliveryTag; body.Exchange = Exchange; body.Queue = Queue; AMQFrame frame = new AMQFrame(); frame.Channel = channelId; frame.BodyFrame = body; return frame; }
public static AMQFrame CreateAMQFrame(ushort channelId, string ConsumerTag, ulong DeliveryTag, string Exchange, string Queue) { StreamDeliverBody body = new StreamDeliverBody(); body.ConsumerTag = ConsumerTag; body.DeliveryTag = DeliveryTag; body.Exchange = Exchange; body.Queue = Queue; AMQFrame frame = new AMQFrame(); frame.Channel = channelId; frame.BodyFrame = body; return(frame); }