[rabbitmq-discuss] Working with Java Client
Ram Muthiah
ram.muthiah at yahoo.com
Wed Aug 19 00:01:41 BST 2009
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?
Thanks
Ram
________________________________
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
Ram,
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 rabbitmq-java-client-1.6.0/test/src/com/rabbitmq/client/.....
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.
Regards,
Matthias.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20090818/febee93c/attachment.htm
More information about the rabbitmq-discuss
mailing list