Module | Moqueue::ObjectMethods |
In: |
lib/moqueue/object_methods.rb
|
Takes a hash to specify the exchange type and its name.
topic = mock_exchange(:topic => 'topic exchange')
Takes a string name as a parameter. Each queue name may only be used once. Multiple calls to mock_queue with the same name will return the same object.