Verifying Administered Objects

Now that you have created two iMQ administered objects, you may want to make sure that they exist by listing and querying them in jmqadmin.

When you select the "my object store" node in the navigational pane, you will see that the counts for both the Destinations and Connection Factories are incremented to1 in the results pane.  This indicates that there are one Destination object and one Connection Factory object available in the store.


Figure 9: Objects in Object Store
 

Select Destinations in the navigational pane to see the list of destination objects that are currently available in this object store.


Figure 10: Destinations in Object Store
 

Select Connection Factories in the navigational pane to see the list of connection factory objects that are currently available in this object store.


Figure 11: Connection Factories in Object Store
 

If you want to query or update an object, do the following.

  1. Select the object in the results pane.
  2. Choose Actions -> Properties.


This brings up the appropriate dialog for the selected object.


Figure 12: Query/Update an Object
 

Tips for jmqobjmgr Users:
If you want to list connection factories and destinations, execute the following command.
jmqobjmgr list
   -j "java.naming.factory.initial=com.sun.jndi.fscontext.RefFSContextFactory"
   -j "java.naming.provider.url=file:///d:/mytemp"

If you want to query the Queue object, execute the following command.
jmqobjmgr query -l myQueue
   -j "java.naming.factory.initial=com.sun.jndi.fscontext.RefFSContextFactory"
   -j "java.naming.provider.url=file:///d:/mytemp"
 

<<Back <<     >> Next>>     <<Return to TOC>>