Oracle Error ORA-24037: schema string in QUEUE_NAME is not same as schema string in QUEUE_TABLE

Oracle Error Message

ORA-24037: schema string in QUEUE_NAME is not same as schema string in QUEUE_TABLE

Reason for the Error

The schema specified in the QUEUE_NAME parameter of CREATE_QUEUE is not the same as the schema specified in the QUEUE_TABLE parameter.

Solution

Use the same schema name for both the QUEUE_NAME and QUEUE_TABLE parameters and retry the command.