A method for transmitting optical packets by an optical node (ON1) in an optical network (OR), said optical network (OR) being an optical packet switching network, said optical node (ON1) comprising a first optical transmitter (TX1) and a first optical packet insertion layer (OL1) cooperating with said first optical transmitter (TX1) and comprising a first aggregation stage (AG1), a first traffic shaper (TS1) and a destination queuing stage (D1), the method comprising the following steps: - aggregating of a first data packet (P1) to be transmitted on the optical network (OR) with other data packets (P2; P3) to be transmitted on said optical network (OR), said step of aggregating being performed by the first aggregation stage (AG1) and resulting into a first aggregated packet (AP; AP1) comprising the first data packet (P1), - processing of the first aggregated packet (AP; AP1) by the first traffic shaper (TS1), said first aggregated packet (AP; AP1) being provided by the first aggregation stage (AG1) to the first traffic shaper (TS1), said step of processing by the first traffic shaper (TS1) limiting the number of packets processed by the first destination queuing stage (D1) below a threshold, said threshold being determined from an optical transmitting capacity from the optical node (ON1), - queuing of the first aggregated packet (AP'; AP1') by the first destination queuing stage (D1), said first aggregated packet (AP'; AP1') being provided by the first traffic shaper (TS1) to the first destination queuing stage (D1), said first destination queuing stage processing the first aggregated packet (AP'; AP1') according to a first destination criteria, - providing the first aggregated packet (AP'; AP1') by the first destination queuing stage (D1) to the first optical transmitter (TX1), - transmitting a first optical packet by the first optical transmitter (TX1) on the optical network (OR), said first optical packet comprising the first aggregated packet (AP'; AP1'). - aggregating of a first data packet (P1) to be transmitted on the optical network (OR) with other data packets (P2; P3) to be transmitted on said optical network (OR), said step of aggregating being performed by the first aggregation stage (AG1) and resulting into a first aggregated packet (AP; AP1) comprising the first data packet (P1), - processing of the first aggregated packet (AP; AP1) by the first traffic shaper (TS1), said first aggregated packet (AP; AP1) being provided by the first aggregation stage (AG1) to the first traffic shaper (TS1), said step of processing by the first traffic shaper (TS1) limiting the number of packets processed by the first destination queuing stage (D1) below a threshold, said threshold being determined from an optical transmitting capacity from the optical node (ON1), - queuing of the first aggregated packet (AP'; AP1') by the first destination queuing stage (D1), said first aggregated packet (AP'; AP1') being provided by the first traffic shaper (TS1) to the first destination queuing stage (D1), said first destination queuing stage processing the first aggregated packet (AP'; AP1') according to a first destination criteria, - providing the first aggregated packet (AP'; AP1') by the first destination queuing stage (D1) to the first optical transmitter (TX1), - transmitting a first optical packet by the first optical transmitter (TX1) on the optical network (OR), said first optical packet comprising the first aggregated packet (AP'; AP1'). <EOS>