twingly / twingly-amqp

:bus: Ruby gem for RabbitMQ subscribing and publishing
0 stars 0 forks source link

WIP: Generalize QueuePublisher (-> DirectExchangePublisher) #56

Closed walro closed 7 years ago

walro commented 7 years ago

This makes the class more versatile. The default exchange is a direct exchange with an empty name.

Related to #12.

TODO:

walro commented 7 years ago

Hmm, the differences between the default exchange and a direct exchange was more than just the name of the exchange so this became a bit tricky and we don't really have the use case right now so I'll close this. However I'll reopen a new PR with a rename from "QueuePublisher" to "DefaultExchangePublisher" as that is a bit more describing what this class does.