7.14.5 Creating destinations

This subsection describes the creation of the destinations managed by CJMSP Broker.

The procedure is as follows. The current directory is presumed to have been moved to the following directory:

In Windows

Cosminexus-installation-directory\CC\cjmsp\bin

In UNIX

/opt/Cosminexus/CC/cjmsp/bin

  1. Execute the cjmsicmd create dst command.
    The following are the examples of execution for creating a queue and a topic:
    Example of execution (to create the queue Queue1)
    cjmsicmd create dst -t q -n Queue1
    Example of execution (to create the topic Topic1)
    cjmsicmd create dst -t t -n Topic1

Note that apart from creating a destination using commands, you create a destination using APIs in the applications. For details, see 7.8.2 Destination management and routing services.