Try OpenEdge Now
skip to main content
Messaging and ESB Administration : OpenEdge Adapter for SonicMQ Administration : Configuring and administering the OpenEdge Adapter for SonicMQ : Configuring ClientConnect
Configuring ClientConnect
ClientConnect is a process that runs with your ABL client session. In the following example, the application creates a session procedure by calling jmssession.p persistently specifying the -SMQConnect connection parameter:
Table 65. Using SMQConnecton a client example
RUN jms/jmssession.p PERSISTENT SET sessionH ("-SMQConnect").
RUN setBrokerURL IN sessionH ("MQBrokerHost:2506").
RUN beginSession IN sessionH.
The only configuration is for logging and debugging, if necessary. By default, logging is disabled for ClientConnect sessions. Logging is turned on by setting the brkrLoggingLevel and srvrLoggingLevel properties to a value greater than 0, and setting brkrLogEntryTypes=UBroker.Basic (the default).
Note: Logging level represents the amount of logging information written to the log file. Valid logging level values are 1 (Errors), 2 (Basic), 3 (Verbose), and 4 (Extended). The default value is 2. For more information on logging, see OpenEdge Development: Debugging and Troubleshooting.
The property and logging options for ClientConnect are stored in the Adapter.CC.cc1 section of the install-dir/properties/ file. These properties must be modified manually, and are applicable to all OpenEdge clients using ClientConnect functionality.