As already mentioned explosives, hatchets and snipers all can make short work of the medics leaving the rest vulnerable. If they are all camping in an area get someone using the goggles to tag targets - very few will be running wallflower - so you can quick pop around a corner and eliminate them one by one. It's not really that difficult to combat teams that are camping due to all the mobility options you have over them - failing that if your team is co-ordinated and you are struggling get everyone to switch to an explosives based loadout and keep chucking them - no amount of medics can take sustained bombings.
If anything the teams that roam around as a unit with 2 medics being covered by a couple of hard target Mightys are the ones you want to watch out for - nothing short of a well co-ordinated attack will take that down and even then you'e gotta make sure enemies that have just respawned don't quickly rejoin the unit.












™
™