P
prmundra
Guest
RUN jms/pubsubsession.p persistent SET hPubSubSession ("-H localhost -S 5162 "). Above statement makes use of the NameServer to search the Sonic Adapter service The statement is commented out in your case which is causing the error message. An alternative to skipping NameServer and connecting directly to the Sonic Adapter Broker is using DirectConnect: RUN jms/pubsubsession.p persistent SET hPubSubSession ("-H localhost -DirectConnect -S 3620 -AppService sonicMQ1,,"). The statement: RUN setBrokerURL IN pubsubsession (INPUT "tcp://localhost:61616"). is a directive for the Generic Adapter to connect to the ActiveMQ url as given in the Input. So, to summarize the process is 2 step: 1) Connect to the Generic JMS Adapter (either directly or via NameServer) 2) Tell JMS Adapter the ActiveMQ connection url using the setBrokerURL method. RUN setBrokerURL IN hPubSubSession ("tcp://sampleHost:61616"). - See more at: https://community.progress.com/community_groups/openedge_development/f/19/t/18471/reply.aspx?tsid=53736244-54ac-4fd5-af70-661c6a90ea89#sthash.aV3E8COK.dpuf RUN setBrokerURL IN hPubSubSession ("tcp://sampleHost:61616"). - See more at: https://community.progress.com/community_groups/openedge_development/f/19/t/18471/reply.aspx?tsid=53736244-54ac-4fd5-af70-661c6a90ea89#sthash.aV3E8COK.dpuf
Continue reading...
Continue reading...