Rotary reactor and use thereof