Create a connection factory
Use the New Connection Factory wizard to create a new connection factory.
Procedure
- In the MQ Explorer - Navigator pane, right-click the JMS Administered Objects > file:/C:/JNDI_LOCATION/ > Connection Factories folder.
- Select New > New Connection Factory.
The New Connection Factory wizard displays.
- Enter or select these values in the Enter the
details of the connection factory window and then click Next:
- Name: TestConFactory
- Messaging provider: IBM MQ
- Enter or select these values in the Select the
type of connection factory window and then click Next:
- Name: TestConFactory
- Type: Queue Connection Factory
- Enter or select these values in the Select the
transport that the connections will use window and then
click Next:
- Name: TestConFactory
- Transport: MQ Client
- Click Finish.
- Navigate to the IBM® MQ /bin directory.
- Run this sequence of four commands to disable the channel
authentication:
runmqsc QueueMgrName
DISPLAY QMGR CHLAUTH
ALTER QMGR CHLAUTH(DISABLED)
DISPLAY QMGR CHLAUTH
- Add the administrator to the MQM group:
- In Windows Explorer desktop, click Start > Administrative Tools > Computer Management
- Enter your password.
- In the Computer Management pane, click System Tools > Local Users and Groups > Groups.
- Right-click the MQM group and choose the Add to group... option.
- In the window, click Add....
- Type the name of the administrator.
- Click OK. The administrator is added to the MQM group.