14. Component Type Reference

14.1: Overview

Component Types
BPEL 14.4: BPEL snippets - (Native)
CONDOR 14.5: Condor Job Submission - (ch.ethz.jopera.subsystems.condor Plugin)
DELAYEDECHO 14.7: JOpera Delayed ECHO - (ch.ethzjopera.subsystems.streamlibrary Plugin)
ECHO 14.6: JOpera ECHO - (Native)
HTTP 14.8: HTTP/URL Download - (Native)
INVOKE 14.14: Synchronous SOAP Messaging - (ch.ethz.jopera.subsystems.router Plugin)
JAVA.METHOD 14.9: Java method invocation - (ch.ethz.jopera.subsystems.java Plugin)
JAVA.SNIPPET 14.10: Java snippets - (Native)
MSG 14.3: Asynchronous Local Messaging - (Native)
PARAMETERVIEWER 14.11: Parameter Viewer - (ch.ethz.jopera.subsystems.parameterviewer Plugin)
RECEIVE 14.2: Asynchronous SOAP Message Routing - (ch.ethz.jopera.subsystems.router Plugin)
REPLY 14.2: Asynchronous SOAP Message Routing - (ch.ethz.jopera.subsystems.router Plugin)
SQL 14.12: SQL/JDBC - (Native)
SSH_CMD 14.13: Secure Shell Operation - (ch.ethz.jopera.subsystems.ssh Plugin)
SSH_SCP 14.13: Secure Shell Operation - (ch.ethz.jopera.subsystems.ssh Plugin)
SSH_TUNNEL 14.13: Secure Shell Operation - (ch.ethz.jopera.subsystems.ssh Plugin)
UNIX 14.15: UNIX Legacy Applications - (Native)
WSIF 14.17: Web Services Invocation Framework - (ch.ethz.jopera.subsystems.wsif Plugin)
XPATH 14.16: XML transformations - (ch.ethz.jopera.subsystems.xml Plugin)
XSLT 14.16: XML transformations - (ch.ethz.jopera.subsystems.xml Plugin)

Note: Many examples are provided showing how to use these component types. See 2.5: Examples.

14.2: Asynchronous SOAP Message Routing

14.3: Asynchronous Local Messaging

14.4: BPEL snippets

A library of predefined BPEL snippets is found in the lib.bpel library.

14.5: Condor Job Submission

14.6: JOpera ECHO

This component copies the content of the input system input parameter into the output system output parameter and finishes immediately. The input system parameter value can be set as a concatenation of the input parameters:

Echo: %a% %a% 
This will repeat the value of input parameter a twice after the string Echo: . If the output system parameter contains XML tags matching the names of the output parameters - like b and c - their values will be initialized from the content found within those tags.
<b>Echo: %a%</b><c>Another output Parameter</c>
After running this code with input a set to 123 the b output parameter contains Echo: 123 and the c output parameter contains Another output Parameter.

14.7: JOpera Delayed ECHO

This component repeats all input parameters values in the output parameter values. Use the delay system input parameter to control how long it waits before finishing the execution. Also, unlike the BPEL Wait command, this component will not keep a thread busy sleeping so it should not be used for load testing of the engine.

14.8: HTTP/URL Download

14.9: Java method invocation

This component type allows to invoke local Java methods from Java classes that are dynamically loaded into the JOpera engine VM. Use the Java Import Wizard to automatically generate programs that call the Java methods. The classpath parameter stores a list of URLs that make up the class path used to search for the method to be called. The method identifies the method signature (including the fully qualified name of its class and the parameter types). The arg parameter maps the input parameters of the program to the method's parameters. It lists the names of the program input parameters in the order in which they should be passed to the method. The instance parameter is used to pass the object on which the method should be called (if it is not set, the method can be either a static method or a constructor).

14.10: Java snippets

The script parameter should contain java code that fits inside a Java method. Input and Output parameters are implicitly declared as local Java variables. Uncaught exceptions will cause the task to fail.

14.11: Parameter Viewer

Sending data to the input input system parameter of this component type will display it in the Parameter Viewer. See the parameterviewer.oml example for more information.

14.12: SQL/JDBC

14.13: Secure Shell Operation

14.14: Synchronous SOAP Messaging

14.15: UNIX Legacy Applications

Write the shell commands using %parameter% to paste the values of the input parameters as the command line arguments. Look at this video http://www.jopera.org/docs/videos/unix for more information on how to return data from a UNIX shell command into a JOpera output parameter.

14.16: XML transformations

14.17: Web Services Invocation Framework