|
Page Edited :
ODExSITE :
Extension Activities & Extensible Assign Operations
Extension Activities & Extensible Assign Operations has been edited by Tammo van Lessen (Nov 11, 2008). Change summary: Content added. BPEL ExtensibilitySince BPEL 2.0 it is possible to extend the language by user-defined activities and custom variable assignment mechanisms. Apache ODE (>= 2.0) supports these extensibility mechanisms and provides a plug-in architecture that allows for registering third-party extensions. BPEL extensions must be declared for use in the process preamble to tell the engine which extensions must be available and which are optional. This can be done by adding an <extension> element to your BPEL process model: <bpel:process...> <bpel:extensions> <bpel:extension namespace="#extension-namespace#" mustUnderstand="#yes|no#"/> </bpel:extensions>
...
</bpel:process>
This snippet declares the given extension namespace and tells the engine what to do if no extension bundle is registered for this namespace. If mustUnderstand is yes and no extension bundle is registered the engine complains during the deployment of the process model and refuses the execution of the process model. If mustUnderstand is no the engine logs a warning but continuous with deployment and execution. Unregistered extension activities are then executed like an <empty> activity. Extension Activities<extensionActivity> <anyElementQName standard-attributes> standard-elements </anyElementQName> </extensionActivity> Extensible Assign Operations<assign validate="yes|no"? standard-attributes> standard-elements <extensionAssignOperation> assign-element-of-other-namespace </extensionAssignOperation> </assign> Using BPEL Extensibility in Apache ODE
In ODE extension activities and extension assign operations are grouped into so called 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. Installation of extensions (WAR - Axis2 deployable)
Installation of extensions (JBI)
Developing Extension BundlesTBC... |
Unsubscribe or edit your notifications preferences
