Oracle Error ORA-26802: Queue “string”.”string” has messages.

Oracle Error Message

ORA-26802: Queue “string”.”string” has messages.

Reason for the Error

The combined capture and apply optimization could not be used since the queue had messages.

Solution

Make sure queue is empty before starting apply and capture.