We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6db13b8 commit 467c995Copy full SHA for 467c995
lib/rabbit-topology.js
@@ -94,19 +94,6 @@ module.exports = function rabbitTopology() {
94
// Loop through all the defined queues
95
_.forEach(StubmodelModel.topology, handlers => {
96
97
-
98
- // Setup the consumer of this queue
99
- if (handlers.consumer) {
100
- const modelName = handlers.consumer.model
101
- const methodName = handlers.consumer.method
102
- const Model = StubmodelModel.app.models[modelName]
103
104
- // Log if the method does not exists yet
105
- Model[methodName] = function stubQueueConsumer() {
106
- debug(`${modelName}.${methodName} is not initialised yet`)
107
- }
108
109
110
// Setup the producers of this queue
111
if (handlers.producer) {
112
const modelName = handlers.producer.model
0 commit comments