What domestic policy in Germany and Sweden used to be you mean?
Nothing to do with the EU? Would they all have ended up in EU countries without open borders?
Current policy is leave them stranded in the country that they land in. Germany doesn't want any more. Sweden doesn't want any more.
You make out that the UK hasn't taken anyone. Yet you ignore the fact that our population has boomed whilst the German population has remained steady. So why do so many people from all over the EU want to come here? Germany is stronger. It has the major benefit of the Euro. Lowest unemployment level. And so on.
So why the UK and not Germany?
We ( EU including UK ) don’t have open borders. Germany and Sweden had humanitarian refugee policies in line with the Geneva convention. Merkel and Sweden made their own decisions and refugee policy as there wasn’t an EU policy. Which is the actual problem.
Germany and Sweden were the top destinations. The UK is also a favoured destination because of language and the perception that it is a stable liberal state ( rather a misconception at the moment).
Current policy is not to leave them stranded, but to get EU countries to share the burden.