Configure a new JMS destination
- Identify the parent ID:
set newjmsp [$AdminConfig getid /Cell:cellname/Node:myNode/JMSProvider:JMSP1]
Example output:
JMSP1(cells/cellname/nodes/nodename:resources.xml#JMSProvider_1)- Get required attributes:
$AdminConfig required GenericJMSDestination
Example output:
Attribute Type name String jndiName String externalJNDIName String- Set up required attributes:
set name [list name JMSD1] set jndi [list jndiName jms/JMSDestination1] set extJndi [list externalJNDIName jms/extJMSD1] set jmsdAttrs [list $name $jndi $extJndi]
Example output:
{name JMSD1} {jndiName jms/JMSDestination1} {externalJNDIName jms/extJMSD1}- Create generic JMS destination:
$AdminConfig create GenericJMSDestination $newjmsp $jmsdAttrs
Example output:
JMSD1(cells/cellname/nodes/nodename:resources.xml#GenericJMSDestination_1)- Save changes:
$AdminConfig save
IBM is a trademark of the IBM Corporation in the United States, other countries, or both.