At least in this case, I can say I have a lot of respect for Jordan.
Still though, there are numerous ISIS supporters living in Jordan, it could get dicey.
Israel should do the same. If the Palis capture an Israeli, immediately, immediately, hang the 10 top ranked prisoners of the capturing organization. After 3 days more, hang one a day until they run out, then start on terrorists from other organizations.
Give them no one to negotiate for.
If they commit an act of terrorism in retaliation, bomb the village they came from.