<span style="border-collapse:collapse;font-family:arial, sans-serif;font-size:13px">Howdy,<br><br>I'm looking at the Pika documentation, and it's mentioning that using<br>
BlockingConnection is deprecated. The alternative is to use an<br>asynchronous model like SelectConnection. This works fairly well for<br>consumers, but producing one-off messages leaves more to be desired.<br>BlockingConnection satisfies the case fairly well -- Create a global<br>
connection, send many messages, close the connection. It gets hairy<br>when attempting to work asynchronously within a synchronous<br>application. Especially given the fact I want to use the "mandatory"<br>flag, and know when any message fails to be enqueued in a synchronous<br>
manner.<br><br>Are there any best practices to doing this? Is the answer to just use<br>BlockingConnection?<br><br>Thanks,<br><font color="#888888">-Josh</font></span>