[rabbitmq-discuss] 0-9-1 Coming Soon (Was: Roadmap Questions)
celldee
celldee at gmail.com
Thu Jun 25 05:51:18 BST 2009
Gentlemen,
On Jun 24, 11:25 pm, Tony Garnock-Jones <to... at lshift.net> wrote:
> Hi Chris,
>
> celldee wrote:
> > Pardon my ignorance, but how do I get hold of the "amqp_0_9_1" branch?
> > I've looked athttp://hg.rabbitmq.com/rabbitmq-serverbut the
> > whereabouts of the "amqp_0_9_1" branch is not apparent to me.
>
> Here's an example that checks out the server, the code generator, and
> the C client, switches the checkouts to the amqp_0_9_1 branch, builds
> them, and runs the examples:
>
> # Check out the code
> hg clonehttp://hg.rabbitmq.com/rabbitmq-codegen
> hg clonehttp://hg.rabbitmq.com/rabbitmq-server
> hg clonehttp://hg.rabbitmq.com/rabbitmq-c
>
> # Switch to amqp_0_9_1 branches
> (cd rabbitmq-codegen; hg up amqp_0_9_1)
> (cd rabbitmq-server; hg up amqp_0_9_1)
> (cd rabbitmq-c; hg up amqp_0_9_1)
>
> # Build and start the server
> make -C rabbitmq-server run
>
> # Build the C client examples
> (cd rabbitmq-c; autoreconf -i)
> (cd rabbitmq-c; ./configure)
> (cd rabbitmq-c; make)
>
> # Run a listener
> ./rabbitmq-c/examples/amqp_listen localhost 5672 amq.direct foo
>
> # Send a couple of test messages (from another window)
> ./rabbitmq-c/examples/amqp_sendstring localhost 5672 amq.direct foo 1
> ./rabbitmq-c/examples/amqp_sendstring localhost 5672 amq.direct foo 2
> ./rabbitmq-c/examples/amqp_sendstring localhost 5672 amq.direct foo 3
>
Thanks for your assistance. I shall now proceed :)
Regards,
Chris
More information about the rabbitmq-discuss
mailing list