<p>A device and a method for dosing compounds and especially foamed compounds to a dosage target location. The device has at least one unit with respective pumps and nozzles that are fluidically interconnected. The pump is a rotary pump with at least one rotary element arranged to rotate inside a pump chamber.</p>