-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Labels
enhancementNew feature or requestNew feature or request
Description
If possible create a series of decorators to achieve the following implementation
@AmqpConnection('default')
export default class MyAmqpProvider {
@Consume('queue_name', { ack: false})
async listen(message) {
console.log('message', message.content.toString());
}
@Exchange('exchange_name', 'queue_name')
async exchange() {
return 'send me to the queue';
}
}
probil and lzientek
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request