antenna-amqp
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -76,3 +76,3 @@ /** | ||
var self = this; | ||
this._connection = amqp.createConnection(options); | ||
this._connection = amqp.createConnection(options, { reconnect: false }); | ||
this._connection.once('ready', function() { | ||
@@ -79,0 +79,0 @@ var exchange = options.exchange || 'amq.fanout'; |
@@ -9,4 +9,4 @@ /** | ||
this.topic = deliveryInfo.routingKey.replace(/\./g, '/'); | ||
this.headers = {}; | ||
if (deliveryInfo.contentType) { headers['content-type'] = deliveryInfo.contentType; } | ||
this.headers = headers; | ||
if (deliveryInfo.contentType) { this.headers['content-type'] = deliveryInfo.contentType; } | ||
// TODO: only set body if it has been parsed, otherwise set `data` | ||
@@ -13,0 +13,0 @@ this.body = message; |
{ | ||
"name": "antenna-amqp", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "AMQP adapter for Antenna.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13641