<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>Hi Paul,<br><br>I feel the examples document needs to be more detailed. Examples page instructs to run           <code>runjava.bat com.rabbitmq.examples.TestMain to run the TestMain class. But, don't we need to change hostname, guest, password, etc before running these classes? <br><br><span>You have a wonderful product. But, if the users don't find detailed instructions to use it, it's very hard to run even some simple tests. Jason wrote in his blog (<a target="_blank" href="http://blogs.digitar.com/jjww/2009/01/rabbits-and-warrens/">http://blogs.digitar.com/jjww/2009/01/rabbits-and-warrens/</a>) about rabbitmq documentation as "horrible" back in Jan 2009. I feel that quality of the documentation still remains the same.</span><br><br>I setup the server, I ran some basic python scripts to
 send/receive messages, they work well. I am stuck while using java client. Any help is much appreciated.<br><br>Thanks<br>Ram<br></code></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Paul Jones &lt;pauljones23@gmail.com&gt;<br><b><span style="font-weight: bold;">To:</span></b> Ram Muthiah &lt;ram.muthiah@yahoo.com&gt;<br><b><span style="font-weight: bold;">Cc:</span></b> rabbitmq-discuss@lists.rabbitmq.com<br><b><span style="font-weight: bold;">Sent:</span></b> Wednesday, August 19, 2009 12:21:30 AM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [rabbitmq-discuss] Working with Java Client<br></font><br><meta http-equiv="x-dns-prefetch-control" content="off">Hi Ram,<br><br>Both the source and binary distributions do
 contain runnable examples. The page <a rel="nofollow" target="_blank" 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">&lt;<a rel="nofollow" ymailto="mailto:ram.muthiah@yahoo.com" target="_blank" href="mailto:ram.muthiah@yahoo.com">ram.muthiah@yahoo.com</a>&gt;</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 rel="nofollow" target="_blank" href="http://www.rabbitmq.com/api-guide.html">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 size="2" face="Tahoma"><hr size="1">
<b><span style="font-weight: bold;">From:</span></b> Matthias Radestock &lt;<a rel="nofollow" ymailto="mailto:matthias@lshift.net" target="_blank" href="mailto:matthias@lshift.net">matthias@lshift.net</a>&gt;<br><b><span style="font-weight: bold;">To:</span></b> Ram Muthiah &lt;<a rel="nofollow" ymailto="mailto:ram.muthiah@yahoo.com" target="_blank" href="mailto:ram.muthiah@yahoo.com">ram.muthiah@yahoo.com</a>&gt;<br>
<b><span style="font-weight: bold;">Cc:</span></b> <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><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>
&gt; Instruction for "Bundled Examples" (<a rel="nofollow" target="_blank" href="http://www.rabbitmq.com/examples.html#demo-server">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 rel="nofollow" target="_blank" href="http://www.rabbitmq.com/releases/rabbitmq-java-client/v1.6.0/rabbitmq-java-client-1.6.0.zip">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/.....&nbsp; <br><br>The examples are indeed located in the test/src dir. I have corrected the web page.<br><br>&gt; 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 rel="nofollow" target="_blank" href="http://www.rabbitmq.com/build-java-client.html">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 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="http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss">http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
<br></blockquote></div><br>
<meta http-equiv="x-dns-prefetch-control" content="on"></div></div></div><br>

      </body></html>