Try OpenEdge Now
skip to main content
Messaging and ESB
Programming for the OpenEdge Adapter for SonicMQ with the ABL - JMS API : Pub/Sub messaging example : Connecting to the broker
 

Connecting to the broker

The OpenEdge application connects to the SonicMQ Broker to begin exchanging messages, as follows:

Connecting to the broker

RUN setBrokerURL IN hPubSubSession ("tcp://machinename:2506").
RUN beginSession IN hPubSubSession.