This topic applies only to the IBM Business Automation Workflow Advanced
configuration.

modifySCAImportMQBinding command

Draft comment:
This topic only applies to BAW, and is located in the BAW repository. Last updated on 2025-03-13 12:15
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.
Draft comment:
Need a Prerequisites section. Does this command run in connected or not connected mode? If it runs in connected mode, include security role information. Make clear if the role is a BPM or WAS role. For a wsadmin command that runs in connected mode, you must specify the user and password parameters in the syntax and example.

Location

Draft comment:
Is this correct?

Start the wsadmin scripting client from the install_root/profiles/deployment_manager_profile/bin directory.

Syntax

modifySCAImportMQBinding
-moduleName moduleName
-import import_name
[-applicationName applicationName]
[-connectionFactory connectionFactoryName]
[-sendDestination sendDestinationName]
[-receiveDestination receiveDestinationName]
[-activationSpec activationSpecName]
[-listenerPort listenerPortName]

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.
-receiveDestination receiveDestinationName
The JNDI name of the receive destination.
-activationSpec activationSpecName
The JNDI name of the activation specification.
Note: 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.
Note: 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:
AdminTask.modifySCAImportMQBinding('[-moduleName MyMod -import Import1 -sendDestination MyDest]')