I am having a flow in the CEP which takes in 'wso2events' type through the
wso2event adaptor and outputs it through a websocket-local adaptor.

I renamed the input stream which lead to breaking the flow, i fixed it by
editing the input stream name in the event builder and all relevant places
which again connected the flow.

here's the changed Event Builder Source View

<?xml version="1.0" encoding="UTF-8"?>
<eventBuilder name="org.wso2.uima.WSO2EventBuilder" statistics="enable"
    trace="enable" xmlns="http://wso2.org/carbon/eventbuilder";>
    <from eventAdaptorName="org.wso2.uima.WSO2EventAdaptor"
eventAdaptorType="wso2event">
        <property
name="stream">org.wso2.uima.TwitterExtractedInputFeed</property>
        <property name="version">1.0.0</property>
    </from>
    <mapping customMapping="disable" type="wso2event"/>
    <to streamName="org.wso2.uima.TwitterExtractedInputFeed"
version="1.0.0"/>
</eventBuilder>

However i overlooked changing the
<property name="stream">org.wso2.uima.TwitterExtractedInputFeed</property>

with the new name of the stream but it did not raise any errors/warnings
either.
But the problem was when i sent events to the CEP via the databridge from
my application events weren't coming in nor were tracable at the WSO2Event
adaptor. This was due to the incorrect old stream i had in the

<property name="stream">org.wso2.uima.TwitterExtractedInputFeed</property>

i was get it to work by replacing with the correct name.

However the issue that it didn't show any errors event when i sent events
with the wrong configuration.

Shouldn't it validate when we try to update the builder configuration with
a non existing stream name as a property for the event adaptor.


-- 
*Farasath Ahamed*
Software Engineering Intern
WSO2 Inc.; http://wso2.com

Mobile: +94 777 603 866
E-Mail:  farasath <http://goog_1999535192>[email protected]
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to