Use the modifySCAExportMQBinding command
to change the attributes of a WebSphere® MQ
export binding.
Before you begin
The modifySCAExportMQBinding 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 modifySCAExportMQBinding { parameters }
Purpose
The modifySCAExportMQBinding command
changes the JNDI name of one or more of the resources associated with
a WebSphere MQ export
binding.
- Command name
- modifySCAExportMQBinding
- 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 export binding belongs.
- export
- A mandatory, unmodifiable parameter that specifies the name of
the export.
- 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 export binding
called Export1 in a module called MyMod to MyDest:
wsadmin> $AdminTask modifySCAExportMQBinding {-moduleName MyMod
-export Export1 -sendDestination MyDest}