<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><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 style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "> <div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "> <font size="2" face="Arial"> <hr size="1"> <b><span style="font-weight:bold;">From:</span></b> Brett Cameron <brett.r.cameron@gmail.com><br> <b><span style="font-weight: bold;">To:</span></b> Uday Subbarayan
<uday.subbarayan@yahoo.com> <br><b><span style="font-weight: bold;">Cc:</span></b> "rabbitmq-discuss@lists.rabbitmq.com" <rabbitmq-discuss@lists.rabbitmq.com> <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> <br>
<div id="yiv346229777">Uday,<div><br></div><div>You should be able to do this using the C API (http://www.rabbitmq.com/c-client.html). What OS are you using? When you say that you want to convert the C++ code into a "socket based server", 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 class="yiv346229777gmail_quote">On Thu, Jan 5, 2012 at 6:42 PM, Uday Subbarayan <span dir="ltr"><<a rel="nofollow" ymailto="mailto:uday.subbarayan@yahoo.com" target="_blank" href="mailto:uday.subbarayan@yahoo.com">uday.subbarayan@yahoo.com</a>></span> wrote:<br>
<blockquote class="yiv346229777gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-size: 12pt; font-family: 'times new roman', 'new york', 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 & 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" ymailto="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank" href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a rel="nofollow" target="_blank" href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
<br></blockquote></div><br></div>
</div><br><br> </div> </div> </div></body></html>