showSCAImportJMSBinding command
Use the showSCAImportJMSBinding command to show the attributes of a JMS import binding. This applies to JMS bindings, WebSphere® MQ JMS bindings, and Generic JMS bindings.
The showSCAImportJMSBinding command displays the attributes of a JMS 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.
Note: The
list of attributes will vary, depending on the application type and
application version.
Location
Start the wsadmin scripting client from the install_root/profiles/deployment_manager_profile/bin directory.
Syntax
showSCAImportJMSBinding
-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
- response.connection.factory
- failed.event.replay.connection.factory
- send.destination
- receive.destination
- activation.specification
- listener.port
Note: The output varies, depending on whether the binding is JMS, Generic JMS, or WebSphere MQ JMS. For example, for Version 7 applications, information about listener ports is displayed only for Generic JMS bindings. - -showAdvanced
- Specify true to display all the attributes, including the read-only ones.
Example
To list the attributes of a JMS import binding called Import1 in a module called MyMod for use in
another
script:
AdminTask.showSCAImportJMSBinding('[-moduleName MyMod -import Import1 -javaFormat true]')
Tip: To see formatted output, add the print statement before the command