Creating JMS Resources

You need to define a JMS Queue Connection Factory, a Queue, a Topic Connection Factory and a Topic for ALBPM applications.

  1. Login to WebSphere's Administration Console. By default, it runs on http://host:9060/ibm/console.
  2. Create a Queue Connection Factory:
    1. Go to Resources > JMS > Queue connection factories.
      Note: You must select a WebSphere configuration scope for your new resources. You may select cell scope. Refer to WebSphere's official documentation for more details about its configuration scoping rules.
    2. Press New. Select Default messaging provider and press OK.
    3. Review the configuration properties for this Connection Factory. Make sure you set the following properties:
      Option Value
      Name ALBPM QCF
      JNDI Name XAConnectionFactory
      Bus name

      Select the name of the JMS Bus you created (see Creating WebSphere JMS Bus). Example:

      ALBPM Bus

    4. Press OK when finished setting the configuration properties.
  3. Create a Topic Connection Factory
    1. Go to Resources > JMS > Topic connection factories.
      Note: You must select a WebSphere configuration scope for your new resources. You may select cell scope. Refer to WebSphere's official documentation for more details about its configuration scoping rules.
    2. Press New. Select Default messaging provider and press OK.
    3. Review the configuration properties for this Connection Factory. Make sure you set the following properties:
      Option Value
      Name ALBPM TCF
      JNDI Name XATopicConnectionFactory
      Bus name

      Select the name of the JMS Bus you created (see Creating WebSphere JMS Bus). Example:

      ALBPM Bus

    4. Press OK when finished setting the configuration properties.
  4. Create a Queue
    1. Go to Resources > JMS > Queues.
      Note: You must select a WebSphere configuration scope for your new resources. You may select cell scope. Refer to WebSphere's official documentation for more details about its configuration scoping rules.
    2. Press New. Select Default messaging provider and press OK.
    3. Review the configuration properties for this Queue. Make sure you set the following properties:
      Option Value
      Name ALBPM Engine Queue
      JNDI Name queue/ToDoQueue
      Bus name

      Select the name of the JMS Bus you created (see Creating WebSphere JMS Bus). Example:

      ALBPM Bus

      Queue name

      Select the name of your Queue Destination (see Creating WebSphere JMS Bus). Example:

      ALBPMEngineQueue

      Delivery Mode Nonpersistent
    4. Press OK when finished setting the configuration properties.
  5. Create a Topic
    1. Go to Resources > JMS > Topics.
      Note: You must select a WebSphere configuration scope for your new resources. You may select cell scope. Refer to WebSphere's official documentation for more details about its configuration scoping rules.
    2. Press New. Select Default messaging provider and press OK.
    3. Review the configuration properties for this Topic. Make sure you set the following properties:
      Option Value
      Name ALBPM Topic
      JNDI Name topic/EngineNews
      Bus name

      Select the name of the JMS Bus you created (see Creating WebSphere JMS Bus). Example:

      ALBPM Bus

      Topic space

      Select the name of your Topic space (see Creating WebSphere JMS Bus). Example:

      ALBPMTopic

    4. Press OK when finished setting the configuration properties.
  6. Create a JMS Activation specification
    1. Go to Resources > JMS > Activation specification.
      Note: You must select a WebSphere configuration scope for your new resources. You may select cell scope. Refer to WebSphere's official documentation for more details about its configuration scoping rules.
    2. Press New. Select Default messaging provider and press OK.
    3. Review the configuration properties for this Activation Spec. Make sure you set the following properties:
      Option Value
      Name ALBPM Activation
      JNDI Name EngineActiveSpec
      Destination type Queue
      Destination JNDI name queue/ToDoQueue
      Bus name

      Select the name of the JMS Bus you created (see Creating WebSphere JMS Bus). Example:

      ALBPM Bus

    4. Press OK when finished setting the configuration properties.
  7. Click on Save to persist your WebSphere configuration changes.