Oracle Solution for Error ora-32834

Solution for Oracle Error ORA-32834

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

What triggered the Error:

A Messaging Gateway agent user has not been configured.

What should we do to fix it:

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