Gun part which throws out empty shell cases after firing (7)
I believe the answer is:
ejector
(Other definitions for ejector that I've seen before include "A bouncer" , "Something or someone that throws out" , "Device throwing something out" , "One throwing out" , "Expulsive device" .)