A veteran Chinese state media journalist has been sentenced to seven years jail for espionage.