Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: 2.6.0
    • Fix Version/s: 3.0.0
    • Component/s: camel-core
    • Labels:
      None

      Description

      We should add an ExchangeBuilder so you can use the builder pattern to create an Exchange and set message body, headers etc.

      Something along the lines like this. Maybe there is a shorter and nicer API to do it:

      Exchange exchange = ExchangeBuilder(context).withBody("Hello World).andHeader("foo", 123).build("activemq:queue:foo");
      

        Issue Links

          Activity

          Hide
          Richard Kettelerij added a comment -

          Closed as duplicate of CAMEL-3104.

          Show
          Richard Kettelerij added a comment - Closed as duplicate of CAMEL-3104 .

            People

            • Assignee:
              Unassigned
              Reporter:
              Claus Ibsen
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development