Using Messaging Cloud Service from Oracle Java Cloud Service - SaaS Extension
Complete the following steps to use Messaging Service from Oracle Java Cloud Service - SaaS Extension:
- Subscribe to Oracle Java Cloud Service - SaaS Extension and Oracle Messaging Cloud Service.
- Create a new user in Messaging Cloud Service to use from Oracle Java Cloud Service - SaaS Extension. Assign the
Messaging Worker
role if the application needs to send and receive messages. Assign theMessaging Administrator
role if the application needs to manage resources. See About Oracle Messaging Cloud Service Roles and Users. - Download the Java library (see Downloading the Oracle Messaging Cloud Service Java SDK).
- Package the library with your Java application.
- Write the application code that uses the Java library to create a
ConnectionFactory
object. Use theConnectionFactory
object to obtain other JMS objects to send and receive messages. See Using JMS to Send and Receive Messages. - Deploy the Java application to Oracle Java Cloud Service - SaaS Extension. See Preparing Applications for Oracle Java Cloud Service - SaaS Extension Deployment.