Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-17035

camel-core - Rest DSL - Allow to set response message quickly

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.13.0
    • camel-core, rest
    • None
    • Unknown

    Description

      So when you have to do today

      responseMessage().code(400).message("does not work").endResponseMessage()

      You should be able to do

      responseMessage(400, "does not work")

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            davsclaus Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: