Data provider
Definition
ODP (Object Data Provider) is a framework that lets you manage bidirectional conversion between instances of GVBuffer and generic objects, the access to the generic objects fields will be execute through OGNL and / or XPath.
Each Data provider contains a field element identify by a key, this fileds are of three type and indicates when an extension has to be applied:
- INOUT, The extension is applied on the object set (usually the current GVBuffer, unless otherwise specified by the attribute 'source-selector') the value returned by the expression, is added to the context with the prefix 'key_' + @ key, and set the data provider to be returned in the output.
- IN, The extension is applied on the object set (usually the current GVBuffer, unless otherwise specified by the attribute 'source-selector') the value returned by the expression is added to the context with the prefix 'key_' + @ key.
- OUT, The extension is applied directly on the object that is returned by the DataProvider.
In all cases, two variables are added to the context:
- Input: object set, usually the current GVBuffer, which will not be overwritten from attribute 'source-selector';
- Output: the object that is returned by the DataProvider.
Extensions are pre / post processing of data that can be made automatically from the connector before invoking GreenVulcanoESB and / or before returning the result to the caller.
Following a list of Data provider avaiable:
- ObjectDataProvider:
- StringDataProvider
- MapDataProvider
- ArrayDataProvider
- CollectionDataProvider
- XMLEventCollectionDataProvider
- InputStreamDataProvider
- JMSBytesMessageDataProvider
- JMSMapMessageDataProvider
- JMSObjectMessageDataProvider
- JMSStreamMessageDataProvider
- JMSTextMessageDataProvider
- Axis2MessageContextDataProvider
- Axis2SAAJSOAPMessageDataProvider
- HttpMethodDataProvider
{{#w4grb_rate:}} <w4grb_ratinglist latestvotes items="5" nosort/>