[rabbitmq-discuss] Working with Java Client
ram.muthiah at yahoo.com
Thu Aug 20 18:40:05 BST 2009
I feel the examples document needs to be more detailed. Examples page instructs to run 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?
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 (http://blogs.digitar.com/jjww/2009/01/rabbits-and-warrens/) about rabbitmq documentation as "horrible" back in Jan 2009. I feel that quality of the documentation still remains the same.
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.
From: Paul Jones <pauljones23 at gmail.com>
To: Ram Muthiah <ram.muthiah at yahoo.com>
Cc: rabbitmq-discuss at lists.rabbitmq.com
Sent: Wednesday, August 19, 2009 12:21:30 AM
Subject: Re: [rabbitmq-discuss] Working with Java Client
Both the source and binary distributions do contain runnable examples. The page http://www.rabbitmq.com/examples.html 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.
On Wed, Aug 19, 2009 at 12:01 AM, Ram Muthiah <ram.muthiah at yahoo.com> wrote:
API guide for Java client (http://www.rabbitmq.com/api-guide.html) is useful. Is there a tutorial or document with complete java code to connect to the server to help Java newbies?
From: Matthias Radestock <matthias at lshift.net>
>To: Ram Muthiah <ram.muthiah at yahoo.com>
>Cc: rabbitmq-discuss at lists.rabbitmq.com
>Sent: Tuesday, August 18, 2009 12:16:50 PM
>Subject: Re: [rabbitmq-discuss] Working with Java Client
>just to follow up on what Paul and Matthew said ...
>Ram Muthiah wrote:
>>> Instruction for "Bundled Examples" (http://www.rabbitmq.com/examples.html#demo-server) 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 http://www.rabbitmq.com/releases/rabbitmq-java-client/v1.6.0/rabbitmq-java-client-1.6.0.zip. This zip folder has the structure like
>The examples are indeed located in the test/src dir. I have corrected the web page.
>> 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.
>If you want to build the client from source, please follow the instructions at http://www.rabbitmq.com/build-java-client.html. The build process generates the AMQP class automatically from the spec.
>>rabbitmq-discuss mailing list
>rabbitmq-discuss at lists.rabbitmq.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss