Oracle Error ORA-32834: Messaging Gateway agent user has not been set

Oracle Error Message

ORA-32834: Messaging Gateway agent user has not been set

Reason for the Error

A Messaging Gateway agent user has not been configured.

Solution

Create a database user having role MGW_AGENT_ROLE and issue DB_CONNECT_INFO to configure an agent user.