3.4. Configuring Java Message Service (JMS)

Oracle WebLogic Server must be configured to send and receive JMS messages through Decision Server. This requires a JMS Server. Follow the steps below to create a JMS Server.
  1. Navigate to ServicesMessagingJMS Servers.
  2. Click New to start creating a new JMS Server.
  3. Provide your JMS Server with a Name. Click Next to advance to the next configuration screen.
  4. Select the Target server chosen for the Business Central deployment. Click Finish to complete the JMS Server creation.

Create JMS Module

A JMS Module stores your JMS resources, such as connection factories and queues. Use the following steps to create a new JMS Module.
  1. Navigate to ServicesMessagingJMS Modules.
  2. Click New to start creating a new module.
  3. Provide your module with a Name and click Next to advance to the next configuration screen.
  4. Select the Target server chosen for the Business Central deployment. Click Finish to complete the JMS Module creation.
  5. Click on the newly created module's name, then click on Subdeployments.
  6. Click New to create a subdeployment for your module.
  7. Provide your subdeployment with a Name and click Next to advance to the next configuration screen.
  8. Choose the previously created JMS Server by marking the checkbox. Click Finish to complete the Module's subdeployment configuration.

Create JMS Connection Factories

To send and receive messages from Decision Server, you will need to create the JMS connection factories - one for receiving messages and one for sending them. The following connection factories are required:
  • KIE.SERVER.REQUEST - for all requests to the Decision Server.
    Default value: jms/cf/KIE.SERVER.REQUEST.
  • KIE.SERVER.RESPONSE - receiving all responses produced by the Decision Server.
    Default value: jms/cf/KIE.SERVER.RESPONSE.
Use the following procedure to create each connection factory.
  1. If you are not there already, navigate to ServicesMessagingJMS Modules to see your list of JMS Modules.
  2. Click on your previously created module, then click New to start creating a new JMS resource.
  3. Select Connection Factory and click Next.
  4. Enter the Name of the connection factory (for example, KIE.SERVER.REQUEST) and the JNDI Name (for example, jms/cf/KIE.SERVER.REQUEST).
    Click Next to advance to the next configuration screen.
  5. The connection factory automatically selects the servers assigned to the JMS Module as the default. Click Finish to complete the connection factory creation.
Repeat the above procedure for each connection factory.

Create JMS Queues

You will now need to create the JMS Queues. These queues are the destination end points for point-to-point messaging. You will create:
  • KIE.SERVER.REQUEST - for all requests to the Decision Server.
    Default value: jms/KIE.SERVER.REQUEST.
  • KIE.SERVER.RESPONSE - for the Decision Server responses.
    Default value: jms/KIE.SERVER.RESPONSE.
Use the following procedure to create each queue.
  1. If you are not there already, navigate to ServicesMessagingJMS Modules to see your list of JMS Modules.
  2. Click on your previously created module, then click New to start creating a new JMS resource.
  3. Select Queue and click Next.
  4. Enter the Name of the queue (for example, KIE.SERVER.REQUEST) and the JNDI Name (for example, jms/KIE.SERVER.REQUEST).
    Click Next to advance to the next configuration screen.
  5. Choose the JMS Module's subdeployment that connects to the JMS Server. Click Finish to complete the queue creation.
Repeat the above procedure for each queue.