IBM Business Process Manager, V8.0.1, All platforms > Reference > Commands and scripts > Commands (wsadmin scripting)

modifySCAImportJMSBinding command

Use the modifySCAImportJMSBinding command to change the attributes of a JMS import binding. This applies to JMS bindings, WebSphere MQ JMS bindings, or 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:

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 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.

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:

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