NEWARK, N.J. -- The Vancouver Canucks have solved their goaltender drama, but not in the way most people expected.

The Canucks traded Cory Schneider to the New Jersey Devils for the ninth pick in the NHL draft, leaving Roberto Luongo as the starting goalie.

General manager Mike Gillis said he "had to listen" to offers on Schneider. The one he took got the Canucks London Knights forward Bo Horvat at No. 9.

Horvat, an 18-year-old centre, played the past two seasons for the Knights of the Ontario Hockey League. He had 33 goals and 28 assists in 2012-13.

"Today's decision was made after a thorough review of our options and in the interest of improving this team long-term through the draft and development of players," said Gillis in a statement.

"We appreciate the high level of professionalism and conduct both Cory and Roberto have shown while continuing to help this team be competitive. I would like to personally thank Cory for his contributions to our team and wish him the very best and a bright future."

Schneider, 27, has two years left on a contract that counts $4 million against the salary cap. Veteran Devils goaltender Martin Brodeur turned 41 in May and has one year left.