A brewing machine includes a brewing chamber delineated by first and
second parts (12, 20) that can move relative to one another between
closed and open positions, and a device for ejection of a portion of the
infused product including an ejection element that can be moved by an
actuating mechanism. A retractable flap is mounted to be able to move on
the ejection element. The actuating mechanism moves the ejection element
back from the chamber in the closed position, and during passage to the
open position controls the forward motion of the ejection element
parallel to the plane of the contact surface of the first and second
parts, during which the flap is retracted upon contact with the portion,
and a return movement during which the flap is in the holding position
and drives the portion to outside of the brewing chamber.