Thailand has come in for a deal of criticism after it declined to join Malaysia and Indonesia in setting up camps for Rohingya refugees.