











Signup for Training
- Singapore, SI, Jan 19-21
- San Francisco, CA, Jan. 20-22
- London, UK, Jan 20-22
- Denver, CO, Jan. 28-30
- Frankfurt, DE, Feb 04
More trainings...
Intalio|BPMS Webinars
- Dec 30, 2008 10 AM PST
- Jan 7, 2009 10 AM GMT
- Jan 9, 2009 2 PM EST
- Jan 13, 2009 10 AM PST
- Jan 14, 2009 11AM VET(SP)
- Jan 15, 2009 1 PM EST
- Jan 23, 2009 2 PM EST
- Jan 28, 2009 11AM VET(SP)
- Feb 10, 2009 2 PM EST
- Feb 12, 2009 1 PM EST
- Feb 24, 2009 2 PM EST
- Mar 12, 2009 1 PM EST
- Mar 18, 2009 2 PM EST
- Mar 27, 2009 2 PM EST
Login
Who's online?
- (alex.ruegg@efgfp.ch)
- (jloge@ebsco.com)
- Eva Das (eva.das)
- Johan Strandler (johan)
- Meshaan Ram (meshaan.ram)
- Milos Vacek (milos.vacek)
- Piotr ?mijewski (piotr.zmijewski)
- Ravinderjit Singh (ravinderjit.singh)
- Sherie rox (sherie.rox)
- Sumit Taneja (sumit.taneja1)
- Venkaiah K (venkaiah.k)
- Vik Chan Folom (vik.chan.folom)
MAIN
Samples-5.1
Send JMSUsingActiveMQ
Samples-5.1
Send JMSUsingActiveMQ Send JMSUsingActiveMQ
on Nov 20 2007
Work Scenario in the Axis 2:
Last Updated ( Feb 04 2008 )
< Prev
Next >
sendjmsmessage 31/12/2007,02:44 45.04 Kb
Description:
This use case illustrates functionality of sending JMS message using Active MQ.
The process has been implemented by creating a wsdl that performs sending JMS operation, and invoking this wsdl in intalio process
Use case dependencies:
- Count.xform
- Count.xform.xsd
- JMSMessage.xform
- JMSMessage.xform.xsd
- Response.xform
- Response.xform.xsd
- Requirements:
- Intalio|BPMS Server-5.1.1
- Intalio|BPMS Designer-5.1.1
- SendJMSMessage.bpm (bpm file created for this project).
- SendJMSServiceWS.aar
- SendJMSServiceWS.wsdl
- 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 - apache-activemq-4.1.0-incubator.jar
- Axis2 version 1.3
Configurations:
- Download apache-activemq-4.1.0-incubator.jar file and paste in lib folder under axis directory i.e. [axis2-1.3]\lib
- Download the above given 12 jar files and paste all the jar files in lib folder given under 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 of Intalio|BPMS server
- Restart the server.
Preconditions:
- Make sure Intalio|BPMS Server is up and running fine.
- Make sure the Process Explorer pane does not contain any Intalio|BPMS Business Process Project with same name.
Process Download & Import:
- Download ‘SendJMSMessageUsingActiveMQ.zip’.
- Go to File > Import...
- Select 'Existing Projects into Workspace', in the wizard, click on Next >
- Browse to select the downloaded archive file.
- Click to Finish.
- Update project builders by right click on project; go to BPMS Designer Tools > Update BPMS Builders.
Work Scenario in the Axis 2:
To upload “SendJMSServiceWS.aar” in the Axis2:
- Make sure Intalio-bpms server is already started.
- Open a web browser, provide url as: http://localhost:8080/axis2/., that takes to login screen for axis2.
- Click on the “Administration” link.
- Login with the following credentials:
username: ‘admin’ (without quotes).
password: ‘axis2’ (without quotes). - Click on the link to “Upload Service”.
- Browse to location of “SendJMSServiceWS.aar” to “Upload a AxisService Archive File “ page.
- Now click on Available Services link and refresh the webpage
Note: You will see the list of the available services. - Verify that “SendJMSServiceWS” is present there.
- Click on the “SendJMSServiceWS” 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:
- Click on Deploy Project to Intalio|BPMS Server button in tool bar.
- Make sure you select all runtime files while exporting to Intalio|BPMS Server.
- Also verify & check "Deploy processes" choice before click on Finish button.
- Open a web browser, provide url as: http://localhost:8080/ui-fw which takes to login screen for workflow UI.
- Login with the following credentials:
username: 'examples\ewilliams' (without quotes).
password: 'password' (without quotes). - Under Processes tab you should see "Count-init process SendJMSMessage/SendJMSProcess with form Count.xform " link, click it to view JMSMessage form
- The form generated displays respective two input fields to map input data.
- Type "5" in "Enter number of JMS messages" field, "Hello" in "Enter the message" field then click on Start process button.
- This will replace form with new form displaying READY link, click it to view JMSMessage form:
- The form generated displays respective two input fields to map input data.
- The first field will display the data already entered by the user and the second field displays the count of message being entered.
- Click on Complete button to complete the process.
- This will replace form with new form displaying READY link, click it to view Response form:
- This will replace form with new form displaying output like:.
Acknowledgment: Jms Message sent - Click on Complete button to complete the process.
- Again the form will be replaced by JMSMessage form displaying respective data.
- The process continues to loop till the count of messages is greater than 0
