Thanks a lot for your answer. I appreciate your effort. For the moment i use in the processor a counter which is used to see if we have received all the data. Every time i receive a data, the counter is increased by one. The problem is then to update the datasource with a standard output connector. I don't think it's possible. When the processor has received all the sensors data, it calculates the segments state, but then it's not possible to send in the output several records at the same time. So i use what it seems to me a dirty solution : in the processor, i use the feature service of the datasource with an 'add query' to add all the records at the same time. As Geovent needs always an output connector in a workflow, i created an custom 'empty output connector', which is doing nothing. Still, in the Geoevent developer guide and in the sample-adapter-custom-geoeventdefinition example, i saw it's possible to define group fields and fields with cardinality with the value 'many'. I was wondering if i could use these features, but I didn't find an example anywhere. I read also the API documentation but i didn't find how to do it with Geoevent object. Also i read you article 'Json Data Structures - Working with Hierarchy and Multicardinality'. It seems to do more or less what i want, but i am not dealing with Json data.
... View more
Hello, I have a workflow which calculates the traffic state. For each street (segment) it receives sensors data. I have a custom processor which needs all sensors data in order to compute the segments states. For each sensor i have the following data : sensorID, speed, occupancy_rate, traffic_flow In my custom adapter, if i send a Geoevent message for each sensor, then it's difficult for the processor to know when it has received the data for all sensors. So I would like to send the sensors data in one message. Is it possible ? I found examples how to define multi-cardinality fields and groups, but not how to send the data in a custom adapter. Could you help me how to do this ? And also in the processor, how do you receive the multi-cardinal data ? Regards, Philippe De Pol.
... View more