Function to bind exchanges to exchanges.