now the C++ lambda own the Java callback ownership so we don't have to store it in the Java RoutingModel anymore.