Hi Ram,<br><br>Both the source and binary distributions do contain runnable examples. The page <a href="http://www.rabbitmq.com/examples.html">http://www.rabbitmq.com/examples.html</a> does detail how to run the examples - if you're having trouble building the source distribution, these are also all pre-compiled in the binary distribution that you found. Potentially, the quickest way to understand it all would be to run the examples in the binary distribution whilst using the source distribution to get an understanding of what is going on.<br>
<br>Paul.<br><br><div class="gmail_quote">On Wed, Aug 19, 2009 at 12:01 AM, Ram Muthiah <span dir="ltr"><<a href="mailto:ram.muthiah@yahoo.com">ram.muthiah@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div>API guide for Java client (<span><a href="http://www.rabbitmq.com/api-guide.html" target="_blank">http://www.rabbitmq.com/api-guide.html</a></span>) is useful. Is there a tutorial or document with complete java code to connect to the server to help Java newbies? <br>
<br>Thanks<br>Ram <br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: arial,helvetica,sans-serif; font-size: 13px;"><div class="im"><font face="Tahoma" size="2"><hr size="1">
<b><span style="font-weight: bold;">From:</span></b> Matthias Radestock <<a href="mailto:matthias@lshift.net" target="_blank">matthias@lshift.net</a>><br><b><span style="font-weight: bold;">To:</span></b> Ram Muthiah <<a href="mailto:ram.muthiah@yahoo.com" target="_blank">ram.muthiah@yahoo.com</a>><br>
<b><span style="font-weight: bold;">Cc:</span></b> <a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.rabbitmq.com</a><br><b><span style="font-weight: bold;">Sent:</span></b> Tuesday, August 18, 2009 12:16:50 PM<br>
<b><span style="font-weight: bold;">Subject:</span></b> Re: [rabbitmq-discuss] Working with Java Client<br></font><br></div><div class="im">Ram,<br><br>just to follow up on what Paul and Matthew said ...<br><br>Ram Muthiah wrote:<br>
> Instruction for "Bundled Examples" (<a href="http://www.rabbitmq.com/examples.html#demo-server" target="_blank">http://www.rabbitmq.com/examples.html#demo-server</a>) says "The source code for these examples is in the |java/test/src| folder in the source distribution". But, there is no java/test/src folder in the source distribution I downloaded from <a href="http://www.rabbitmq.com/releases/rabbitmq-java-client/v1.6.0/rabbitmq-java-client-1.6.0.zip" target="_blank">http://www.rabbitmq.com/releases/rabbitmq-java-client/v1.6.0/rabbitmq-java-client-1.6.0.zip</a>. This zip folder has the structure like
rabbitmq-java-client-1.6.0/test/src/com/rabbitmq/client/..... <br><br>The examples are indeed located in the test/src dir. I have corrected the web page.<br><br>> All sample codes refer AMQP class which is supposed to be in client folder, but AMQP is missing. So the commands like "import com.rabbitmq.client.AMQP.BasicProperties" fails all over the place.<br>
<br>If you want to build the client from source, please follow the instructions at <a href="http://www.rabbitmq.com/build-java-client.html" target="_blank">http://www.rabbitmq.com/build-java-client.html</a>. The build process generates the AMQP class automatically from the spec.<br>
<br><br>Regards,<br><br>Matthias.<br></div></div></div></div><br>
</div><br>_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
<br></blockquote></div><br>