code: public static void declareGlobalExchanges( String domain, Channel channel )
  	throws IOException {
  
  		// "topic" is a keyword for RabbitMQ.
  		channel.exchangeDeclare( buildExchangeNameForTheDm( domain ), "topic" );
  		channel.exchangeDeclare( buildExchangeNameForInterApp( domain ), "topic" );
  	}
docs: Declares the global exchanges (those that do not depend on an application).
  <p>
  It includes the DM exchange and the one for inter-application exchanges.
  </p>
  
  @param channel the RabbitMQ channel
  @throws IOException if an error occurs