This topic applies only to the IBM Business Process Manager Advanced configuration.

modifySCAImportJMSBinding command

Use the modifySCAImportJMSBinding command to change the attributes of a JMS import binding. This applies to JMS bindings, WebSphere® MQ JMS bindings, and Generic JMS bindings.

The modifySCAImportJMSBinding command changes the JNDI name of one or more of the resources associated with a JMS import binding.

The following circumstances cause an SCACommandException to be thrown:
  • The module has no binding of the type specified.
  • A resource of an invalid type is specified.
  • A resource is specified that does not exist.

Location

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

Syntax

modifySCAImportJMSBinding
-moduleName moduleName
-import import_name
-type JMS | MQJMS | generic
[-applicationName applicationName]
[-connectionFactory connectionFactoryName]
[-connectionFactoryFailedEventReplay connectionFactoryName]
[-connectionFactoryResponse connectionFactoryName]
[-sendDestination sendDestinationName]
[-activationSpec activationSpecName]
[-listenerPort listenerPortName]

Required parameters

-moduleName moduleName
The name of the module associated with the import.
-import import
The name of the import.
-type jmsType
The type of binding. Valid values are JMS, MQJMS, or generic.

Optional parameters

-applicationName applicationName
The name of the application.
-connectionFactory connectionFactoryName
The JNDI name of the connection factory.
-connectionFactoryFailedEventReplay connectionFactoryName
The JNDI name of the failed event replay connection factory.
Note: This parameter is valid only if the type parameter is set to JMS or MQJMS and a Version 7 application has been deployed to the runtime environment.
-connectionFactoryResponse connectionFactoryName
The JNDI name of the response connection factory. This parameter is valid only in the following circumstances:
  • The type parameter is set to generic
  • The type parameter is set to MQJMS and a Version 6 application has been deployed to the runtime environment.
-sendDestination sendDestinationName
The JNDI name of the send destination.
-activationSpec activationSpecName
The JNDI name of the activation specification. This parameter is valid only in the following circumstances:
  • The type parameter is set to JMS
  • The type parameter is set to MQJMS and a Version 7 application has been deployed to the runtime environment.
-listenerPort listenerPortName
The JNDI name of the listener port. This parameter is valid only in the following circumstances:
  • The type parameter is set to generic
  • The type parameter is set to MQJMS and a Version 6 application has been deployed to the runtime environment.

Example

To change the send destination of a JMS import binding called Import1 in a module called MyMod to MyDest:
AdminTask.modifySCAImportJMSBinding('[-moduleName MyMod 
-import Import1 -type JMS -sendDestination MyDest]')