Caravan of migrants throws rocks at immigration officials