Auto publish Events when Command is received on a Component