noodlefrenzy / node-amqp10

amqp10 is a promise-based, AMQP 1.0 compliant node.js client
MIT License
134 stars 56 forks source link

Allow link address to be overridden in createSender()/createReceiver() #278

Closed princjef closed 8 years ago

princjef commented 8 years ago

Addresses #277 by reordering the policy merge parameters on createSender() and createReceiver(). With this change, it is possible to override the source address to be overridden on createSender() and the target address on createReceiver(). This is relevant for use cases such as AMQP request/response.

The opposite address can already be overridden by other means, so it was not moved.

princjef commented 8 years ago

superseded by #279