event-message-broker
Version:
A Message Bus that uses AWS Stack and RabbitMQ
30 lines (29 loc) • 625 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Configuration = void 0;
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;
}
}
exports.Configuration = Configuration;
Configuration._tags = [
{
Key: 'stack',
Value: 'nodeJS'
},
{
Key: 'strategy',
Value: 'message-bus'
}
];
Configuration._prefetch = 10;