Difference between revisions of "Routed-enqueue"

From GreenVulcano Wiki
Jump to: navigation, search
(Created page with "==Description== Used to make a routing mechanism at the level of communication channel, based on some conditions applied to the buffer GVBuffer. =={{VULCON}} / {{GVCONSOLE}} Co...")
 
({{VULCON}} / {{GVCONSOLE}} Configuration)
 
Line 10: Line 10:
  
 
To configure a routed-enqueue is necessary:
 
To configure a routed-enqueue is necessary:
* defines sub-operations: Each sub operation is identified by a unique name within the routed-enqueue. The sub-operation that can be selected are only those of type "enqueue".  
+
* defining sub-operations: Each sub operation is identified by a unique name within the routed-enqueue. The sub-operation that can be selected are only those of type "enqueue".  
* defines routing conditions: Check the values in GVBuffer fields. Each routing condition has a unique name within the routed-enqueue.
+
* defining routing conditions: Check the values in GVBuffer fields. Each routing condition has a unique name within the routed-enqueue.
* associate routing conditions to operations: Sub items ''VCLRouting'' associate routing conditions with operations. The evaluation order is defined by the order of items ''VCLRouting''. The sub-operation is performed corresponding to the first condition verified.
+
* associating routing conditions to operations: Sub items ''VCLRouting'' associate routing conditions with operations. The evaluation order is defined by the order of items ''VCLRouting''. The sub-operation is performed corresponding to the first condition verified.
  
 
The routed-enqueue Element is used by [[Channel]] and routed-enqueue. Its attributes are:
 
The routed-enqueue Element is used by [[Channel]] and routed-enqueue. Its attributes are:
* ''type'': enqueue
+
{|class="gvtable"
* ''class'': it.greenvulcano.gvesb.virtual.RoutedEnqueue.
+
! Attribute !! Type !! Description
* ''name'': Operation name. Used in the 'Flow' section to associate workflow nodes to VCL operations.
+
|-
 +
| type || fixed || This attribute must assume the value '''enqueue'''.
 +
|-
 +
| class || fixed || This attribute must assume the value '''it.greenvulcano.gvesb.virtual.RoutedEnqueue'''.
 +
|-
 +
| name || required || Operation name. Used in the 'Flow' section to associate workflow nodes to VCL operations.
 +
|}
  
 
Can contain the following subelements:
 
Can contain the following subelements:

Latest revision as of 18:10, 9 February 2012

Description

Used to make a routing mechanism at the level of communication channel, based on some conditions applied to the buffer GVBuffer.

VulCon / GV Console Configuration

During the execution of flows, the operation is seen as a simple enqueue.

The implementation of the routed-enqueue check the conditions and invokes a sub-operations accordingly.

To configure a routed-enqueue is necessary:

  • defining sub-operations: Each sub operation is identified by a unique name within the routed-enqueue. The sub-operation that can be selected are only those of type "enqueue".
  • defining routing conditions: Check the values in GVBuffer fields. Each routing condition has a unique name within the routed-enqueue.
  • associating routing conditions to operations: Sub items VCLRouting associate routing conditions with operations. The evaluation order is defined by the order of items VCLRouting. The sub-operation is performed corresponding to the first condition verified.

The routed-enqueue Element is used by Channel and routed-enqueue. Its attributes are:

Attribute Type Description
type fixed This attribute must assume the value enqueue.
class fixed This attribute must assume the value it.greenvulcano.gvesb.virtual.RoutedEnqueue.
name required Operation name. Used in the 'Flow' section to associate workflow nodes to VCL operations.

Can contain the following subelements: