Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

Fix name of annotation parameter to amqp10 library #21

Merged
merged 1 commit into from Mar 31, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion send_receive/lib/sender.js
Expand Up @@ -54,7 +54,7 @@ util.inherits(EventHubSender, EventEmitter);
EventHubSender.prototype.send = function (message, partitionKey) {
var options = null;
if (partitionKey) {
options = {annotations: {'x-opt-partition-key': partitionKey}};
options = {messageAnnotations: {'x-opt-partition-key': partitionKey}};
}
return this._senderLink.send(message, options);
};
Expand Down