For all intents and purposes, the 22" barrel won't shoot any different than a 24" pipe, except for a slight decrease of about 80 +/- fps velocity as mentioned by ChesterGolf.
Shooter skill or error is far more important than length of barrel, even though I admit that when shopping for a new 30-06, I went for a Remington 700 stainless SPS with 24" barrel and standard Limbsaver Recoil Pad. I believe the 7mm Mag in this model has a 26" barrel.
Remington 700 SPS Stainless
In short, longer is better, but don't let the barrel's length be a major deal breaker.
Good luck and happy hunting!
P.S. Stainless price at Sportsman's Warehouse for all calibers is $469. Blued is $399.
In the spring of 2007 I was the unfortunate recipient of an injury cause by a damaged carbon arrow that shattered on release of the arrow. I was in the yard going to take a few practice shots before dinner and the second arrow is the one that did the damage. That day will forever be burned in my mind. After I release what happened I made mistake #2 I pulled the tail shaft of the arrow out of my hand causing more damage.
Thank goodness that my wife was home and was able to...