This is harsh, but there's only one answer. Use those NATO troops, instead of using them to topple successful regimes, to set up safe-zones for these people to live in camps, actually minimum prisons, in their homelands. Shoot to kill anyone who goes radical and tries to disrupt them.
If they don't do that, the next steps a fed-up patriotic population resorts to will be far worse.
I actually don’t think Germany is dumping these invaders in poorer countries. There are several of the 16 German states that have very high percentages of Muslim residents.
Looking at the flow of them from the Mideast, the routes and termini are through Italy, Austria, etc. into Germany, France, through to the UK and to Sweden. Not what I’d call poor countries.
If these invaders were just looking for sanctuary, they’d stop in the first country outside of Syria or wherever they wouldn’t be “persecuted” as they claim. What and where they are looking for is a generous entitlement system coupled with a weak government that they can eventually overtake by sheer numbers.