The best thing you could do is what jbgibson suggested, make the marsh a low lying part of the river, so the river enters the swamp, meanders through it, and then drains it out the other side.