LeanKit-Labs / wascally

Abstractions to simplify working with wascally wabbitMQ
MIT License
161 stars 54 forks source link

Accept a uri from configs #136

Closed ryanwilliamquinn closed 8 years ago

ryanwilliamquinn commented 8 years ago

It is convenient to set a uri in configuration, vs explicitly setting host, user, pw, etc. It is especially nice when using Heroku, since a service like cloudamqp provides its connection info in uri format. If you end up creating review apps or cloning an app, you wouldn't have to worry about parsing out the uri into individual components.

arobson commented 8 years ago

@ryanwilliamquinn - I have added this feature to rabbot as of version 1.0.0-11. You can provide a uri property on the connection and anything not on the URI will get backfilled with the usual defaults. Hope that helps!