[rabbitmq-discuss] Working with Java Client

Paul Jones pauljones23 at gmail.com
Wed Aug 19 08:21:30 BST 2009


Hi Ram,

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.

Paul.

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?
>
> 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.
>
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20090819/84eccfc6/attachment.htm 


More information about the rabbitmq-discuss mailing list