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

java 8 dsl : allow to set the body using a supplier

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.21.0
    • camel-core
    • None
    • Unknown

    Description

      Example:

      from("timer")
        .setBody(User::new);
      from("timer")
        .trasform()
            .body(User::new);
      

      Attachments

        Activity

          People

            lb Luca Burgazzoli
            lb Luca Burgazzoli
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: