Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Start Fiorano Enterprise Server (FES) and Fiorano Peer Server (FPS).
  • Login to eStudio application.
    • Understand the basic menus and perspectives (panels) in the eStudio application.
  • Start Weblogic Server and note down the username, password and the URL.
  • Add the resources: wljmsclient.jar and wlthint3client.jar to JMS adapters.

    Refer

    Tip

    Refer Add Resources to a Microservice section for the instructions.

Anchor
_Toc383197191
_Toc383197191
Scenario

...

Anchor
_Toc383197194
_Toc383197194
Setting up the Example

Anchor
_Toc383197195
_Toc383197195
Configuring JMSIn

...

component

To configure JMSIn component, perform the following action in eStudio:

  1. Add a new Event Process with name 'WebLogic_Example'.
  2. Drag the JMSIn component from MOMs category in the Micro Service Palette to the Fiorano Orchestrator.


    Figure 1: Adding JMSIn component to Fiorano Orchestrator
     
  3. Double-click the JMSIn component in the Orchestrator to open Configuration Property Sheet (CPS).


    Figure 2: Managed Connection Factory in CPS
     
  4. Perform the following actions under Provider URL Settings section:
    1. From JMS Provider drop-down, select 'BEA WebLogic'.
    2. Click the Connection Configuration Ellipsis button, provide the values for Server URL, JMS username and JMS password in ConnectionConfig dialog box and click OK.


      Figure 3: Component Configuration in ConnectionConfig dialog box
       
  5. Under JNDI Settings section, click the JNDI Configuration Ellipsis button.


    Figure 4: JNDI Configuration
     
  6. In the JndiConfig dialog box, provide values for JNDI Username, JNDI Password and click OK.


    Figure 5: Component Configuration in JNDIConfig dialog box
     
  7. Click the Test button to test the connection. XML message indicating successful connection appears in Test Connection Configuration dialog box. Click Close.


    Figure 6: Connection Successful message
     
  8. Under Connection Properties section, select ClientID '<auto-generated>' to generate unique ClientID (same ID for JMSIn and JMSOut may create connection issues) and click Next.


    Figure 7: ClientID changed to <auto-generated> to generate unique ID
     
  9. In the Interaction Configurations screen, click the Destination Configuration Ellipsis button.


    Figure 8: Destination Configuration
     
  10. In the DestinationConfig dialog box, provide the following values and click OK.
    1. Destination Name: ./SystemModule1!Queue1 (format is ./<ModuleName>!<DestinationName>)
    2. Destination Type: QUEUE (use QUEUE for single receiver and 'TOPIC' for multicasting the message).


      Figure 9: Component Configuration in DestinationConfig dialog box
       
  11. Click the Test button in the Interaction Configurations to send sample input message. Notice the message displayed in Test Interaction Specifications dialog box.


    Figure 10: Test message
     
  12. Click Execute. Notice the Execute in Test Interaction Specifications dialog box; a confirmation message 'Message sent to Destination' with the destination name as providedappears.


    Figure 11: Confirmation message that the message has reached the destination

  13.  Click Close and click Finish to complete the JMSIn configuration.

JMSIn component will be ready to send messages to JMS Queue/Topic.

Configuring JMSOut component

Configure JMSOut component by performing the same actions as mentioned above. After completing the configuration, notice that only the output port will be attached to the component as Scheduling is enabled by default.

Image Modified
Figure 12: Scheduler Configurations settings enabled by default for JMSOut component

Image Modified
Figure 13: JMSOut component with only the output port after configuration

JMSIn component will be ready to receive messages from a JMS Server Queue/Topic

Anchor
_Toc383197196
_Toc383197196
Composing the Event Process

...

  1. Drag one Feeder component and two Display components from Util category in the Micro Service Palette to the WebLogic_Example Fiorano Orchestrator.
  2. Connect the components in the following manner:
    1. Feeder1 component output port to JMSIn component input port

    and connect the
    1. Tip

      Default configuration in Feeder component is sufficient to run WebLogic_Example successfully.

    2. JMSIn component output port to Display1 component input port
    . Default configuration in Feeder component helps to run WebLogic_Example succesfully.Connect the
    1. ; rename Display1 to 'Display_Confirmation' as JMSIn Output port sends out a confirmation message.
    2. JMSOut component output port to Display2 component input port; rename Display2 to 'Display_Message' as JMSOut output port sends out the message received on the queue.
    Image Removed
    Image Added
    Figure 14: JMSIn and JMSOut after connecting with supporting components

...

  1. Click Check Resource and Connectivity icon (or press ALT+SHIFT+C) to check resource and connectivity.
  2. Click Run Event Process icon (ALT+SHIFT+R) to run the event process.
  3. One Feeder window and two Display windows appear.
  4. Open Feeder1, provide a custom message (replace the text 'Input Text' with 'Test Message') and click the Send button.

    Image Modified
    Figure 15: Sending custom message using Feeder
     
  5. Confirmation message 'Message sent to Destination' with the destination name gets displayed in Display1the Display_Confirmation window.
    Image Removed
    Image Added
    Figure 16: Confirmation of message reaching the destinationdisplayed in the Display_Confirmation window
     
  6. Message The message sent to Destination the destination through the feeder gets displayed in Display2the Display_Message window.
    Image Removed
    Image Added
    Figure 17: Message received from Destination displayed in Display2 Display_Message window

Anchor
_Toc382851707
_Toc382851707
Reference

Adaptavist ThemeBuilder EngineAtlassian Confluence