<HTML>
<HEAD>
<TITLE>Re: [rabbitmq-discuss] PHP Rabbit Extension</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Hey Michael,<BR>
<BR>
To be honest, Im poking in the dark. I have had repeated emails/tickets about people having to add the connection parameter to our amqp_get_rpc_reply call. Based on some limited research and chatting with Tony, it seemed to me that requiring that function parameter meant that they were using the 0-9-1 rabbitmq-c client header file, and therefore we running the 0-9-1 client.<BR>
Does that answer your question, or did I miss the point?<BR>
<BR>
Pieter<BR>
<BR>
<BR>
On 3/30/10 8:34 AM, "Michael Bridgen" <<a href="mikeb@lshift.net">mikeb@lshift.net</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Hi Pieter,<BR>
<BR>
I cannot give a response on the C client -- I leave that to Tony --<BR>
however I may be able to offer advice otherwise, since I worked on 0-9-1<BR>
support in RabbitMQ. When you say "people tell us [..] they were<BR>
running 0-9-1" do you mean they are running RabbitMQ on the amqp_0_9_1<BR>
branch?<BR>
<BR>
Regards,<BR>
Michael<BR>
<BR>
Pieter de Zwart wrote:<BR>
> Alright, I am going to plead my case one more time. We have had a few<BR>
> people tell us that, since they were running 0-9-1, they needed to tweak<BR>
> our plugin for it to compile, always having to add that blasted<BR>
> connection parameter to amqp_get_rpc_reply. Is there ANY WAY you might<BR>
> consider adding compiler flags, like VERSION “0-9-1” or something so<BR>
> that we can handle the different signatures transparently (unless you<BR>
> know of another way, or course)? I want to provide the best possible<BR>
> experiences to my users, particularly in these early days, and compiler<BR>
> errors don’t sit well with me. If the signatures for a version change,<BR>
> so be it, it will be up to us to keep up with it.<BR>
><BR>
> Thank you,<BR>
> Pieter<BR>
><BR>
><BR>
> On 3/22/10 4:50 PM, "Tony Garnock-Jones" <<a href="tonyg@lshift.net">tonyg@lshift.net</a>> wrote:<BR>
><BR>
> Pieter de Zwart wrote:<BR>
> > The only time we call amqp_get_rpc_reply right now is for our call to<BR>
> > amqp_channel_open after successfully creating a new connection. This<BR>
> > function returns amqp_channel_open_ok_t_, instead of the standard<BR>
> > amqp_rpc_reply_t, so this is the correct place to use it, right?<BR>
><BR>
> That's right.<BR>
><BR>
> > Also, any chance you want to throw in a version string in the<BR>
> AMQP.h so<BR>
> > that we can have compiler level flags to handle these different<BR>
> > situations? =)<BR>
><BR>
> Hmm. I sympathise, but I think it's too early for that: the API, while<BR>
> reasonably stable seeming, is I think still best considered officially<BR>
> unstable.<BR>
><BR>
> (You're aware there are a couple of tags in the hg repository now that<BR>
> you might be able to use, right?)<BR>
><BR>
> Regards,<BR>
> Tony<BR>
><BR>
><BR>
><BR>
> --<BR>
> the rubicon project<BR>
><BR>
> PIETER DE ZWART | INTERFACES ENGINEER<BR>
><BR>
> ••• P 310 207 0272 | x224<BR>
> ••• F 323 466 7119<BR>
><BR>
><BR>
> 1925 S. BUNDY DRIVE<BR>
> LOS ANGELES, CALIFORNIA 90025<BR>
><BR>
> WWW.RUBICONPROJECT.COM <_<a href="http://www.rubiconproject.com/_">http://www.rubiconproject.com/_</a>><BR>
><BR>
><BR>
> “COMPANY OF THE YEAR” ALWAYSON ONMEDIA 2009<BR>
> #24 ON FAST COMPANY FAST 50 READER FAVORITES<BR>
> 2008 ALWAYSON 250 GLOBAL WINNER<BR>
> 2008 ALWAYSON ONMEDIA 100 WINNER<BR>
> TWIISTUP3 BEST IN SHOW<BR>
> PRICEWATERHOUSECOOPERS – ENTRETECH BEST STARTUP<BR>
> AMERICAN BUSINESS AWARDS - STEVIES ‘08 FINALIST BEST NEW COMPANY<BR>
> AMERICAN BUSINESS AWARDS - STEVIES ‘08 FINALIST MOST INNOVATIVE COMPANY<BR>
> AMERICAN BUSINESS AWARDS - STEVIES ‘08 FINALIST NEW PRODUCT OR SERVICE<BR>
> - SERVICES<BR>
><BR>
> P Please consider the environment before printing this e-mail<BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
-- <BR>
</SPAN></FONT><FONT COLOR="#343434"><FONT SIZE="4"><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:14pt'>the rubicon project<BR>
</SPAN></FONT></FONT></FONT><FONT FACE="Verdana, Helvetica, Arial"><FONT COLOR="#BA0022"><FONT SIZE="1"><SPAN STYLE='font-size:9pt'><BR>
</SPAN><SPAN STYLE='font-size:7pt'>PIETER DE ZWART </SPAN></FONT></FONT><FONT SIZE="1"><SPAN STYLE='font-size:7pt'><FONT COLOR="#404040">| INTERFACES ENGINEER<BR>
</FONT><FONT COLOR="#AC0021"><BR>
</FONT><FONT COLOR="#BB001E">••• P 310 207 0272 | x224<BR>
••• F 323 466 7119<BR>
</FONT><BR>
<FONT COLOR="#3C3C3C"><BR>
1925 S. BUNDY DRIVE<BR>
LOS ANGELES, CALIFORNIA 90025<BR>
</FONT><FONT COLOR="#B60F1D"><BR>
</FONT><FONT COLOR="#0000FF">WWW.RUBICONPROJECT.COM</FONT><FONT COLOR="#B60F1D"> <</FONT><FONT COLOR="#0000FF"><U><a href="http://">http://</a>www.rubiconproject.com/</U></FONT><FONT COLOR="#B60F1D">> <BR>
</FONT></SPAN></FONT></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT><FONT COLOR="#2F2F2F"><FONT SIZE="4"><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:13pt'><IMG src="cid:3352789763_13655659" ><BR>
</SPAN></FONT></FONT></FONT><FONT FACE="Verdana, Helvetica, Arial"><FONT COLOR="#787878"><FONT SIZE="1"><SPAN STYLE='font-size:7pt'>“COMPANY OF THE YEAR” ALWAYSON ONMEDIA 2009<BR>
#24 ON FAST COMPANY FAST 50 READER FAVORITES<BR>
2008 ALWAYSON 250 GLOBAL WINNER<BR>
2008 ALWAYSON ONMEDIA 100 WINNER<BR>
TWIISTUP3 BEST IN SHOW<BR>
</SPAN></FONT></FONT><FONT SIZE="1"><SPAN STYLE='font-size:7pt'><FONT COLOR="#777777">PRICEWATERHOUSECOOPERS – ENTRETECH BEST STARTUP<BR>
</FONT><FONT COLOR="#787878">AMERICAN BUSINESS AWARDS - STEVIES ‘08 FINALIST BEST NEW COMPANY<BR>
</FONT><FONT COLOR="#777777">AMERICAN BUSINESS AWARDS - STEVIES ‘08 FINALIST MOST INNOVATIVE COMPANY<BR>
AMERICAN BUSINESS AWARDS - STEVIES ‘08 FINALIST NEW PRODUCT OR SERVICE - SERVICES<BR>
<BR>
</FONT></SPAN></FONT></FONT><FONT COLOR="#198000"><FONT SIZE="6"><FONT FACE="Webdings"><SPAN STYLE='font-size:24pt'>P</SPAN></FONT></FONT><FONT SIZE="1"><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:7pt'> </SPAN></FONT><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:8pt'>Please consider the environment before printing this e-mail</SPAN></FONT></FONT></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT>
</BODY>
</HTML>