modifySCAExportJMSBinding command
Use the modifySCAExportJMSBinding command
to change the attributes of a JMS export binding. This command applies
to JMS bindings, WebSphere® MQ
JMS bindings, and Generic JMS bindings.
The modifySCAExportJMSBinding command changes the JNDI name of one or more of the resources associated with a JMS export 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
modifySCAExportJMSBinding
-moduleName moduleName
-export export_name
-type JMS | MQJMS | generic
[-applicationName applicationName]
[-connectionFactory connectionFactoryName]
[-connectionFactoryResponse connectionFactoryName]
[-connectionFactoryFailedEventReplay 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. This parameter is valid only in the following
circumstances:
- The type parameter is set to
generic - The type parameter is set to
MQJMSand a Version 6 application has been deployed to the runtime environment.
- The type parameter is set to
- -connectionFactoryResponse connectionFactoryName
- The JNDI name of the response connection factory.
- -connectionFactoryFailedEventReplay connectionFactoryName
- The JNDI name of the failed event replay connection factory. This parameter is valid only if the
type parameter is set to
JMSorMQJMSand a Version 7 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
MQJMSand a Version 7 application has been deployed to the runtime environment.
- The type parameter is set to
- -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
MQJMSand a Version 6 application has been deployed to the runtime environment.
- The type parameter is set to
Example
To change the send destination of a JMS export binding called Export1 in a module called MyMod to
MyDest:
AdminTask.modifySCAExportJMSBinding('[-moduleName MyMod
-export Export1 -type JMS -sendDestination MyDest]')