Scenario: Users are taking a long quiz. I store the current score and location in the quiz after each interaction. I want to store in the DB only the last interaction the user did during this current launch.
Right now I achieve this via Redis, were every time I store the last interaction I overwrite the previous one.
Can this be achieved via Apache's ActiveMQ "Classic" where each user can have his messages grouped and I consume only the last message received in the group?