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.