Configure a new WebSphere queue 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 WASQueueConnectionFactory
Example output:
Attribute Type name String jndiName String- Set up required attributes:
set name [list name WASQCF] set jndi [list jndiName jms/WASQCF] set mqcfAttrs [list $name $jndi]
Example output:
{name WASQCF} {jndiName jms/WASQCF}- Create was queue connection factories:
$AdminConfig create WASQueueConnectionFactory $newjmsp $mqcfAttrs
Example output:
WASQCF(cells/cellname/nodes/nodename:resources.xml#WASQueueConnectionFactory_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.