Unify Integrations
Logo
Oracle AQ

Oracle AQ

Logo

3 mins READ

Using Oracle Advanced Queuing (Oracle AQ) enables your organization to build robust, event-driven applications. Oracle AQ allows you to integrate messaging and queuing functionalities directly into your Oracle database, providing reliable message delivery, guaranteed message ordering.

Integrating your application with Oracle AQ helps manage asynchronous communication, event notifications, and workflow automation seamlessly.

Authentication

Before you begin, make sure you have the following information:

  • Connection Name: Choose a meaningful name for your connection. This name helps you identify the connection within your application or integration settings. It could be something descriptive like "MyAppOracleAQ".

  • Host Address: The Oracle database host’s IP address or DNS.

    Thumbnail

    Note

    For URL-based hostnames, exclude the http:// or https:// part. For example, if the hostname URL is https://oracledb-qa.xxxx.ap-south-1.rds.amazonaws.com, enter oracledb-qa.xxxx.ap-south-1.rds.amazonaws.com.

  • Port Number: The port on which your Oracle server listens for connections. Default value: 1521.

  • User: The authenticated user who has the permissions to read tables in your database.

  • Password: The password for the database user.

  • SID or Service Name : The unique name identifying your specific database instance on the server. To retrieve the Service Name, open your Oracle server in any SQL client tool as a database user with SYSDBA privilege and enter the following command:

       select name from v$database;

  • PDB Name: The Pluggable Database name. This field appears, and is required, when the CDB Database toggle is on.

  • Schema Name: This represents the schema or user namespace within the Oracle database that contains tables, views, and other database objects.

  • Connection: Choose Directly (the default) to connect straight to your Oracle database host, or Via SSH to connect through an SSH tunnel. An SSH tunnel adds a level of security because your Oracle setup isn't exposed to the public. If you choose Via SSH, fill in these fields:

  • SSH Host: Enter the hostname or IP address of the SSH server that acts as the gateway to your database. Example: ssh.example.com or 203.0.113.1

  • SSH Port: Specify the port number on which the SSH server is listening. Default is usually 22, but it may be different for security reasons.

  • SSH User: Provide the username for authenticating with the SSH server. This is typically the user account on the remote server with necessary permissions.

  • RSA Private Key: Provide the RSA private key corresponding to the public key stored on the SSH server. 

  • Client Certificate: Shown when SSL Secure is on. Obtain a valid client certificate issued by a trusted Certificate Authority (CA). This certificate authenticates your client to the database server.

  • SSL Certificate Key:This is the private key corresponding to your client certificate.

  • Server Certificate: Obtain the database server's SSL certificate. This certificate verifies the server's identity to your client. Often provided by your database administrator or hosting service. 

The form also has these toggles:

  • CDB Database: On by default. Keep it on if your database is a Container Database (CDB); the required PDB Name field then appears. Turn it off for a non-CDB database.

  • SSL Secure: On by default. Connects over an SSL-encrypted connection. When it's on, the form shows the Server certificate, Client certificate and SSL certificate key fields, and two more toggles:Trust all: Forces the client to trust any certificate chain. Self-signed server certificates are supported.Verify host: Checks the name stored in the server certificate against the domain name.

Actions

Action NameDescription
Create queue tableCreates a queue table in Oracle AQ.
Alter queue tableAlters a queue table in Oracle AQ.
Drop queue tableDrops a queue table in Oracle AQ.
Purge queue tablePurges a queue table in Oracle AQ.
Migrate queue tableMigrates a queue table in Oracle AQ.
Publish messagePublishes a message in Oracle AQ.
Publish messagesPublishes a batch of messages in Oracle AQ.
Subscribe messageSubscribes to a message from Oracle AQ.