create exchange with config