Mittwoch, August 17, 2005


BPEL: User Defined Preferences

Oracle' BPEL deployment descriptor bpel.xml includes the undocumented section "preferences" to configure user defined properties. The generic BPEL Administration console BPELConsole allow the admistration of all variables at runtime without redeployment.
<BPELProcess id="MyProzess" src="myProzess.bpel">
<property name="myTempDir">c:\temp</property > </preferences>

Attention: the position of the preference section is very important. It must be the first element after the BPELProcess tag to work correctly.

There are two build-in functions to read this properties:
ora:getPreference(String name); in each xml expression andgetPreference in the java inline section

<< Home

This page is powered by Blogger. Isn't yours?