Configure a new WebSphere topic connection factory using wsadmin
- Identify the parent ID:
set newjmsp [$AdminConfig getid /Cell:cellname/Node:nodename/JMSProvider:JMSP1/]
Example output:
JMSP1(cells/cellname/nodes/nodename:resources.xml#JMSProvider_1)- Get required attributes:
$AdminConfig required WASTopicConnectionFactory
Example output:
Attribute Type name String jndiName String port ENUM(DIRECT, QUEUED)- Set up required attributes:
set name [list name WASTCF] set jndi [list jndiName jms/WASTCF] set port [list port QUEUED] set mtcfAttrs [list $name $jndi $port]
Example output:
{name WASTCF} {jndiName jms/WASTCF} {port QUEUED}- Create was topic connection factories:
$AdminConfig create WASTopicConnectionFactory $newjmsp $mtcfAttrs
Example output:
WASTCF(cells/cellname/nodes/nodename:resources.xml#WASTopicConnectionFactory_1)- Save changes:
$AdminConfig save
WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.
IBM is a trademark of the IBM Corporation in the United States, other countries, or both.