<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Just putting this on the m/l.<div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="font-family: Georgia; ">Steve Powell</span><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div><div style="font-family: Helvetica; "><font class="Apple-style-span" face="Georgia"><i><a href="mailto:steve@rabbitmq.com">steve@rabbitmq.com</a></i></font></div></div><div style="font-family: Helvetica; "><div><div><font class="Apple-style-span" face="Georgia" size="2"><span class="Apple-style-span" style="font-size: 10px; ">[</span><i>wrk</i><span class="Apple-style-span" style="font-size: 10px; ">: +44-2380-111-528] [</span><i>mob</i><span class="Apple-style-span" style="font-size: 10px; ">: +44-7815-838-558]</span></font></div><div style="font-size: 12px; "><font class="Apple-style-span" face="arial" size="3"><span class="Apple-style-span" style="border-collapse: collapse; font-size: 13px; "><i></i></span><i></i></font></div></div></div></span></span></span>
</div>
<br><div><div>On 24 Feb 2012, at 15:05, Steve Powell wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Sonali,<br><br>This is not our client code base, but if you go to<br><a href="https://github.com/cbusbey/rabbitmq-cpp#readme">https://github.com/cbusbey/rabbitmq-cpp#readme</a><br>(at the top of the GitHub rabbitmq-cpp repository)<br>you should find some instructions, which<br>ought to be sufficient for building the examples!<br><br>It seems to say you need rabbitmq-c as well.<br><br>Sorry I can't give you explicit guidance, but it is a<br>case of asking the community; try messaging Chris<br>Busbey (cbusbey -- owner of the rabbitmq-cpp<br>github repo) for more help.<br><br>Steve Powell<br>steve@rabbitmq.com<br>[wrk: +44-2380-111-528] [mob: +44-7815-838-558]<br><br>On 24 Feb 2012, at 10:35, Abhonkar, Sonali wrote:<br><br><blockquote type="cite">Hi Steve,<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I tried following code from<br></blockquote><blockquote type="cite">https://github.com/cbusbey/rabbitmq-cpp/blob/master/examples/producer.cc<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">#include <iostream><br></blockquote><blockquote type="cite">#include <client.h><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">using namespace rabbitmqcpp;<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">int main(int argc, char * argv[])<br></blockquote><blockquote type="cite">{<br></blockquote><blockquote type="cite"> if(argc < 5)<br></blockquote><blockquote type="cite"> {<br></blockquote><blockquote type="cite"> std::cout << "usage: producer <host> <port> <exchange> <routing key><br></blockquote><blockquote type="cite"><message>" << std::endl;<br></blockquote><blockquote type="cite"> return 1;<br></blockquote><blockquote type="cite"> }<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"> char const * host = argv[1];<br></blockquote><blockquote type="cite"> int port = atoi(argv[2]);<br></blockquote><blockquote type="cite"> char const * exchange = argv[3];<br></blockquote><blockquote type="cite"> char const * routingkey = argv[4];<br></blockquote><blockquote type="cite"> char const * message = argv[5];<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"> Client c(host, port);<br></blockquote><blockquote type="cite"> c.connect();<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"> c.send(exchange, routingkey, message, strlen(message));<br></blockquote><blockquote type="cite">}<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I have to include client.h file in my project?<br></blockquote><blockquote type="cite">In client.h there again another header files.<br></blockquote><blockquote type="cite">I want to know what are libraries are needed to communicate with AMQP,<br></blockquote><blockquote type="cite">How to compile & build the code. Can you please provide me steps.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Thanks,<br></blockquote><blockquote type="cite">Sonali<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">-----Original Message-----<br></blockquote><blockquote type="cite">From: Steve Powell [mailto:steve@rabbitmq.com] <br></blockquote><blockquote type="cite">Sent: Thursday, February 23, 2012 6:27 PM<br></blockquote><blockquote type="cite">To: Abhonkar, Sonali<br></blockquote><blockquote type="cite">Cc: rabbitmq-discuss@lists.rabbitmq.com<br></blockquote><blockquote type="cite">Subject: Re: [rabbitmq-discuss] Regarding C++<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Sonali,<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">You might like to check out the C/C++ clients that have been developed<br></blockquote><blockquote type="cite">by the<br></blockquote><blockquote type="cite">RabbitMQ Community. See the list at<br></blockquote><blockquote type="cite">(http://www.rabbitmq.com/devtools.html#c-dev).<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Steve Powell<br></blockquote><blockquote type="cite">steve@rabbitmq.com<br></blockquote><blockquote type="cite">[wrk: +44-2380-111-528] [mob: +44-7815-838-558]<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">On 23 Feb 2012, at 11:56, Abhonkar, Sonali wrote:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><blockquote type="cite">Hi,<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">First time I am working on messaging. So I am not able to do it using<br></blockquote></blockquote><blockquote type="cite">rabbitMQ.<br></blockquote><blockquote type="cite"><blockquote type="cite">My aim is to write a code in C++, to transfer message "Hi World" to<br></blockquote></blockquote><blockquote type="cite">other machine using RabbitMQ.<br></blockquote><blockquote type="cite"><blockquote type="cite">Can you please help me in this.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Thanks & Regards,<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Sonali.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">This e-mail and the documents attached are confidential and intended<br></blockquote></blockquote><blockquote type="cite">solely for the addressee; it may also be privileged. If you receive this<br></blockquote><blockquote type="cite">e-mail in error, please notify the sender immediately and destroy it. As<br></blockquote><blockquote type="cite">its integrity cannot be secured on the Internet, the Atos group<br></blockquote><blockquote type="cite">liability cannot be triggered for the message content. Although the<br></blockquote><blockquote type="cite">sender endeavors to maintain a computer virus-free network, the sender<br></blockquote><blockquote type="cite">does not warrant that this transmission is virus-free and will not be<br></blockquote><blockquote type="cite">liable for any damages resulting from any virus transmitted.<br></blockquote><blockquote type="cite"><blockquote type="cite">_______________________________________________<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">rabbitmq-discuss mailing list<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">rabbitmq-discuss@lists.rabbitmq.com<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss<br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos group liability cannot be triggered for the message content. Although the sender endeavors to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.<br></blockquote><blockquote type="cite"><br></blockquote><br></div></blockquote></div><br></div></body></html>