Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.18.0
    • Component/s: camel-core
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      See if we can get a process with lambda style that has a type-safe message body type, so you can do something like

      .process<Foo.class&gt;( f -> { f.doSomethingOnFoo(); ... })
      .to("direct:bar");
      

      And see if we can get a mini DSL for the process so you can also get access to header/exchange etc.

      .process<Foo.class&gt;( f -> { 
         String golden = header("golden", String.class);
         f.doSomethingOnFoo(golden); 
      })
      .to("direct:bar");
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                lb Luca Burgazzoli
                Reporter:
                davsclaus Claus Ibsen
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: