the invention relates to a method for producing a membrane module , comprising a plurality of elongated filter elements disposed in parallel adjacent to one another , each element comprising a longitudinal channel , a housing enclosing the filter elements , and a collector chamber between the housing and the filter elements .