I have an OracleAQ multiconsumer queue owned by schema A. As explained in the Oracle doc, there are some views (schema.aq$table_name*) to check the status of the queue table.
I can query these views from another schema through plain SQL or PL/SQL code, but not if this code is wrapped inside a package. The package body refuses to compile with a ORA-00942: table or view does not exist
The second schema has all the necessary rights since I can actually query the view from outside the package.