Skip to content

Instantly share code, notes, and snippets.

@zhuqling
Created March 11, 2013 03:40
Show Gist options
  • Save zhuqling/5131737 to your computer and use it in GitHub Desktop.
Save zhuqling/5131737 to your computer and use it in GitHub Desktop.
生成匿名Queue
// 生成匿名Queue
var resultQ = _chan.QueueDeclare(
queue: "",
durable: false,
exclusive: true,
autoDelete: true,
arguments: null
);
string qName = resultQ.QueueName; // 得到Queue名称
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment