On Mon, May 13, 2013 at 6:40 PM, Pradeep Fernando <prad...@wso2.com> wrote:

> Hi,
>
> Is it possible to get rid of property elements,
>
> eg:  <streamName>analytics_statistics</streamName>
>
> This way, the one who process the xml should have the knowledge of how to
> process the stuff.
>
>
> thanks,
> --pradeep
>
>
> On Mon, May 13, 2013 at 6:20 PM, Lasantha Fernando <lasan...@wso2.com>wrote:
>
>> Hi all,
>>
>> For CEP 3.0.0 we are keeping separate configuration files for the event
>> builder component which will be saved as an XML file. The event builder
>> component will basically subscribe to a Transport Adaptor and map from a
>> supported format like XML, Event, JSON or Text to an event stream/Siddhi
>> stream. We came up with a sample configuration syntax below [1].
>>
>> Please give your comments, suggestions on the syntax ( readability, easy
>> to understand, generic enough to support future extensions etc.)
>>
>
what are the supported extension points of this configuration/use-case.
Can't figure out just by looking at the config.


>
>> [1]
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <builder:eventBuilder xmlns:builder="http://wso2.org/carbon/eventbuilder
>> ">
>>     <builder:from transportAdaptortype="wso2event"
>> transportAdaptorName="wso2eventadaptor">
>>         <builder:property
>> name="streamName">analytics_Statistics</builder:property>
>>         <builder:property name="version">1.3.0</builder:property>
>>     </builder:from>
>>     <builder:mapping type="wso2event">
>>         <builder:property>
>>             <builder:from name="price" type="payload"/>
>>             <builder:to name="stockPrice" type="double"/>
>>         </builder:property>
>>         <builder:property>
>>             <builder:from name="symbol" type="metadata"/>
>>             <builder:to name="symbol" type="string"/>
>>         </builder:property>
>>     </builder:mapping>
>>     <builder:to streamName="stockStream" version="1.0.0"/>
>> </builder:eventBuilder>
>>
>> Thanks,
>> Lasantha
>>
>> --
>> *Lasantha Fernando*
>> Software Engineer - Data Technologies Team
>> WSO2 Inc. http://wso2.com
>>
>> email: lasan...@wso2.com
>> mobile: (+94) 71 5247551
>>
>> _______________________________________________
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Pradeep Fernando*
> Member, Management Committee - Platform & Cloud Technologies
> Senior Software Engineer;WSO2 Inc.; http://wso2.com
>
> blog: http://pradeepfernando.blogspot.com
> m: +94776603662
>



-- 
*Pradeep Fernando*
Member, Management Committee - Platform & Cloud Technologies
Senior Software Engineer;WSO2 Inc.; http://wso2.com

blog: http://pradeepfernando.blogspot.com
m: +94776603662
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to