Hi,

I wrote a transform class in Siddhi which i wanted to return variable
number of parameters depending on the  # of input parameters. So I got the
input stream definition in init method to find out number of input
parameters and added attributes to out put stream depending on that.

but I found that when siddhi query returns the out put , it only takes the
output stream parameters which are added in the constructor.

I found that siddhi call updateQueryEventSourceOutDefinition method when
adding query.

package org.wso2.siddhi.core.util.parser;
StreamParser.java

In this method it only make instance of the Transformer class , but not
call the init method.

So i can not add attributes to out stream when  called in side init method
in a Transform class.

Please advice me on this.

Waruna
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to