Since BPEL 2.0, it is possible to extend the language by user-defined activities and custom variable assignment mechanisms. WSO2 BPS (>= 1.1.0) supports these extensibility mechanisms and provides a plug-in architecture that allows for registering third-party extensions.
...
Code Block | ||
---|---|---|
| ||
<assignvalidate="yes|no"? standard-attributes> standard-elements <extensionAssignOperation> assign-element-of-other-namespace </extensionAssignOperation> </assign> |
Using BPEL Extensibility in WSO2 BPS
In WSO2 BPS, extension activities and extension assign operations are grouped into Extension Bundles. Extension bundles are associated with an extension namespace and may provide several Extension operations. Extension operations are the actual implementations of extension code and can be used for both, extension activities and extension assign operations.
...
To install an extension, simply copy the extension jar to $PRODUCT_HOME/repository/components/lib directory. Then add a configuration entry to bps.xml in $PRODUCT_HOME/repository/conf directory as shown in the following example:
Code Block | ||
---|---|---|
| ||
<bpsxmlns="http://wso2.org/bps/config"> ... <extensionBundles> <runtimes> <runtime>org.wso2.bps.samples.extension</runtime> </runtimes> <validators> <validator>class name of the validator</validator> </validators> </extensionBundles> ... </bps> |
Info | title | Infor
---|
|
...