showSCAExportMQBinding command
Use the showSCAExportMQBinding command to show the attributes of a WebSphere® MQ export binding.
The showSCAExportMQBinding command displays the attributes of a WebSphere MQ export binding as a java.util.Hashtable containing the usage and the JNDI name of each of the resources associated with this binding.
The format of the output is specified by the javaFormat parameter.
Location
Start the wsadmin scripting client from the install_root/profiles/deployment_manager_profile/bin directory.
Syntax
showSCAExportMQBinding
-moduleName moduleName
-export export_name
[-applicationName applicationName]
[-javaFormat]
[-showAdvanced]
Required parameters
- -moduleName moduleName
- The name of the SCA module associated with the export.
- -export export
- The name of the export.
Optional parameters
- -applicationName applicationName
- The name of the application.
- -javaFormat
- The output format. Specify false for human-readable text or
true for keys in the following format:
- connection.factory
- send.destination
- listener.port
- callback.destination
- receive.destination
- activation.specification
Note: The output varies, depending on the version of the application. For example, for Version 6 applications deployed to a Version 7 runtime environment, information about listener ports is displayed. - -showAdvanced
- Specify true to display all the attributes, including the read-only ones.
Example
To list the attributes of a WebSphere MQ export
binding called Export1 in a module called MyMod for use in another
script:
AdminTask.showSCAExportMQBinding('[-moduleName MyMod -export Export1 -javaFormat true]')
Tip: To see formatted output, add the print statement before the command