-
Feature Request
-
Resolution: Won't Do
-
Major
-
None
-
None
Would be nice if we could save our developers time providing a way to configure general producers/consumers like sblanc suggested:
route().
.defaultProduces(JSP, JSON);
.defaultConsumes(JSP, JSON);
In this way users don't need to specify:
route()
.from("/delorean").roles("admin")
.on(RequestMethod.GET)
.to(Home.class).anotherPage();
But they can if it's necessary