Create a serialized connection object
- Last Updated: January 17, 2024
- 3 minute read
- OpenEdge
- Version 12.8
- Documentation
A serialized connection object contains
all the connection information required by a client to connect to
a SonicMQ Broker, including userid and password. A SonicMQ administrator
creates the serialized connection object as a file using the Sonic
Management Console and provides the serialized connection object to
the OpenEdge client. The OpenEdge client uses the setConnectionFile procedure with the file containing the serialized connection
object when creating the messaging session.
The serialized connection object file is used when connecting to a SonicMQ Broker. The following example shows how to use the serialized connection object file MyConnectionObject.sjo:
|
To create a serialized connection object file, follow these steps:
- Ensure the Domain Manager for SonicMQ is running.
- Ensure the Sonic Management Console is started and connected to the Domain Manager.
- On the Sonic Management Console menu bar, select Tools and then JMS Administered objects.
- Select the File System and navigate
to the Directory you want the serialized connection
object file to reside, as shown:
- Select the Connect button.
- In the left pane, select the Object Store directory that you created and
then select the Connection Factories tab, as
shown:
- Select the New button and enter the
required connection information for Lookup Name (name
of serialized connection object file), Connection
URL(s), Default User Name, Default Password, and Confirm
Password, as shown:
Note: All other information is optional for the connection object. - Select Update. The serialized
connection object appears an entry, as shown:
The serialized connection object file MyConnectionObject.sjo exists in the Object Stores specified directory. An OpenEdge client uses the file MyConnectionObject.sjo to connect to the SonicMQ Broker.
|