Sun Java System Message Queue 3.7 UR1 Administration Guide

Deleting Administered Objects

To delete an administered object from the object store, you use the delete subcommand of the imqobjmgr command, specify lookup name, type, and location of the object to be deleted. The command shown in Example 8–4 deletes the object that was added in Adding a Destination above.

Example 8–4 Deleting an Administered Object

imqobjmgr delete
   -l "cn=myTopic"
   -j "java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory"
   -j "java.naming.provider.url=ldap://"
   -j ",ou=People,o=imq"
   -j ""
   -j ""
   -t t