WebSphere Application Server Setup: Point to Point Specific Setup - Procedure

Assumptions:

  1. Start WebSphere Administrative Console.
  2. On the left-side of the screen, navigate to Environment/WebSphere Variables.
    • Make sure the MQ_INSTALL_ROOT variable is configured correctly for your WebSphere MQ installation.
    Note: If this is not set up correctly an error will appear when attempting the “MQ Config” check when verifying the queue is setup correctly. You will need to install the MQ Client.
  3. Advance to Resources/JMS/JMS Providers/WebSphere MQ.
  4. Click Queue connection factories.
  5. Click New.
  6. Enter the Name.
    Note: For example: ExpereQueueConnectionFactory
  7. Enter the JNDI name.
    Note: For example: jms/ExpereQueueConnectionFactory
  8. Leave Category blank.
  9. Leave Component-managed authentication set to none.
  10. Leave Container-managed authentication alias set to none.
  11. Set the Mapping-Configuration alias to DefaultPrincipalMapping.
  12. Enter the name of the Queue manager.
    Note: For example: QM_QueueManager. This is the name of the Queue Manager being used in WebSphere MQ.
  13. Enter the name of the host.
    Note: Assuming WebSphere MQ is installed on the same machine as WebSphere Application server this would be localhost.
  14. Enter the port.
    Note: If using the default Queue Manager the port will be 1414.
  15. Enter the name of the channel you created in the WebSphere MQ Explorer.
    Note: For example: EXPERECHANNEL
  16. Set the Transport type to CLIENT.
  17. Leave Model queue definition blank.
  18. Leave Client ID blank.
  19. Leave CCSID blank.
  20. Uncheck the Enable message retention checkbox; the unwanted messages need to be removed from the queue and placed on the dead letter queue.
  21. Leave Enable XA checked.
  22. Leave Enable return methods during shutdown checked.
  23. Enter the address of the Local server address.
    Note: This address can be localhost.
  24. Leave SSL cipher suite blank.
  25. Leave SSL CRL blank.
  26. Leave SSL peer name blank.
  27. Leave Temporary queue prefix blank.
  28. Leave Enable MQ connection pooling checked.
  29. Click OK and save the changes.
  30. Choose Resources/JMS/Queues.
  31. Select scope in the textbox; by default, All scopes will appear.
  32. Click New.
  33. Select the provider with which to create the Queue.
    Note: For example: WebSphere MQ messaging provider.
  34. Enter the Name.
    Note: for example: ExpereQueue
  35. Enter the JNDI name.
    Note: for example: jms/ExpereQueue
  36. Leave Category blank.
  37. Change Persistence to PERSISTENT.
  38. Leave Priority APPLICATION DEFINED.
  39. Enter the Base Queue name.
    Note: This matches the name of the queue you created in WebSphere MQ Explorer; for example: EXPEREQUEUE.QUEUE.
  40. Enter the name of the Queue Manager for that queue. This is also from WebSphere MQ.
  41. Leave CCSID blank.
  42. Leave Use native encoding unchecked.
  43. Leave Integer encoding Normal.
  44. Leave Decimal encoding Normal.
  45. Leave Floating point encoding IEEE Normal.
  46. Leave Target client JMS.
  47. Set Queue manager host to the name of the machine hosting WebSphere MQ.
    Note: For example: localhost
  48. Set the Queue manager port to the applicable port number.
    Note: Default is 1414.
  49. Set the Server connection channel name to the name of the channel you created in WebSphere MQ.
    Note: For example: EXPERECHANNEL
  50. Set User ID and Password accordingly.
    Note: You may leave this fields blank.
  51. Click OK.
  52. Save the changes.
  53. Choose the name of the queue again and choose MQ Config on the right.
    Note: Many of the fields should be automatically populated, such as Base queue name and Base queue manager name. If not populated, fix the appropriate error.
  54. Click OK and Save.
  55. Click Servers/Application Servers on the left side of the screen.
  56. Click the name of the server on the main screen.
  57. Under the Communications section, click Messaging/Message Listener Service/Listener Ports.
  58. Click New.
  59. Enter a Name.
    Note: For example: ExpereQueueListenerPort
  60. Leave the Initial State set to Started.
  61. Enter the name of the JNDI name given to the Connection Factory.
    Note: For example: jms/ExpereQueueConnectionFactory
  62. Enter the name of the JNDI name given to the Destination.
    Note: For example: jms/ExpereQueue
  63. Leave Maximum Sessions at 1.
  64. Change Maximum Retries to be greater than the number the backout threshold was set to in the Queue in WebSphere MQ.
  65. Click OK; then Save.