Difference between revisions of "ServiceCallerTask"
(→{{VULCON}} / {{GVCONSOLE}} Configuration) |
|||
Line 18: | Line 18: | ||
A ServiceCallerTask element might have the following subitems: | A ServiceCallerTask element might have the following subitems: | ||
* Description | * Description | ||
− | * [[Triggers]] | + | * [[Triggers]] |
− | * [[JbProperties]] | + | * [[JbProperties]] |
− | * [[JNDIHelper]] | + | * [[JNDIHelper]] |
− | * [[ChangeGVBuffer]] | + | * [[ChangeGVBuffer]] |
− | * [[ServiceCallerTask#OutputData|OutputData]] | + | * [[ServiceCallerTask#OutputData|OutputData]] |
− | * [[NextAction]] | + | * [[ServiceCallerTask#NextAction|NextAction]] |
===OutputData=== | ===OutputData=== | ||
Line 29: | Line 29: | ||
This element allows to define options for saving the output data on file. | This element allows to define options for saving the output data on file. | ||
− | The following table show the element's attributes | + | The following table show the OutputData element's attributes: |
{|class="gvtable" | {|class="gvtable" | ||
! Attribute !! Type !! Description | ! Attribute !! Type !! Description | ||
Line 47: | Line 47: | ||
If ''both'' will save the body and the [[GVBuffer]] dump. | If ''both'' will save the body and the [[GVBuffer]] dump. | ||
|} | |} | ||
+ | |||
+ | ===NextAction=== | ||
+ | |||
+ | Action to be executed after the invocation of {{GVESB}}. | ||
+ | |||
+ | If any condition is checked does the following Action: | ||
+ | * if output is [[Exception]] -> ''rollback-exit'' | ||
+ | * if output is [[GVBuffer]] -> ''commit-continue'' | ||
+ | |||
+ | The following table show the NextAction element's attribute : | ||
+ | {|class="gvtable" | ||
+ | ! Attribute !! Type !! Description | ||
+ | |- | ||
+ | | action || required || The action to execute if the condition is verified. The attribute's admitted values are: | ||
+ | * commit-continue | ||
+ | * rollback-exit | ||
+ | * commit-exit | ||
+ | * rollback-continue | ||
+ | |} | ||
+ | |||
+ | Might contain the following subelements: | ||
+ | * Description | ||
+ | * [[GVBufferCondition]] or [[ExceptionCondition]] or [[JavaScriptCondition]] or [[IdentityCondition]] |
Revision as of 14:32, 9 February 2012
Description
Use this task for invoking GreenVulcano® ESB services.
VulCon / GV Console Configuration
The following table show the element's attributes ServiceCallerTask:
Attribute | Type | Description |
---|---|---|
type | fixed | This attribute must assume the value task. |
class | fixed | This attribute must assume the value it.greenvulcano.gvesb.core.task.GVServiceCallerTask. |
name | required | Task name. The attribute's value can't be null. |
A ServiceCallerTask element might have the following subitems:
- Description
- Triggers
- JbProperties
- JNDIHelper
- ChangeGVBuffer
- OutputData
- NextAction
OutputData
This element allows to define options for saving the output data on file.
The following table show the OutputData element's attributes:
Attribute | Type | Description |
---|---|---|
output-directory | required | The path of the directory containing the file(s) that will save the GVBuffer output body of the service performed. |
output-policy | required | This attribute defines the way in which you saved the output of the service.
If create the output of the service will be stored on a single file whose name is that of the task. The file will be overwritten each time the service is invoked. Es: Taskname.xxx If append the output of the service will be stored on a single file whose name is that of the task: each invocation of the service, the data will be appended to the file. If create-new the service saved output separates the files whose name is given by the task name followed by the date/time in format dd-MM-yyyy-hh-mm-ss-SSS. Es: 'Taskname'-01-01-2010-10-45-05-234.xxxx |
output-type | required | This attribute defines the data type of output that will be saved.
If body the GVBuffer body contents will be saved, as defined in the parameter output-policy: the file extension is .dat. If dump will be made a dump of all GVBuffer, including property, as defined in the parameter output-policy: the file extension is .dump. If both will save the body and the GVBuffer dump. |
NextAction
Action to be executed after the invocation of GreenVulcano® ESB.
If any condition is checked does the following Action:
The following table show the NextAction element's attribute :
Attribute | Type | Description |
---|---|---|
action | required | The action to execute if the condition is verified. The attribute's admitted values are:
|
Might contain the following subelements:
- Description
- GVBufferCondition or ExceptionCondition or JavaScriptCondition or IdentityCondition