Uploaded image for project: 'AeroGear'
  1. AeroGear
  2. AEROGEAR-1075

Provide a general configuration to producers/consumers on Controller

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Won't Do
    • Major
    • future
    • None
    • controller
    • None

    Description

      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

      Attachments

        Activity

          People

            boliveir_managed_kafka_security (inactive user) Bruno Oliveira Silva (Inactive)
            boliveir_managed_kafka_security (inactive user) Bruno Oliveira Silva (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: