showSCAImportMQBinding command
Use the showSCAImportMQBinding command to show the attributes of a WebSphere® MQ import binding.
The showSCAImportMQBinding command displays the attributes of a WebSphere MQ import 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
showSCAImportMQBinding
-moduleName moduleName
-import import_name
[-applicationName applicationName]
[-javaFormat]
[-showAdvanced]
Required parameters
- -moduleName moduleName
- The name of the SCA module associated with the import.
- -import import
- The name of the import.
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 import
binding called Import1 in a module called MyMod for use in another script:
AdminTask.showSCAImportMQBinding('[-moduleName MyMod -import Import1 -javaFormat true]')
Tip: To see formatted output, add the print statement before the command