Hi Farasath, Can you please create a ticket for this issue. This behavior is specific to WSO2 event adapter type since there input is also in the form of streams. We will look into this and update the ticket.
Thanks, Tishan On Mon, Jan 26, 2015 at 12:07 PM, Farasath Ahamed <[email protected]> wrote: > > 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 > > -- Tishan Dahanayakage Software Engineer WSO2, Inc. Mobile:+94 716481328 Disclaimer: This communication may contain privileged or other confidential information and is intended exclusively for the addressee/s. If you are not the intended recipient/s, or believe that you may have received this communication in error, please reply to the sender indicating that fact and delete the copy you received and in addition, you should not print, copy, re-transmit, disseminate, or otherwise use the information contained in this communication. Internet communications cannot be guaranteed to be timely, secure, error or virus-free. The sender does not accept liability for any errors or omissions.
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
