The metal detector DSP-FOOD INLINE serves to detect metal pieces in paste-like or liquid products and is integrated into the conveyor pipes (e. g. with milk pipe fittings). The metal pieces are transferred out of the pipe by means of three-way-special-valves.