[progress Communities] [progress Openedge Abl] Forum Post: Re: Cannot Make Jms Connection...

  • Thread starter Thread starter Anand Adike
  • Start date Start date
Status
Not open for further replies.
A

Anand Adike

Guest
Hi Philf, Follow the below steps in order to connect ActiveMQ from ABL via PASOE server. 1) Update the $DLC/properties/AdminServerPlugins.properties file with ActiveMQ configuration as shown below: [PluginPolicy.Progress.SonicMQ] pluginclasspath=${DLC}/java/progress.jar,${DLC}/java/ext/activemq-all-5.14.0.jar classpath=${DLC}/java/progress.jar,${DLC}/java/ext/activemq-all-5.14.0.jar jvmargs=-DsonicMQExtensions=false -DjmsProvider=ActiveMQ 2) After updating the above properties stop and start the AdminServer. 3) Start the sonicMQ1 adapter using the following command from proenv. proenv>adaptman -i sonicMQ1 -start 4) Create the PASOE instance and start it 5) Copy the Producer/Consumer code in /openedge/ directory and use the following URL in Producer/Consumer to connect sonicMQ1 adapter. RUN jms/jmssession.p PERSISTENT SET ptpsession ("-H localhost -S 5162 -AppService AD.sonicMQ1"). 6) Execute the client request as shown below. DEFINE VARIABLE happsrv AS HANDLE NO-UNDO. CREATE SERVER happsrv. IF happsrv:CONNECT(" -URL http://localhost:8810/apsv -sessionModel Session-free ") THEN DO : RUN Producer.p ON happsrv. happsrv:DISCONNECT(). END. DELETE OBJECT happsrv. Hope this helps!! Thanks, Anand.

Continue reading...
 
Status
Not open for further replies.
Back
Top