Use the modifySCAImportMQBinding command
to change the attributes of a WebSphere® MQ
import binding.
Before you begin
The modifySCAImportMQBinding command
is run using the AdminTask object of the wsadmin scripting client.
Use
the following command to list all the SCA administrative commands.
wsadmin> $AdminTask help SCAAdminCommands
Use
the following command to get detailed help on a particular command.
wsadmin> $AdminTask help command_name
Syntax
$AdminTask modifySCAImportMQBinding { parameters }
Purpose
The modifySCAImportMQBinding command
changes the JNDI name of one or more of the resources associated with
a WebSphere MQ import
binding.
- Command name
- modifySCAImportMQBinding
- Target
- None.
- Result
- The following circumstances cause an SCACommandException to
be thrown:
- A resource of an invalid type is specified.
- A resource is specified that does not exist.
Parameters
- moduleName
- A mandatory, unmodifiable parameter that specifies the name of
the module to which the import binding belongs.
- import
- A mandatory, unmodifiable parameter that specifies the name of
the import.
- applicationName
- An optional, unmodifiable parameter that specifies the name of
the application.
- connectionFactory
- An optional parameter that specifies the JNDI name of the connection
factory.
- sendDestination
- An optional parameter that specifies the JNDI name of the send
destination.
- listenerPort
- An optional parameter that specifies the JNDI name of the listener
port.
Example
Change the send destination of a WebSphere MQ import binding
called Import1 in a module called MyMod to MyDest:
wsadmin> $AdminTask modifySCAImportMQBinding {-moduleName MyMod
-import Import1 -sendDestination MyDest}