Try OpenEdge Now
skip to main content
Messaging and ESB
Working with the Generic JMS Adapter : Configuring and administering the Generic JMS Adapter : Setting your JMS Provider for Generic Adapter Broker
 

Setting your JMS Provider for Generic Adapter Broker

Once you have added the JMS provider you want to use, you must set the JMS provider to use the Generic JMS adapter by default.
In the %DLC%\properties path, open the AdminServerPlugins.properties file and update the jvmargs property in the PluginPolicy.Progress.SonicMQ property section as follows:
PluginPolicy.Progress.SonicMQ]

pluginclasspath=C:\Progress115\OpenEdge/java/progress.jar,
C:\PROGRA~2\IBM\WEBSPH~1\java\lib\com.ibm.mqjms.jar

classpath=C:\Progress115\OpenEdge/java/progress.jar,
C:\PROGRA~2\IBM\WEBSPH~1\java\lib\com.ibm.mqjms.jar

jvmargs=-DsonicMQExtensions=false -DjmsProvider=WebSphereMQ
The sonicMQExtensions property indicates whether to use the new adapter. You can set this property as -DsonicMQExtensions=false to use the generic JMS adapter as the JMS provider or set as -DsonicMQExtensions=true to use SonicMQ as the JMS provider.
Note: The value for the -DjmsProvider property must match the name of the JMS provider specified in the jmsProvider.properties file.