I use OMNeT++-4.6, sumo-0.22.0 and Veins-4a2.
In my simulation, each node creates a message, stores it in its buffer and after some delay it sends all its messages. I did two timers to specify the delay of created and sent messages. So, the message sent may be receive by an other node or by the destination which is the RSU.
My simulation ends when all nodes reach their destination according to the indicating path in .rou.xml file. Every node leaves the simulation at a specific time.
The goal of my scenario is that every node sends all stored messages when leaving the simulation and they must be received by the destination which are RSU in my case.
Can somebody tell me how can I do this using self-message() or an other solution please?