tmm1 / amqp

AMQP client implementation in Ruby/EventMachine
http://groups.google.com/group/ruby-amqp
444 stars 5 forks source link

Enable amqp:// url-like syntax. #24

Closed majek closed 13 years ago

majek commented 13 years ago

It's much nicer to address AMQP server by using url-like syntax, like:

amqp://guest:guest@localhost:5672/vhost

The shortest allowed url is:

amqp:///

Which points to the defaults.

artob commented 13 years ago

Nice work, this would be useful to have.

botanicus commented 13 years ago

Majek's changes are also merged into my fork (master branch) https://github.com/botanicus/amqp with a little fix for ArgumentError in case no arguments are provided https://github.com/botanicus/amqp/commit/16dada102002f9e2ddddc4892411622890cf49cc. It also exists as a topic branch: https://github.com/botanicus/amqp/tree/amqp_url

As there isn't much going on recently, I merged all the pull requests to my master branch and I'm doing some new development there as well (as a part of my work for VMware).