On Mon, Apr 28, 2014 at 2:25 PM, David Morales <[email protected]> wrote:

> Any update on this? Thanks.
>
>
> 2014-04-24 13:04 GMT+02:00 David Morales <[email protected]>:
>
> Hi,
>>
>> I'm trying to understand what happens when removing streams.
>>
>> My test case is like that:
>>
>> 1. Create stream A
>> 2. Create stream B
>> 3. Add query _1_ from stream A insert into FOO
>> 4. Add query _2_ from stream B insert into FOO
>> 5. Remove query _1_
>> 6. Remove query _2_
>> 7. getInputHandler(FOO).sendEvent
>>
>>
>> After each step i'm printing existing streams in siddhiManager. And this
>> is what i see:
>>
>> 1. Create stream A
>> A
>> 2. Create stream B
>> A,B
>> 3. Add query _1_ from stream A insert into FOO
>> A,B,FOO
>> 4. Add query _2_ from stream B insert into FOO
>> A,B,FOO
>> 5. Remove query _1_
>> A,B
>> 6. Remove query _2_
>> A,B
>> 7. getInputHandler(FOO).sendEvent
>> A,B
>>
>>
>>
>> So, FOO stream exists, even when i remove all related queries. But why is
>> it not accesible in streamDefinitions?
>>
>>
>>
This seems to be a bug.

The stream definition of FOO even gets dropped at 5th stage.

I have open an issue on this https://wso2.org/jira/browse/CEP-849
We'll fix this on the upcoming releases.

Thanks
Suho


>> Regards.
>>
>
>
> _______________________________________________
> Architecture mailing list
> [email protected]
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
>


-- 

*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 <%28%2B94%29%20779%20756%20757> | 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