Creating JMS Resources

You need to define a JMS Queue Connection Factory, a Queue, a Topic Connection Factory and a Topic for Oracle BPM 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.

      If you are configuring a single-node environment, you must select the server as a member. If you are configuring a clustered environment, you must the target cluster.

      Refer to your WebSphere 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 Oracle BPM QCF
      JNDI Name XAConnectionFactory
      Bus name

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

      Oracle BPM 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.

      If you are configuring a single-node environment, you must select the server as a member. If you are configuring a clustered environment, you must the target cluster.

      Refer to your WebSphere 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 Oracle BPM TCF
      JNDI Name XATopicConnectionFactory
      Bus name

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

      Oracle BPM 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.

      If you are configuring a single-node environment, you must select the server as a member. If you are configuring a clustered environment, you must the target cluster.

      Refer to your WebSphere 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 Oracle BPM Engine Queue
      JNDI Name queue/ToDoQueue
      Bus name

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

      Oracle BPM Bus

      Queue name

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

      OracleBPMEngineQueue

      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.

      If you are configuring a single-node environment, you must select the server as a member. If you are configuring a clustered environment, you must the target cluster.

      Refer to your WebSphere 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 Oracle BPM Topic
      JNDI Name topic/EngineNews
      Bus name

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

      Oracle BPM Bus

      Topic space

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

      OracleBPMTopic

    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.

      If you are configuring a single-node environment, you must select the server as a member. If you are configuring a clustered environment, you must the target cluster.

      Refer to your WebSphere 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 Oracle BPM 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:

      Oracle BPM Bus

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