Sun GlassFish Message Queue 4.4 Administration Guide

Modifying Administered Object Attributes

To modify the attributes of an administered object, use the imqobjmgr update subcommand. You supply the object’s lookup name and location, and use the -o option to specify the new attribute values.

Example 11–8 changes the value of the imqReconnectAttempts attribute for the queue connection factory that was added to the object store in Example 11–1.

Example 11–8 Modifying an Administered Object’s Attributes

imqobjmgr update
   -l "cn=myQCF"
   -j "java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory"
   -j "java.naming.provider.url=ldap://"
   -j ",ou=People,o=imq"
   -j ""
   -j ""
   -t qf
   -o "imqReconnectAttempts=3"