WebSphere WebSphere Application Server Network Deployment, Version 6.1.x Operating Systems: AIX, HP-UX, i5/OS, Linux, Solaris, Windows, z/OS

Listing a message store using command line

Before you begin

These example scripts provide an alternative to using the administrative console.

To run the command, use the AdminTask object of the wsadmin scripting client.

About this task

Perform the following steps to list the message store of a messaging engine:

Procedure

  1. Assign your messaging engines a variable name, for example, mengines:
    • Using Jacl:

      set mengines [$AdminConfig list SIBMessagingEngine]
    • Using Jython:
      mengines = AdminConfig.list('SIBMessagingEngine')
  2. Identify the messaging engines whose message store that needs to be listed, for example, me1 with an index number:
    • Using Jacl:

      set me1 [lindex $mengines 0]
    • Using Jython:
      arraymengines = mengines.split(lineSeparator)
      me1 = arraymengines[0]
  3. Assign themessage store of the selected messaging engines a variable name:
    • Using Jacl:

      $AdminConfig showAttribute $me1 messageStoreType
    • Using Jython:
      AdminCofig.showAttribute(me1, 'messageStoreType')

Task topic

Terms of use | Feedback


Timestamp icon Last updated: 26 February 2009
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=/com.ibm.websphere.pmc.nd.multiplatform.doc/tasks/tjm_cmd_list.html

Copyright IBM Corporation 2004, 2009. All Rights Reserved.
This information center is powered by Eclipse technology. (http://www.eclipse.org)