The invention relates to a mechanized milking machine (10).According to the invention, such a milking machine (10) includes a device (17) for injection under pressure of at least one product for rinsing the pipe (15; 48) for routing of the milked milk from a claw (11) to a milk storage container, and for rinsing this claw (11) and the liners (13) which are connected to it, which is mounted on a section of said routing pipe (15;48) between vacuum cutoff means (16) and said claw (11), said injection device (17) including an enclosure (22) connected to a source of said rinsing product, an opening (410) for communication with said pipe, a flap valve (25; 41) that is mobile between two positions:- a rest position, in which said flap valve (25; 41) is withdrawn from said opening for communication with said pipe, and said opening is freed;- a closing position, in which said flap valve (25; 41) closes the opening for communication with the pipe,and means for actuation of said flap valve.