You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ode.apache.org by bu...@apache.org on 2012/12/31 12:34:45 UTC

svn commit: r844394 - in /websites/staging/ode/trunk/content: ./ extensions/process-contexts.html

Author: buildbot
Date: Mon Dec 31 11:34:45 2012
New Revision: 844394

Log:
Staging update by buildbot for ode

Modified:
    websites/staging/ode/trunk/content/   (props changed)
    websites/staging/ode/trunk/content/extensions/process-contexts.html

Propchange: websites/staging/ode/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Mon Dec 31 11:34:45 2012
@@ -1 +1 @@
-1427078
+1427086

Modified: websites/staging/ode/trunk/content/extensions/process-contexts.html
==============================================================================
--- websites/staging/ode/trunk/content/extensions/process-contexts.html (original)
+++ websites/staging/ode/trunk/content/extensions/process-contexts.html Mon Dec 31 11:34:45 2012
@@ -105,11 +105,11 @@ Whenever a message arrives through ODE's
 For outgoing messages, <invoke> activities can be configured to take context data from a (different) partner link, pass it again through a <em>context interceptor</em> which translates the data back to transport-specific metadata. Such propagation configuration can be defined per invoke activity in the process model or on a global level in the deployment descriptor.
 Context data can be assigned to variables. Therefore, the context data is translated into XML data, following a predefined schema. It is possible to define which contexts of a partner link are copied to a variable. Similarly, context data can be copied from a variable back into the context of a certain partner link.
 Contexts can be used to classify or tag process instances and it is useful to make this information accessible for process management tools. Hence, this specification extends the process management API to make context data queryable and accessible.</p>
-<p><a name="ProcessContexts-{anchor:contexts}Contexts"></a></p>
-<h3 id="anchorcontextscontexts">{anchor:contexts}Contexts</h3>
-<p>Contexts are modeled as a bag of metadata information represented as key-value pairs <code>(string, string)</code> and are attached to partner links. Contexts have a name attribute. Contexts are persisted in ODE's runtime database. Long values are stored as a CLOB whereas shorter values (&lt; 250 characters) are automatically stored in an indexed VARCHAR field.</p>
+<p><a name="ProcessContexts-Contexts"></a></p>
+<h3 id="contexts">Contexts</h3>
+<p>Contexts are modeled as a bag of metadata information represented as key-value pairs <em>(string, string)</em> and are attached to partner links. Contexts have a name attribute. Contexts are persisted in ODE's runtime database. Long values are stored as a CLOB whereas shorter values (&lt; 250 characters) are automatically stored in an indexed VARCHAR field.</p>
 <p>Since contexts should also be accessible in BPEL, there is also an XML-based representation. It is defined as follows, the according XMLSchema can be found <a href="http://svn.apache.org/viewvc/ode/trunk/bpel-schemas/src/main/xsd/contexts.xsd?view=markup">here</a></p>
-<div class="caption">"Example: Context data in its XML representation"</div>
+<div class="caption">Example: Context data in its XML representation</div>
 
 <div class="codehilite"><pre><span class="cp">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;</span>
 <span class="nt">&lt;ctx:contexts</span> <span class="na">xmlns:ctx=</span><span class="s">&quot;http://www.apache.org/ode/schemas/context/2009&quot;</span> <span class="na">xmlns:xsi=</span><span class="s">&quot;http://www.w3.org/2001/XMLSchema-instance&quot;</span> <span class="na">xsi:schemaLocation=</span><span class="s">&quot;http://www.apache.org/ode/schemas/context/2009 contexts.xsd &quot;</span><span class="nt">&gt;</span>
@@ -235,7 +235,6 @@ ode-jbi.context.interceptors = my.full.q
     <span class="nt">&lt;ctx:propagate</span> <span class="na">ctx:fromPartnerLink=</span><span class="s">&quot;testPartnerLink&quot;</span> <span class="na">ctx:context=</span><span class="s">&quot;*&quot;</span><span class="nt">/&gt;</span>
 <span class="nt">&lt;/bpel:invoke&gt;</span>
 
-:::xml
 <span class="nt">&lt;bpel:reply</span> <span class="err">...</span><span class="nt">&gt;</span>
     <span class="nt">&lt;ctx:propagate</span> <span class="na">ctx:fromPartnerLink=</span><span class="s">&quot;testPartnerLink&quot;</span> <span class="na">ctx:context=</span><span class="s">&quot;*&quot;</span><span class="nt">/&gt;</span>
 <span class="nt">&lt;/bpel:reply&gt;</span>
@@ -254,7 +253,7 @@ ode-jbi.context.interceptors = my.full.q
 <p><a name="ProcessContexts-AccessingandAssigningContextData"></a></p>
 <h4 id="accessing-and-assigning-context-data">Accessing and Assigning Context Data</h4>
 <p>Context data should be accessible within BPEL processes and from the outside, e.g. for management purposes. For the former, the <code>&lt;assign&gt;</code> activity has been extended to support copying data from and to contexts of a partner link. The according <code>from</code>/<code>to</code> specs are defined as follows:</p>
-<div class="caption">"from/to specs for the work with context data"</div>
+<div class="caption">from/to specs for the work with context data</div>
 
 <div class="codehilite"><pre><span class="nt">&lt;assign&gt;</span>
     <span class="c">&lt;!-- copy &#39;tracing&#39; and &#39;security&#39; contexts to a variable. --&gt;</span>
@@ -300,7 +299,7 @@ ode-jbi.context.interceptors = my.full.q
 </div>
 
 <p>When assigning context data to variables, the variable should be declared to be an instance of the context XSD (see <a href="#contexts.html">Contexts section</a>). It is also possible to copy only fragments of a context data set by applying an XPath query to the <code>from</code>-spec:</p>
-<div class="caption">"Applying XPath-query to context data"</div>
+<div class="caption">Applying XPath-query to context data</div>
 
 <div class="codehilite"><pre><span class="nt">&lt;assign&gt;</span>
     <span class="c">&lt;!-- copy tracing id to a string variable. --&gt;</span>