Difference between revisions of "ServiceCallerTask"

From GreenVulcano Wiki
Jump to: navigation, search
(Created page with "==Description== Use this task for invoking {{GVESB}} services. =={{VULCON}} / {{GVCONSOLE}} Configuration== The following table show the element's attributes 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]]: Defines an group of Timer Tasks.
* [[JbProperties]]
+
* [[JbProperties]]: Defines additional properties of the Task.
* [[JNDIHelper]]
+
* [[JNDIHelper]]: Helper JNDI
* [[ChangeGVBuffer]]
+
* [[ChangeGVBuffer]]: Modifies a [[GVBuffer]] data
* [[OutputData]]
+
* [[ServiceCallerTask#OutputData|OutputData]]: Defines options for saving the output data on file.
* [[NextAction]]
+
* [[NextAction]]:
 +
 
 +
===OutputData===
 +
 
 +
This element allows to define options for saving the output data on file.
 +
 
 +
The following table show the element's attributes OutputData:
 +
{|class="gvtable"
 +
! 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.
 +
|}

Revision as of 14:25, 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:

OutputData

This element allows to define options for saving the output data on file.

The following table show the element's attributes OutputData:

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.