Consultor Eletrônico



Kbase 20167: SonicMQ: Error using Admin Tool Command "set topic"
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   6/14/2001
SUMMARY:

This solution applies to Progress SonicMQ Versions 2000.x and 3.x, and
discusses an error which may be encountered when using the Admin
tool's "set topic" command, as well as the difference in usage between
the "set topic" and "set queue" commands.

EXPLANATION:

The Admin tool or Admin shell is a command line tool for administering
the SonicMQ messaging system. It can be used to manage message brokers
and JMS administered object stores.

A common misconception is that the Admin shell commands "set topic"
and "set queue" have analogous functions. This leads some users to try
to create a topic with the command "set topic <topic name>". If
security has not been enabled on the broker, attempts to use the "set
topic" command result in the following error:

Error: Either the broker does not have security enabled
or you do not have authorization for the attempted
operation.

The "set queue" and "set topic" commands have different functions.
A queue must be created on the broker as well as on the JMS client
before it can be used for messaging. Thus, the "set queue" command
affords the ability to create a queue on the broker. There is no
corresponding need to create a topic on the broker; the "set topic"
command is used to set the Quality of Protection of the specified
topic, and so only applies to security-enabled brokers.

In SonicMQ 3.x, the "set topic" command was replaced with "set topic
qop" to make its functionality explicit.


References to Written Documentation:

SonicMQ 2000.1 Administration and Installation Guide:
Chapter 4, Command-line Administration Tool

SonicMQ 3.0 Administration and Installation Guide:
Chapter 4, Command-line Administration Tool

SonicMQ 3.5 Administration and Installation Guide:
Chapter 5, Command-line Administration Tool

Sonic Knowledge Base Solution 21082:
SonicMQ: Error using Admin Tool Command "show topics"