Create a connection factory

Use the New Connection Factory wizard to create a new connection factory.

Procedure

  1. In the MQ Explorer - Navigator pane, right-click the JMS Administered Objects > file:/C:/JNDI_LOCATION/ > Connection Factories folder.
  2. Select New > New Connection Factory.
    The New Connection Factory wizard displays.
  3. 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
  4. Enter or select these values in the Select the type of connection factory window and then click Next:
    • Name: TestConFactory
    • Type: Queue Connection Factory
  5. 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
  6. Click Finish.
  7. Navigate to the IBM® MQ /bin directory.
  8. Run this sequence of four commands to disable the channel authentication:
    1. runmqsc QueueMgrName
    2. DISPLAY QMGR CHLAUTH
    3. ALTER QMGR CHLAUTH(DISABLED)
    4. DISPLAY QMGR CHLAUTH
  9. Add the administrator to the MQM group:
    1. In Windows Explorer desktop, click Start > Administrative Tools > Computer Management
    2. Enter your password.
    3. In the Computer Management pane, click System Tools > Local Users and Groups > Groups.
    4. Right-click the MQM group and choose the Add to group... option.
    5. In the window, click Add....
    6. Type the name of the administrator.
    7. Click OK.
      The administrator is added to the MQM group.