Barker was a part of Team Canada's gold medal winning team at the 2005 World Junior Championships. However, he contracted mononucleosis midway through the tournament and was only able to appear in the first 3 games. Barker made his second straight World Junior appearance in 2006 as the only returning player on Team Canada's roster. He repeated as gold medal champion with Team Canada, which defeated Russia in the final.