<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">2014-03-03 15:14 GMT+04:00 Кристина Лаптева <span dir="ltr"><<a href="mailto:laptevakristi@gmail.com" target="_blank">laptevakristi@gmail.com</a>></span>:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>clusteringMessageBroker.Subscribe(</div><div>               clusteringOutputQueueName, ProcessMessage, typeof(ClusteringOutputMessage));</div>

<div>Thread.Sleep(380000);<br></div><div>clusteringMessageBroker.Unsubscribe(clusteringOutputQueueName, ProcessMessage);</div></blockquote></div><br>This code seems to be using a wrapper over the .NET client. If I understand you correctly</div>

<div class="gmail_extra">you want to consume one message (subscribe and immediately unsubscribe)? You should</div><div class="gmail_extra">use IModel#BasicGet then.<br><br clear="all"><div><br></div>-- <br>MK<br><br><a href="http://github.com/michaelklishin" target="_blank">http://github.com/michaelklishin</a><br>

<a href="http://twitter.com/michaelklishin" target="_blank">http://twitter.com/michaelklishin</a><br>
</div></div>