refactor: make 'reject' arg order consistent with 'ack' et al
cherry-picked from bug24297
merge default into bug24297