2011/1/21 Robin Wood <span dir="ltr"><<a href="mailto:robin@digininja.org">robin@digininja.org</a>></span><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div id=":1m1">which means the default connection settings in php are different to<br>
the ones in Ruby. </div></blockquote><div><br></div><div>You don't have to use default queue parameters. Just specify them explicitly.</div><div>Here are defaults amqp gem uses:</div><div><font class="Apple-style-span" face="Helvetica" size="1"><span class="Apple-style-span" style="font-size: 9px;"><font class="Apple-style-span" face="arial"><span class="Apple-style-span" style="font-size: small;"><br>
</span></font></span></font></div><div><font class="Apple-style-span" face="Helvetica" size="1"><span class="Apple-style-span" style="font-size: 9px;"><font class="Apple-style-span" face="arial"><span class="Apple-style-span" style="font-size: small;">durable = false</span></font></span></font></div>
<div><font class="Apple-style-span" face="Helvetica" size="1"><span class="Apple-style-span" style="font-size: 9px;"><font class="Apple-style-span" face="arial"><span class="Apple-style-span" style="font-size: small;">nowait = true</span></font></span></font></div>
<div><font class="Apple-style-span" face="Helvetica" size="1"><span class="Apple-style-span" style="font-size: 9px;"><font class="Apple-style-span" face="arial"><span class="Apple-style-span" style="font-size: small;">exclusive = false</span></font></span></font></div>
<div><font class="Apple-style-span" face="Helvetica" size="1"><span class="Apple-style-span" style="font-size: 9px;"><font class="Apple-style-span" face="arial"><span class="Apple-style-span" style="font-size: small;">auto_delete = false</span></font></span></font></div>
<div><font class="Apple-style-span" face="Helvetica" size="1"><span class="Apple-style-span" style="font-size: 9px;"><font class="Apple-style-span" face="arial"><span class="Apple-style-span" style="font-size: small;"><br>
</span></font></span></font></div><div>Or you can look up PHP library defaults and make sure Ruby app uses</div><div>same parameters set when queue is created.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div id=":1m1">Are you able to get the two talking and if so how<br>
hard is it to get it working in the other direction?</div></blockquote></div><br>Equally easy.<br clear="all"><br>-- <br>MK<br>