This invention relates to a device and a method for sampling of milk. The
device includes a collecting member (15, 15') arranged to receive milk
samples from a milk line (1), which is arranged to transport milk from
one animal (3) at a time, and a passage (8a, 12'', 13) arranged to allow
a milk flow from the milk line (1) to the collecting member (15, 15').
The device comprises flow means (11, 19) arranged to provide a milk flow,
from the animal (3), through at least a part of the passage (8a, 12'',
13) at least a time period before a milk sample is to be taken in order
to rinse at least the part of the passage (8a, 12'', 13) from milk
residues from a previously milked animal.