domain/exchange.js
function Exchange(client, channel){
  EE.call(this);
  this.client = client;
  this.channel = channel;
  this.id = channel.$getId();

  return this;
}
function Exchange(client, channel){
  EE.call(this);
  this.client = client;
  this.channel = channel;
  this.id = channel.$getId();

  return this;
}
function Exchange ( client , channel ) { EE . call ( this ) ; this . client = client ; this . channel = channel ; this . id = channel . $getId ( ) ; return this ; }
Work with exchanges.

Exchanges match and distribute messages across queues.
Exchanges can be configured in the server or declared at runtime.
@extends EventEmitter
@param {BRAMQPClient} client Client object that returns from bramqp#openAMQPCommunication() method.
@param {Channel} channel Channel object (should be opened).
@return {Exchange}
@constructor
Work with exchanges .