func (prod *Spooling) routeToOrigin(msg core.Message) { msg.Route(msg.PrevStreamID) if spool, exists := prod.outfile[msg.PrevStreamID]; exists { spool.countRead() } }