What i would recommend, is trying out other classes. Basically, make alts, lots of them.
See how it is on the other end of the arrows flight path and you will have an easier time playing an archer as well. Works the other way as well, maybe even better.
Understanding is key.
This.
I must say being ranged killed is often frustrating when it happens in the first two minuts of the round, just because it will prevent you from playing for the next 3 - 4 minuts. After that... Well, this is war. My main is a 2 hander, and if it often happens that I know that I will die by the arrow ( like 10 vs 10 at 6 in the morning : "Oh crap, Tenne, Cheapshot and Everkistus on the other team..." ), but I enjoy myself trying to hide from them or ambush them, ot just sometimes troll-dodging in open field (which is not really a good idea, but hey, what the hell - and don't try this at home ).
And playing an agi runner archer alt lately, I must say I had fun running away from tincans (when I'm not last), or shooting into melee with my crappy nomad bow to get unblocked hits for my teammates. And I still get f****d really often by other archers... So yeah, I hate this, but I get the runners. The only thing is it's often really boring to watch arrows flying randomly for the last 2 minuts of a round ; when I'm last as an archer I try to go to melee asap, or at least alternate (kill one in melee -I still try to have a good PS and melee wpf-, shoot a few arrows at the next one, go back to melee... Eventually try to loot a better weapon).
Same about roofcamping or camping unreachable spots. It's quite normal during a battle, but as soon as there are only a few ppl left, they should just go down, or find other spots (you're an archer ffs, try some hit-and-run guerilla tactics with other archers, camping is just lame and boring "No we don't have to go down, there's still one of our teammates running somewhere reachable on this map."
But in the middle of a round, again, no problem with that, instead, finding a way to get close AND alive to the enemy is part of the game.
My conclusion is : bitch about archers if they really deserve it (no fair play, ...) as you would any other Player, not because they are archers. Try to play as an archer ; when I do I try to go to melee often, but it is exactly the same as, as a 2 hander, dancing in front of a hill covered with archers : you know you'll die fast.
Knowing that, you'll find yourself way more tolerant to sneaky arrows or runaway archers. War's a bitch for all of us.