Difference between revisions of "Routed-dequeue"

From GreenVulcano Wiki
Jump to: navigation, search
({{VULCON}} / {{GVCONSOLE}} Configuration)
Line 15: Line 15:
  
 
The routed-dequeue Element is used by [[Channel]] and [[routed-dequeue]]. Its attributes are:
 
The routed-dequeue Element is used by [[Channel]] and [[routed-dequeue]]. Its attributes are:
* ''type'': dequeue
+
{|class="gvtable"
* ''class'': it.greenvulcano.gvesb.virtual.RoutedDequeue.
+
! 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 '''dequeue'''.
 +
|-
 +
| class || fixed || This attribute must assume the value '''it.greenvulcano.gvesb.virtual.RoutedDequeue'''.
 +
|-
 +
| name || optional || Operation name. Used in the 'Flow' section to associate workflow nodes to VCL operations.
 +
|}
  
 
Can contain the following subelements:
 
Can contain the following subelements:

Revision as of 18:04, 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 dequeue.

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

To configure a routed-dequeue is necessary:

  • defines sub-operations: Each sub operation is identified by a unique name within the routed-dequeue. The sub-operation can be selected are only those of type "dequeue".
  • defines routing conditions: Check the values in GVBuffer fields. Each routing condition has a unique name within the routed-dequeue.
  • 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.

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

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

Can contain the following subelements: