Uday,<div><br></div><div>I will try to get you a bit of an example in the next day or so that will hopefully illustrate how this might be done using the C API...</div><div><br></div><div>Regards,</div><div>Brett<br><br><div class="gmail_quote">
On Fri, Jan 6, 2012 at 11:29 AM, Uday Subbarayan <span dir="ltr">&lt;<a href="mailto:uday.subbarayan@yahoo.com">uday.subbarayan@yahoo.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div style="font-size:12pt;font-family:times new roman,new york,times,serif"><div><span>Thanks Brett for the pointer. I am aware of it.</span></div><div><span><br></span></div><div>Our C++ server will act both as consumer of the message and also publisher of the message. The worker queue model will fit best. These servers are workers and will get the task via Rabbit MQ. After completing the task, it will post the status back to the queue.</div>
<div><br></div><div>Best,</div><div>-Uday.</div><div><br></div><div class="hm HOEnZb">  </div><div style="font-size:12pt;font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif"><div class="hm HOEnZb"> </div>
<div style="font-size:12pt;font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif"><div class="hm HOEnZb"> <font face="Arial"> <hr size="1">  <b><span style="font-weight:bold">From:</span></b> Brett Cameron &lt;<a href="mailto:brett.r.cameron@gmail.com" target="_blank">brett.r.cameron@gmail.com</a>&gt;<br>
 <b><span style="font-weight:bold">To:</span></b> Uday Subbarayan
 &lt;<a href="mailto:uday.subbarayan@yahoo.com" target="_blank">uday.subbarayan@yahoo.com</a>&gt; <br><b><span style="font-weight:bold">Cc:</span></b> &quot;<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.rabbitmq.com</a>&quot; &lt;<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.rabbitmq.com</a>&gt; <br>
 <b><span style="font-weight:bold">Sent:</span></b> Wednesday, January 4, 2012 11:48 PM<br> <b><span style="font-weight:bold">Subject:</span></b> Re: [rabbitmq-discuss] How to attach C++ library?<br> </font></div><div><div class="h5">
 <br>
<div>Uday,<div><br></div><div>You should be able to do this using the C API (<a href="http://www.rabbitmq.com/c-client.html" target="_blank">http://www.rabbitmq.com/c-client.html</a>). What OS are you using? When you say that you want to convert the C++ code into a &quot;socket based server&quot;, will it be acting purely as a consumer of messages (no response), or will it be operating in some sort of request/response (RPC) fashion?</div>

<div><br></div><div>Brett</div><div><br><br><div>On Thu, Jan 5, 2012 at 6:42 PM, Uday Subbarayan <span dir="ltr">&lt;<a rel="nofollow" href="mailto:uday.subbarayan@yahoo.com" target="_blank">uday.subbarayan@yahoo.com</a>&gt;</span> wrote:<br>

<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-size:12pt;font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif"><div>
Hi All,</div><div>� � Happy New Year.</div><div><br></div><div>We have a C++ library which is currently used inside a product. We want to convert this library in to a socket based server and connect to Rabbit MQ so that it can consume &amp; publish messages from the clients.</div>

<div><br></div><div>Has any one done any similar work?</div><div><br></div><div>Thanks,</div><div>-Uday.</div></div></div><br>_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a rel="nofollow" href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a rel="nofollow" href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
<br></blockquote></div><br></div>
</div><br><br> </div></div></div> </div>  </div></div></blockquote></div><br></div>