Craig Bellamy has confirmed he will quit international football after Wales' final World Cup qualifiers.