Create a weighted feeder in Gatling

All -

I posted the following question to stackoverflow and would appreciate any hints on what I’m doing wrong: http://stackoverflow.com/questions/29024763/create-a-weighted-feeder-in-gatling. I’m pretty sure I’m messing up the chaining in my .doSwitch statement, but I don’t know how to modify it.

Thanks,
Alan

Answered on SOF: http://stackoverflow.com/questions/29024763/create-a-weighted-feeder-in-gatling/29408078#29408078