the route is not optional, thus i would make this a constructor argument and inject it into the constructor. a good read on this is http://richardmiller.co.uk/2014/03/12/avoiding-setter-injection/