BRADENTON, Fla. -- Pitcher Wandy Rodriguez contributed a two-run homer and RBI single as the Pittsburgh Pirates got 29 hits Tuesday and routed the Toronto Blue Jays 22-5.

Starling Marte and Jose Tabata each homered and drove in four runs. Marte got five hits and Tabata had four. The Pirates finished with nine extra-base hits.

In his first at-bat of the spring, Rodriguez hit a full-count fastball from J.A. Happ into the Pirates' bullpen in right field.

"It's a 3-2 count and I knew the fastball was coming," Rodriguez said with a laugh. "I made good contract and the wind helped me, too. I don't have a lot of power."

Rodriguez added his single in an eight-run fourth inning.

Rodriguez made his final start of spring training, working 4 2-3 innings and allowing three runs on six hits and four walks.

Matt Tuiasosopo hit a solo home run for Toronto.

Happ did not help his bid to claim a job in Toronto's rotation. He faced 20 batters in three-plus innings and allowed seven runs and 12 hits.

"I was throwing a lot of strikes on a tough-conditions day," Happ said. "They were putting the ball in play. I feel good about throwing the ball in the zone, but this is one start that I've just got to try to get over."

With a 20.57 ERA after five outings, Happ might not beat out Dustin McGowan for the final open spot in the starting rotation. Happ, however, said he came to camp believing the job was his and doesn't believe it's in jeopardy.

"I don't know who's all saying things have changed," he said. "I guess I'm not part of those conversations. I haven't had one with anybody who's telling me things are changing. It's you (media) guys saying that. I take positives and move forward, and I plan on getting better."

Happ has been bothered by a sore back, but said he feels fine now. Would he be willing to pitch in relief if he doesn't crack the rotation?

"I'm not thinking about that," he said. "I'll answer that question if one of the bosses decides he needs to ask me that. We'll deal with that then."

McGowan pitched in a minor league game and allowed three hits in four innings. He likely will start another minor league game Sunday.

As the No. 3 starter in the rotation, Rodriguez is scheduled to make his season debut April 4 against the St. Louis Cardinals at PNC Park. Last year, he made only 12 starts due to chronic forearm pain and went 6-4 with a 3.59 ERA. He will be a free agent after this season.

"I feel very happy because when I started spring training, I was thinking a lot about my arm," Rodriguez said. "Every time I throw, I feel good."

Notebook

Pirates left-hander Francisco Liriano (groin) will throw off a mound Wednesday in a simulated game. If the injury has not improved and he must start the season on the disabled list, right-hander Brandon Cumpton is a possible replacement. Cumpton replaced Edinson Volquez as the scheduled starter Wednesday against Minnesota. Volquez instead will throw two or three innings in a simulated game. ...Pirates first baseman Andrew Lambo was optioned to Triple-A Indianapolis, which means non-roster invitee Travis Ishikawa likely will begin the season as the Pirates' backup first baseman. ... Tuiasosopo continued his six-day audition for a backup outfielder job after being claimed off waivers from Arizona. He went 1 for 4 and is 2 for 7 in two games with Toronto. ... Pirates outfielder Jaff Decker and reliever Jared Hughes were optioned to Triple-A Indianapolis. Pitchers Adam Wilk, Jay Jackson, Zack Thornton and Daniel Schlereth; outfielder Chris Dickerson; catcher Omir Santos; and infielders Robert Andino and Michael Martinez were reassigned to minor league camp. ... The Pirates acquired right-hander Vance Worley from the Twins for cash considerations and assigned him to minor league camp. The 26-year-old Worley made his big league debut in 2010 with the Philadelphia Phillies. Last season, he went 1-5 with a 7.10 ERA in 10 starts with the Twins.