Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

As described above, dropped events in the primary gateway sender are stored in a member variable. It is out of the scope of this RFC to change how those events are stored.

Solution

The solution

...

proposes to change the primary gateway sender so that it does not store dropped events when

...

it is stopped

...

explicitly (not

...

while starting

...

). The reason is that these events could never end in the queue of any secondary gateway sender and will use memory unnecessarily.

In order to do so, it is proposed to add a new boolean member variable to the AbstractGatewaySender that will tell if the primary gateway sender must store dropped events or not.

...