Adding a New Broker in Message Oriented Middleware
The broker is the heart of Message Oriented Middleware. It routes and delivers messages, authenticates users, and gathers data for monitoring performance. It supports connection services layered on top of several wire protocols to establish connections to both application clients and administration clients.
Prerequisites
• Message Oriented Middleware installed
• Base URI created in LDAP
• New Object Store added in Message Oriented Middleware
Procedure
You must manually enter the following property information.
Name
|
Value
|
Host
|
localhost
Example: sin-kownc.ptcnet.ptc.com
|
Primary Port
|
7676
|
Username
|
admin
|
Password
|
admin
|
To add a new broker (for Windows):
1. Run <MessageOrientedMiddleware_HOME>\mq\bin\run\imqadmin.exe
2. Add a new broker by right-clicking Brokers in the console area of Message Oriented Middleware. The label GatewayBroker is used in this example. Use your desired label.
3. Add the property values provided in the table into the Broker Properties window as shown in the following figure.
4. In a terminal window, navigate to the directory containing the message queue executables.
Platform | Location |
Solaris | /usr/bin/ |
Linux | /opt/imq/bin/ |
Windows | IMQ_Home/mq/bin/ |
5. Run the broker by entering the following startup command.
imqbrokered —tty
The -tty option causes all logged messages to display on the terminal console (in addition to the log file). The broker starts and eventually displays the message: imqbroker@host:7676 ready. It is now available for clients to use.