Juan Antonio Flecha, the Spaniard who finished in the top 10 at Paris-Roubaix on no fewer than eight occasions, is to retire at the end of the season.