An ejecting mechanism includes a pump, a pump controller unit, a distribution pipe, a restricting unit, and adhesive nozzles. The pump controller unit is configured to control to increase or decrease the amount of adhesive to be taken in by the pump. The distribution unit is configured to send a predetermined amount of adhesive to the adhesive nozzles out of the adhesive supplied by the pump, and to return the rest of adhesive to a discharge pipe out of the supplied adhesive, except for the predetermined amount of adhesive. The restricting unit is configured to disposed between the distribution unit and the discharge pipe and configured to restrict an amount of adhesive to be returned to a pipe.