Hi

Currently we don't have out of the box support for triggers in Siddhi,
hence we are introducing trigger support as follows,

Users can define triggers as follows;

define trigger triggerStream at every 5 min;

define trigger fooTriggerStream at '56, *, *, *, 8';

define trigger  barStream at 'start';

This will implicitly crate a stream with the same name as of the trigger
and push events having an attribute 'triggered time' behind the scenes.

A stream that will be implicitly generated will look following;

define stream fooTriggerStream (triggered_time long);

Regards
Suho

-- 

*S. Suhothayan*
Technical Lead & Team Lead of WSO2 Complex Event Processor
 *WSO2 Inc. *http://wso2.com
* <http://wso2.com/>*
lean . enterprise . middleware


*cell: (+94) 779 756 757 | blog: http://suhothayan.blogspot.com/
<http://suhothayan.blogspot.com/>twitter: http://twitter.com/suhothayan
<http://twitter.com/suhothayan> | linked-in:
http://lk.linkedin.com/in/suhothayan <http://lk.linkedin.com/in/suhothayan>*
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to