4 Configuring Subscribers in JD Edwards EnterpriseOne

This chapter discusses the configuration of JMS Queue and JMS Topic subscribers in JD Edwards EnterpriseOne.

This chapter includes these tasks:

4.1 Prerequisites

These prerequisites must be met prior to configuring JMS topic in JD Edwards EnterpriseOne and WebSphere:

4.2 Configuring Subscriber JMS Queue/Topic in WebSphere Application Server

JD Edwards EnterpriseOne supports JMSQUEUE and JMSTOPIC subscribers of JMS type. To use these subscribers, you must create an appropriate Queue and Topic in the WebSphere Application Server. It is recommended that you create the Queue and Topic in a container other than the RTE Server container; however subscriber Queue and Topic on RTE Server container is also supported.

4.3 Creating JMS Queues in a Transaction Server container Installed in WebSphere Application Server

To create a JMS queue in a Transaction Server container installed in WebSphere Application Server:

  1. Start the Transaction Server from the Server Manager Management Console.

  2. Open the WebSphere Administrative Console.

  3. Expand the Resources node in the left panel.

  4. Expand the JMS node.

  5. Click the link for JMS Providers.

  6. Click the Default messaging provider whose scope contains this value:

    server=RTE_Container

  7. Under Additional Properties, click Queue connection factories.

    The following sequence of screens shows the fields and values on the JMS providers screen in WebSphere:

    Surrounding text describes jms_providers.gif.
    Surrounding text describes jms_providers_1.gif.
    Surrounding text describes jms_providers_2.gif.
  8. On the WebSphere Queue Connection Factories page, click the New button and complete these fields:

    Field Value
    Name TestQueueConnectionFactory
    JNDI Name jms/TestQueueConnectionFactory
    Bus name Select the Bus name created for Transaction Server.

  9. Click OK to save the details.

  10. Click Default messaging provider in the top breadcrumb.

  11. Click Queues under Additional Properties to view a list of queues available for the Transaction Server.

    The following screen shows an example of a Queues screen in WebSphere.

    Surrounding text describes queues.gif.
  12. Click the New button and complete the required fields as shown in the following screens:

    Surrounding text describes queues_new.gif.
    Surrounding text describes queues_new_more.gif.
  13. For the Queue name field, use the pulldown to select the option Create Service Integration Bus Destination as shown in the following screen:

    Surrounding text describes queues_new_1.gif.

    After you select Create Service Integration Bus destination from the pulldown, the following Create new queue dialog is displayed:

    Surrounding text describes queues_new_2.gif.
  14. On Create New Queue - Step 1: Set queue attributes, enter a value for the required Identifier field and click the Next button.

    Surrounding text describes queues_new_3.gif.
  15. On Create New Queue - Step 2: Assign the queue to a bus member, use the pulldown to select The Transaction Server container as the Bus Member.

  16. Click the Next button.

  17. After creating the bus destination, the newly created bus destination is set as the queue name for the configured Queue. The newly created bus destination can be verified by using this navigation:

    Service Integration > Buses > <BUS_NAME> Destinations

    Note:

    If any available unused bus destination is available in the Queue list, then it can be selected from the dropdown rather than creating a new bus destination.

    Note:

    The values specified in the table below for Name and JDNI name are samples only. Any unique value can be given. All other values should remain the same as the defaults.
    Field Value
    Name TestQueue
    JNDI Name jms/TestQueue
    Queue name Create Service Integration Bus destination (TestQueue)
    Persistence Persistent

  18. Click the OK button to save the settings and view the newly created queue.

4.4 Creating JMS Queues in WebSphere Using a Non-Transaction Server Container

To create JMS queues in WebSphere Application Server, perform these tasks:

4.4.1 Create the Service Integration Bus (SIB)

To create the Service Integration Bus for the JMS queues:

  1. Navigate to Service Integration > Buses.

  2. Click the New button.

    Surrounding text describes create_new_sib.gif.
  3. On Create a new bus, enter this value in the Name field:

    ORABus

  4. Click the Next button.

    Surrounding text describes confirm_create_new_bus.gif.
  5. On Confirm create of new bus, review your changes and click the Finish button.

    Surrounding text describes buses.gif.
  6. On Buses, click the link for the service integration bus that you just created (in this example, the link is ORABus.

  7. Under Topology, click the Bus Members link.

  8. Click the Add button.

    Surrounding text describes add_new_bus_member.gif.
  9. On Add a new bus member, select the Server radio button.

  10. Select the default server value server1 for the server.

  11. Click the Next button.

  12. Select Data Store.

  13. Click the Next button.

  14. Select Create default data source with generated JNDI name.

  15. Click the Next button.

  16. Select the Change heap sizes radio button to modify the heap sizes to the proposed values.

    On machines with low amounts of physical memory size or large numbers of application server instances, it may be necessary to reduce the proposed values accordingly.

  17. Review your changes and click the Finish button.

  18. Click the Save link at the top of the page to save the changes.

4.4.2 Create the JMS Queue Connection Factory

To create the JMS Queue Connection Factory:

  1. Navigate to Resources > JMS and select JMS Providers.

  2. Click the Default Messaging Provider link which includes Server1 in the scope.

  3. Click Connection Factories.

  4. Click the New button.

    Surrounding text describes connection_factory_1.gif.
    Surrounding text describes connection_factory_2.gif.
    Surrounding text describes connection_factory_3.gif.
  5. On Queue connection factories, New, complete these fields:

    Field Value
    Name ESBQueueConnectionFactory
    JNDI name jms/ESBQueueConnectionFactory
    Bus name ESBBus
    Target Type Messaging Engine Name
    Provider end points <System-name>:7276:BootstrapBasicMessaging
    Connection Proximity Bus

    Note:

    Leave the default value for the rest of the parameters.
  6. Click the OK button.

  7. Click the Save link at the top of the page to save the changes.

4.4.3 Create the SIB JMS Destinations

To create the JMS queue destinations:

  1. Navigate to Service Integration > Buses.

  2. Click the ORABus link.

  3. Under Destination Resources, click Destinations.

  4. Click the New button.

    Surrounding text describes create_new_queue.gif.
  5. On Step 1: Set queue attributes, in the Identifier field, enter TestQueue.

  6. Click the Next button.

    Surrounding text describes create_new_queue_1.gif.
  7. On Step 2: Assign queue to a bus member, use the pulldown to assign the queue to a bus member.

  8. Click the Next button.

    Surrounding text describes create_new_queue_2.gif.
  9. On Step 3: Confirm queue creation, click the Finish button.

  10. Click the Save link at the top of the page to save the changes.