MAIN arrow Samples-5.1 arrow Receive JMSUsingActiveMQ

Receive JMSUsingActiveMQ

Print E-mail

zip receivejmsmessageusingactivemq 29/01/2008,22:57 77.68 Kb

 

Description:

This use case illustrates functionality of receiving JMS message using Active MQ.
The process has been implemented by creating a wsdl that performs receiving JMS operation, and invoking this wsdl in intalio process

 

Use case dependencies:

  1. PIPA.xform
  2. PIPA.xform.xsd
  3. ReceiveValues.xform
  4. ReceiveValues.xform.xsd
  5. test1.xsl

 

Requirements:

  1. Intalio|BPMS Server-5.1.1
  2. Intalio|BPMS Designer-5.1.1
  3. ResponseJMSServiceWS.aar
  4. ResponseJMSServiceWS.wsdl
  5. 12 Jar files:
    i. activeio-core-3.0.0-incubator.jar
    ii. activemq-console-4.1.0-incubator.jar
    iii. activemq-core-4.1.0-incubator.jar
    iv. activemq-core-4.1.0-incubator-tests.jar
    v. activemq-jaas-4.1.0-incubator.jar
    vi. activemq-web-4.1.0-incubator.jar
    vii. backport-util-concurrent-2.1.jar
    viii. commons-logging-1.1.jar
    ix. derby-10.1.1.0.jar
    x. geronimo-j2ee-management_1.0_spec-1.0.jar
    xi. geronimo-jms_1.1_spec-1.0.jar
    xii. mx4j-2.1.1.jar
  6. Axis2 version 1.3


Configurations:

  1. Download the above given jar files and paste all the jar files in lib folder of intalio-bpms server: \repository\com\intalio\bpms\axis2-services-geronimo-1.1\1.1.1\axis2-services-geronimo-1.1-1.1.1.war\WEB-INF\services\lib 
  2. Restart the server .

 

Preconditions:

  1. Make sure Intalio|BPMS Server is up and running fine.
  2. Make sure the Process Explorer pane does not contain any Intalio|BPMS Business Process Project with same name.

 

Process Download & Import:

  1. Download ‘ReceiveJMSMessageUsingActiveMQ.zip’.
  2. Go to File > Import...
  3. Select 'Existing Projects into Workspace', in the wizard, click on Next >
  4. Browse to select the downloaded archive file.
  5. Click to Finish.
  6. Update project builders by right click on project; go to BPMS Designer Tools > Update BPMS Builders.

 

receivejmsusingactivemq.jpg

Work Scenario in the Axis 2:
To upload “ResponseJMSServiceWS.aar” in the Axis2:

  1. Make sure Intalio-bpms server is already started.
  2. Open a web browser, provide url as: http://localhost:8080/axis2/., that takes to login screen for axis2.
  3. Click on the “Administration” link. \
  4. Login with the following credentials:
    username: ‘admin’ (without quotes).
    password: ‘axis2’ (without quotes).
  5. Click on the link to “Upload Service”.
  6. Browse to location of “ResponseJMSServiceWS.aar” to “Upload a AxisService Archive File “ page.
  7. Now click on Available Services link and refresh the webpage
    Note: You will see the list of the available services.
  8. Verify that “ResponseJMSServiceWS” is present there.
  9. Click on the “ResponseJMSServiceWS” it displays respective wsdl file.
    Note: This wsdl displays users Ip address in place of localhost in soap address location.If you want you can save this wsdl file on your system and use in place of the existing wsdl. .

 

Process Deployment & Execution:

  1. Make sure that you already deployed & execute sendJMSUsingActiveMQ sample.
  2. Click on Deploy Project to Intalio|BPMS Server button in tool bar.
  3. Make sure you select all runtime files while exporting to Intalio|BPMS Server.
  4. Click on Finish button.
  5. Open a web browser, provide url as: http://localhost:8080/ui-fw which takes to login screen for workflow UI.
  6. Login with the following credentials:
    username: 'examples\ewilliams' (without quotes).
    password: 'password' (without quotes).
  7. Under Processes tab you should see "PIPA-init process ReceiveJMSMessage/ResponseJMSwithForms with form PIPA.xform" link, click it to view JMSMessage form
  8. The form generated displays respective two input fields to map input data.
  9. Click on "Start process" button to retrieve the JMS messages
  10. This will replace the page with an output displaying the JMS Messages

 

 

Last Updated ( Feb 04 2008 )
  < Prev Next >