Using JMS with Oracle TopLink Remote Command Module (RCM) from JDeveloper 10.1.3 (Doc ID 371676.1)

Last updated on AUGUST 04, 2016

Applies to:

Oracle JDeveloper - Version: 10.1.3.0.4 and later   [Release: and later ]
Oracle TopLink - Version: 10.1.3.1 to 10.1.3.5   [Release: AS10gR3 to AS10gR3]
Information in this document applies to any platform.

Goal

In order to use JMS with Oracle TopLink Remote Command Module (RCM) from JDeveloper 10.1.3, it is required to configure the sessions.xml file as described in the following How-To document.
JMS with Oracle TopLink Remote Command Module (RCM)

<remote-command>
  <channel>TopLinkCommandChannel</channel>
  <commands>
    <cache-sync>true</cache-sync>
  </commands>
  <transport xsi:type="jms-topic-transport">
    <on-connection-error>DiscardConnection</on-connection-error>
    <!-- URL of the JMS host, this is a REQUIRED tag >
    <topic-connection-factory-name>jms/TopLinkTopicConnectionFactory</topic-connection-factory-name>
    <topic-name>jms/TopLinkTopic</topic-name>
    <!-- JNDI properties to lookup service on the JMS host -->
    <jndi-naming-service>
      <!-- URL of the local host. In JMS, the local host URL is optional and is
           used by logging to trace the message sender for debugging purposes. -->
      <url>ormi://192.168.1.1:23791</url>
      <user-name>jms_user</user-name>
      <password>the_password</password>
      <initial-context-factory-name>com.evermind.server.rmi.RMIInitialContextFactory</initial-context-factory-name>
    </jndi-naming-service>
  </transport>
</remote-command>

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms