Configure new J2C activation specs using scripting
Jacl...
set newra [$AdminConfig getid /Cell:mycell/Node:mynode/J2CResourceAdapter:RAR1/] $AdminTask listMessageListenerTypes $newra $AdminTask createJ2CActivationSpec $newra { -name ac1 -jndiName eis/ac1 -messageListenerType javax.jms.MessageListener }
Jython...
newra = AdminConfig.getid('/Cell:mycell/Node:mynode/J2CResourceAdapter:RAR1/') print newra $AdminTask listMessageListenerTypes $newra AdminTask.createJ2CActivationSpec ( newra, [ '-name', 'ao1', '-jndiName', 'eis/ao1', '-message', 'ListenerType', 'javax.jms.MessageListener' ] )