IBM Business Process Manager, V8.0.1, All platforms > Reference > Commands and scripts > Commands (wsadmin scripting)
modifySCAImportMQBinding command
Use the modifySCAImportMQBinding command to change the attributes of a WebSphere MQ import binding.
The modifySCAImportMQBinding command changes the JNDI name of one or more of the resources associated with a WebSphere MQ import binding.
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.
After using the command, save your changes to the master configuration using one of the following commands:
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.
- -connectionFactory connectionFactoryName
- The JNDI name of the connection factory.
- -sendDestination sendDestinationName
- The JNDI name of the send destination.
- -activationSpecification activationSpecName
- The JNDI name of the activation specification.
This parameter is valid only for Version 7 applications that have been deployed to the runtime environment.
- -listenerPort listenerPortName
- The JNDI name of the listener port.
This parameter is valid only for Version 6 applications that have been deployed to the runtime environment.
Example
To change the send destination of a WebSphere MQ import binding called Import1 in a module called MyMod to MyDest:
- Jython example:
AdminTask.modifySCAImportMQBinding('[-moduleName MyMod -import Import1 -sendDestination MyDest]')- Jacl example:
$AdminTask modifySCAImportMQBinding {-moduleName MyMod -import Import1 -sendDestination MyDest}
Parent topic: Commands (wsadmin scripting)
Related information:
![]()
Obtaining online help using wsadmin scripting
![]()
Administrative command invocation syntax using wsadmin scripting
![]()
Use the wsadmin scripting tool
![]()
Jython script library