event-message-broker
Version:
A Message Bus that uses AWS Stack and RabbitMQ
26 lines (25 loc) • 484 B
JavaScript
export class Configuration {
static pushTags(tags) {
this._tags.concat(tags);
}
static configurePrefetch(prefetch) {
this._prefetch = prefetch;
}
static get tags() {
return this._tags;
}
static get prefetch() {
return this._prefetch;
}
}
Configuration._tags = [
{
Key: 'stack',
Value: 'nodeJS'
},
{
Key: 'strategy',
Value: 'message-bus'
}
];
Configuration._prefetch = 10;