No subject


Tue Apr 12 10:32:41 BST 2011


ction in order to get the functionality that I need, but I currently reuse =
almost all of the code for the publisher/monitor, and would rather not have=
 to code an all new synchronous publisher for this functionality.

Thank you for your time,
-Christopher Lefevre
The information contained in this electronic message and any attached docum=
ent(s) is intended only for the personal and confidential use of the design=
ated recipients named above. This message may be confidential. If the reade=
r of this message is not the intended recipient, you are hereby notified th=
at you have received this document in error, and that any review, dissemina=
tion, distribution, or copying of this message is strictly prohibited. If y=
ou have received this communication in error, please notify sender immediat=
ely by telephone (603) 262-6300 or by electronic mail immediately. Thank yo=
u.

--_000_5798631D5F355D4C99FDF23580295AF8187B6C43TLMAIL1Transpar_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<style>
<!--
@font-face
	{font-family:"Cambria Math"}
@font-face
	{font-family:Calibri}
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif"}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline}
span.EmailStyle17
	{font-family:"Calibri","sans-serif";
	color:windowtext}
.MsoChpDefault
	{font-family:"Calibri","sans-serif"}
@page WordSection1
	{margin:1.0in 1.0in 1.0in 1.0in}
div.WordSection1
	{}
-->
</style>
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">Hello,</p>
<p class=3D"MsoNormal">I&#8217;m trying to do EXACTLY THIS:</p>
<p class=3D"MsoNormal"><a href=3D"http://stackoverflow.com/questions/279973=
1/wait-for-a-single-rabbitmq-message-with-a-timeout">http://stackoverflow.c=
om/questions/2799731/wait-for-a-single-rabbitmq-message-with-a-timeout</a><=
/p>
<p class=3D"MsoNormal">However I&#8217;m using Pika for all of my RabbitMQ =
communications, and unfortunately the &#8220;Answer&#8221; is just &#8220;F=
ixed&#8221; which isn&#8217;t really applicable to use in my situation.</p>
<p class=3D"MsoNormal"><br>
For a quick summary, I&#8217;m trying to send a message to RabbitMQ, then w=
ait on a reply from the workers on the other side of the RabbitMQ queue on =
an exclusive queue. I would like to have a timeout setting on the monitor t=
o wait for the message, just in case the
 server is down, or taking an absurd amount of time.</p>
<p class=3D"MsoNormal">&nbsp;</p>
<p class=3D"MsoNormal">For details on the connections, I&#8217;ve coded a s=
ynchronous publisher that uses one Select connection to connect to RabbitMQ=
, publishes the message on one channel, and consumes on a UUID channel.</p>
<p class=3D"MsoNormal">&nbsp;</p>
<p class=3D"MsoNormal">From the documentation it appears that I&#8217;d nee=
d to be using a BlockingConnection in order to get the functionality that I=
 need, but I currently reuse almost all of the code for the publisher/monit=
or, and would rather not have to code an
 all new synchronous publisher for this functionality.</p>
<p class=3D"MsoNormal">&nbsp;</p>
<p class=3D"MsoNormal">Thank you for your time,</p>
<p class=3D"MsoNormal">-Christopher Lefevre</p>
</div>
The information contained in this electronic message and any attached docum=
ent(s) is intended only for the personal and confidential use of the design=
ated recipients named above. This message may be confidential. If the reade=
r of this message is not the intended
 recipient, you are hereby notified that you have received this document in=
 error, and that any review, dissemination, distribution, or copying of thi=
s message is strictly prohibited. If you have received this communication i=
n error, please notify sender immediately
 by telephone (603) 262-6300 or by electronic mail immediately. Thank you.
</body>
</html>

--_000_5798631D5F355D4C99FDF23580295AF8187B6C43TLMAIL1Transpar_--


More information about the rabbitmq-discuss mailing list